Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.SetPoints.Examples.Table.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Controls.SetPoints.Examples.Table,fileNamePrefix="IDEAS_dev_IDEAS_Controls_SetPoints_Examples_Table",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.SetPoints.Examples.Table,fileNamePrefix="IDEAS_dev_IDEAS_Controls_SetPoints_Examples_Table",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008887/0.0008887, allocations: 85.94 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001148/0.001148, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.486/1.486, allocations: 223.3 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.126/1.126, allocations: 135.3 MB / 426.4 MB, free: 14.21 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003541/0.0003542, allocations: 8 kB / 0.5071 GB, free: 5.172 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1912/0.1916, allocations: 82.31 MB / 0.5875 GB, free: 3.027 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.Table): time 0.001956/0.1936, allocations: 1.324 MB / 0.5888 GB, free: 1.691 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008954/0.1945, allocations: 495.4 kB / 0.5892 GB, free: 1.203 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.395e-05/0.1946, allocations: 0 / 0.5892 GB, free: 1.203 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004995/0.1951, allocations: 164.2 kB / 0.5894 GB, free: 1.051 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003119/0.1954, allocations: 135.9 kB / 0.5895 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003947/0.1958, allocations: 167.6 kB / 0.5897 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002331/0.196, allocations: 167.5 kB / 0.5898 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001385/0.1962, allocations: 37.47 kB / 0.5899 GB, free: 0.5547 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001023/0.1963, allocations: 67.73 kB / 0.5899 GB, free: 500 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000203/0.1965, allocations: 147.5 kB / 0.5901 GB, free: 352 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.772e-05/0.1965, allocations: 4 kB / 0.5901 GB, free: 348 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.449e-05/0.1966, allocations: 31.98 kB / 0.5901 GB, free: 316 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.344e-05/0.1967, allocations: 75.69 kB / 0.5902 GB, free: 240 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.685e-05/0.1968, allocations: 57.58 kB / 0.5902 GB, free: 176 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002635/0.1971, allocations: 208 kB / 0.5904 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.1971, allocations: 0 / 0.5904 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.613e-06/0.1971, allocations: 0 / 0.5904 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.638e-06/0.1971, allocations: 0 / 0.5904 GB, free: 15.96 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007782/0.1979, allocations: 0.5601 MB / 0.591 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.1979, allocations: 8.562 kB / 0.591 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.143e-05/0.198, allocations: 34.56 kB / 0.591 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.73e-05/0.198, allocations: 27.62 kB / 0.591 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004717/0.1985, allocations: 361.3 kB / 0.5914 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.943e-06/0.1985, allocations: 0 / 0.5914 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.467e-05/0.1985, allocations: 4 kB / 0.5914 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000202/0.1987, allocations: 81.59 kB / 0.5915 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.1988, allocations: 0 / 0.5915 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.789e-06/0.1988, allocations: 4 kB / 0.5915 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.1988, allocations: 0 / 0.5915 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001973/0.199, allocations: 59.95 kB / 0.5915 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005482/0.1995, allocations: 436.5 kB / 0.592 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001657/0.1997, allocations: 58.55 kB / 0.592 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.307e-05/0.1998, allocations: 24.91 kB / 0.592 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.588e-05/0.1999, allocations: 8 kB / 0.592 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.296e-05/0.1999, allocations: 30.56 kB / 0.5921 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.513e-06/0.1999, allocations: 0 / 0.5921 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0004303/0.2003, allocations: 141.2 kB / 0.5922 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.656e-05/0.2004, allocations: 51.41 kB / 0.5923 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006722/0.2011, allocations: 0.5094 MB / 0.5927 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.39e-05/0.2011, allocations: 33.7 kB / 0.5928 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001475/0.2013, allocations: 164 kB / 0.5929 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.913e-05/0.2013, allocations: 3.906 kB / 0.5929 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.198e-06/0.2013, allocations: 0 / 0.5929 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001635/0.2015, allocations: 346.8 kB / 0.5933 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.381e-05/0.2016, allocations: 23.98 kB / 0.5933 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.686e-05/0.2017, allocations: 27.98 kB / 0.5933 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.824e-05/0.2017, allocations: 19.97 kB / 0.5933 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.608e-06/0.2018, allocations: 0 / 0.5933 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002433/0.202, allocations: 125.1 kB / 0.5935 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.202, allocations: 4 kB / 0.5935 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.202, allocations: 4 kB / 0.5935 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.2021, allocations: 0 / 0.5935 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.615e-05/0.2021, allocations: 15.94 kB / 0.5935 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.119e-06/0.2022, allocations: 0 / 0.5935 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.832e-05/0.2022, allocations: 11.94 kB / 0.5935 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.695e-06/0.2022, allocations: 8 kB / 0.5935 GB, free: 12.6 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00015/0.2024, allocations: 169.8 kB / 0.5937 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.125e-05/0.2025, allocations: 27.62 kB / 0.5937 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002746/0.2028, allocations: 124.3 kB / 0.5938 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.2028, allocations: 48 / 0.5938 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.307e-06/0.2028, allocations: 11.94 kB / 0.5938 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.2028, allocations: 0 / 0.5938 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002713/0.2031, allocations: 261.5 kB / 0.5941 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.2031, allocations: 0 / 0.5941 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.013e-05/0.2031, allocations: 11.98 kB / 0.5941 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.2032, allocations: 4 kB / 0.5941 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.133e-06/0.2032, allocations: 0 / 0.5941 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.2032, allocations: 0 / 0.5941 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.2032, allocations: 4 kB / 0.5941 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002647/0.2034, allocations: 203.1 kB / 0.5943 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.319e-05/0.2036, allocations: 112.8 kB / 0.5944 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.077e-05/0.2036, allocations: 15.98 kB / 0.5944 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.425e-05/0.2037, allocations: 4 kB / 0.5944 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.105e-05/0.2037, allocations: 7.984 kB / 0.5944 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.39e-06/0.2037, allocations: 0 / 0.5944 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004612/0.2042, allocations: 387 kB / 0.5948 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2042, allocations: 0 / 0.5948 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002568/0.2045, allocations: 27.86 kB / 0.5948 GB, free: 11.16 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001246/0.2057, allocations: 0.9883 MB / 0.5958 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002186/0.206, allocations: 51.97 kB / 0.5958 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/0.206, allocations: 0 / 0.5958 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.497e-05/0.2061, allocations: 31.91 kB / 0.5959 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004037/0.2065, allocations: 37.48 kB / 0.5959 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002648/0.2091, allocations: 1.748 MB / 0.5976 GB, free: 8.379 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004289/0.2096, allocations: 0.7713 MB / 0.5984 GB, free: 7.582 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001061/0.2097, allocations: 42.09 kB / 0.5984 GB, free: 7.539 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000163/0.2099, allocations: 91.34 kB / 0.5985 GB, free: 7.453 MB / 0.4981 GB Notification: Performance of SimCode: time 1.814e-06/0.2099, allocations: 0 / 0.5985 GB, free: 7.453 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0168/0.2267, allocations: 4.978 MB / 0.6033 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001788/0.2269, allocations: 204.8 kB / 0.6035 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.98/2.207, allocations: 0 / 0.6035 GB, free: 2.371 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Controls.SetPoints.Examples.Table.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.SetPoints.Examples.Table.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.SetPoints.Examples.Table.pipe >> ../files/IDEAS_dev_IDEAS.Controls.SetPoints.Examples.Table.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_SetPoints_Examples_Table_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_SetPoints_Examples_Table.fmu > IDEAS_dev_IDEAS.Controls.SetPoints.Examples.Table.pipe 2>&1) Environment - environmentSimulation: