Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000827/0.000827, allocations: 109.5 kB / 18.95 MB, free: 1.184 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008517/0.0008517, allocations: 214.2 kB / 22.25 MB, free: 3.578 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9803/0.9803, allocations: 230.6 MB / 256 MB, free: 9.652 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.842/0.842, allocations: 203.8 MB / 0.5042 GB, free: 10.53 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="IDEAS_dev_IDEAS_Controls_SetPoints_Examples_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="IDEAS_dev_IDEAS_Controls_SetPoints_Examples_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009381/0.0009381, allocations: 70.3 kB / 0.7181 GB, free: 4.129 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5544/0.5553, allocations: 102 MB / 0.8178 GB, free: 1.086 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.002734/0.5581, allocations: 1.782 MB / 0.8195 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0004044/0.5585, allocations: 117.6 kB / 0.8196 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000111/0.5586, allocations: 3.719 kB / 0.8196 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001581/0.5587, allocations: 16.55 kB / 0.8196 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.961e-05/0.5588, allocations: 48.44 kB / 0.8197 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001628/0.559, allocations: 30.69 kB / 0.8197 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002376/0.5592, allocations: 177.5 kB / 0.8199 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001471/0.5594, allocations: 22.41 kB / 0.8199 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.059e-05/0.5595, allocations: 57.38 kB / 0.82 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001157/0.5596, allocations: 64.25 kB / 0.82 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.825e-05/0.5596, allocations: 9.562 kB / 0.82 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 2.239e-05/0.5596, allocations: 9.188 kB / 0.82 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.372e-05/0.5597, allocations: 28.77 kB / 0.8201 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.487e-05/0.5597, allocations: 53.47 kB / 0.8201 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002118/0.56, allocations: 132 kB / 0.8202 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.56, allocations: 0 / 0.8202 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.435e-06/0.56, allocations: 4 kB / 0.8202 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.056e-06/0.56, allocations: 0 / 0.8202 GB, free: 15.47 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006798/0.5607, allocations: 378.5 kB / 0.8206 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.514e-05/0.5607, allocations: 10.28 kB / 0.8206 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.358e-05/0.5608, allocations: 42.84 kB / 0.8207 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.884e-05/0.5608, allocations: 10.27 kB / 0.8207 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002645/0.5611, allocations: 165.8 kB / 0.8208 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.458e-05/0.5611, allocations: 7.438 kB / 0.8208 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.237e-05/0.5611, allocations: 3.875 kB / 0.8208 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002274/0.5613, allocations: 119.5 kB / 0.8209 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.5613, allocations: 4.469 kB / 0.8209 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/0.5613, allocations: 3.953 kB / 0.821 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.75e-06/0.5613, allocations: 0 / 0.821 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001868/0.5615, allocations: 96.77 kB / 0.821 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005398/0.5621, allocations: 428 kB / 0.8215 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000272/0.5623, allocations: 120.2 kB / 0.8216 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.649e-05/0.5624, allocations: 56.91 kB / 0.8216 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.369e-05/0.5625, allocations: 6.359 kB / 0.8216 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.439e-05/0.5625, allocations: 41.03 kB / 0.8217 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 2.014e-06/0.5625, allocations: 1.312 kB / 0.8217 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9): time 0.0003677/0.5629, allocations: 178.1 kB / 0.8218 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.79e-05/0.5629, allocations: 84.3 kB / 0.8219 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001339/0.563, allocations: 172.1 kB / 0.8221 GB, free: 14 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.36e-05/0.563, allocations: 28.8 kB / 0.8221 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.771e-05/0.5631, allocations: 112.7 kB / 0.8222 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.8e-05/0.5631, allocations: 29.62 kB / 0.8222 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.687e-05/0.5632, allocations: 20.75 kB / 0.8223 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.000109/0.5633, allocations: 330.3 kB / 0.8226 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001034/0.5634, allocations: 38.7 kB / 0.8226 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.048e-05/0.5635, allocations: 60.44 kB / 0.8227 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000174/0.5636, allocations: 110.6 kB / 0.8228 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.5636, allocations: 0 / 0.8228 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002402/0.5639, allocations: 147.2 kB / 0.8229 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.5639, allocations: 5.219 kB / 0.8229 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.5639, allocations: 1.125 kB / 0.8229 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.5639, allocations: 1.125 kB / 0.8229 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.54e-05/0.564, allocations: 28.38 kB / 0.823 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.564, allocations: 0 / 0.823 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.12e-05/0.5641, allocations: 29.67 kB / 0.823 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.927e-06/0.5641, allocations: 2.062 kB / 0.823 GB, free: 13.31 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.279e-05/0.5642, allocations: 115.2 kB / 0.8231 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.936e-05/0.5642, allocations: 10.3 kB / 0.8231 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002793/0.5645, allocations: 159.8 kB / 0.8233 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.5645, allocations: 2.016 kB / 0.8233 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.5645, allocations: 5.312 kB / 0.8233 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.541e-06/0.5645, allocations: 4.969 kB / 0.8233 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000201/0.5647, allocations: 175.6 kB / 0.8234 GB, free: 12.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.5647, allocations: 0 / 0.8234 GB, free: 12.92 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.522e-05/0.5648, allocations: 21.06 kB / 0.8235 GB, free: 12.92 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.5648, allocations: 5.312 kB / 0.8235 GB, free: 12.92 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.447e-05/0.5648, allocations: 9.25 kB / 0.8235 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.5648, allocations: 2.016 kB / 0.8235 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.5648, allocations: 0 / 0.8235 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000286/0.5651, allocations: 321.3 kB / 0.8238 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.403e-05/0.5651, allocations: 16.23 kB / 0.8238 GB, free: 12.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.079e-05/0.5651, allocations: 2.062 kB / 0.8238 GB, free: 12.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.696e-05/0.5652, allocations: 9.578 kB / 0.8238 GB, free: 12.65 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.237e-05/0.5653, allocations: 14.56 kB / 0.8238 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.144e-06/0.5653, allocations: 1.312 kB / 0.8238 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 8.211e-05/0.5654, allocations: 126.5 kB / 0.8239 GB, free: 12.55 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5654, allocations: 1.094 kB / 0.8239 GB, free: 12.55 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002017/0.5656, allocations: 25.05 kB / 0.824 GB, free: 12.55 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005128/0.5661, allocations: 0.8471 MB / 0.8248 GB, free: 11.77 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002452/0.5663, allocations: 103.3 kB / 0.8249 GB, free: 11.74 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.5663, allocations: 0 / 0.8249 GB, free: 11.74 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 9.763e-05/0.5664, allocations: 57.69 kB / 0.8249 GB, free: 11.72 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003417/0.5668, allocations: 39.52 kB / 0.825 GB, free: 11.71 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001693/0.5685, allocations: 1.829 MB / 0.8268 GB, free: 10.23 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.132e-05/0.5685, allocations: 89.73 kB / 0.8269 GB, free: 10.16 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.638e-05/0.5686, allocations: 14.14 kB / 0.8269 GB, free: 10.16 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.055e-05/0.5687, allocations: 36 kB / 0.8269 GB, free: 10.13 MB / 0.6198 GB Notification: Performance of SimCode: time 1.052e-06/0.5687, allocations: 1.125 kB / 0.8269 GB, free: 10.13 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02067/0.5894, allocations: 4.494 MB / 0.8313 GB, free: 9.023 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.564/7.153, allocations: 4.203 kB / 0.8313 GB, free: 9.023 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/IDEAS_dev_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_SetPoints_Examples_SupplyReturnTemperatureReset_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.fmu > IDEAS_dev_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.15687337005511] Failed to read output from testmodel.py, exit status != 0: 7.23561973311007 7.252081759 6.689208874 Calling exit ...