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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001322/0.001322, allocations: 109.3 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001343/0.001343, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.431/1.431, allocations: 225.6 MB / 247.8 MB, free: 13.94 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.061/1.061, allocations: 175.8 MB / 478.4 MB, free: 8.465 MB / 382.1 MB " [Timeout remaining time 179] 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.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: Performance of FrontEnd - loaded program: time 0.001886/0.001886, allocations: 64.11 kB / 0.6652 GB, free: 0.6016 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2077/0.2096, allocations: 94.55 MB / 0.7575 GB, free: 1.953 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.003507/0.2131, allocations: 1.817 MB / 0.7593 GB, free: 128 kB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0003724/0.2135, allocations: 127.5 kB / 0.7594 GB, free: 0 / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.4516/0.6651, allocations: 0.6094 kB / 0.7594 GB, free: 7.98 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0002244/0.6653, allocations: 11.19 kB / 0.7594 GB, free: 7.98 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001708/0.6655, allocations: 49.12 kB / 0.7594 GB, free: 7.98 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001899/0.6657, allocations: 34.94 kB / 0.7595 GB, free: 7.98 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002712/0.666, allocations: 172.7 kB / 0.7596 GB, free: 7.98 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000141/0.6661, allocations: 16.48 kB / 0.7597 GB, free: 7.98 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001025/0.6662, allocations: 54.02 kB / 0.7597 GB, free: 7.977 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001389/0.6664, allocations: 74.94 kB / 0.7598 GB, free: 7.961 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.353e-05/0.6664, allocations: 9.969 kB / 0.7598 GB, free: 7.961 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 3.407e-05/0.6664, allocations: 10.03 kB / 0.7598 GB, free: 7.961 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 3.882e-05/0.6665, allocations: 21.64 kB / 0.7598 GB, free: 7.957 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 9.783e-05/0.6666, allocations: 70.84 kB / 0.7599 GB, free: 7.938 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002274/0.6668, allocations: 119.9 kB / 0.76 GB, free: 7.922 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.6668, allocations: 1.469 kB / 0.76 GB, free: 7.922 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.294e-06/0.6668, allocations: 0.5312 kB / 0.76 GB, free: 7.922 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.422e-06/0.6668, allocations: 0 / 0.76 GB, free: 7.922 MB / 0.5762 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.0007682/0.6676, allocations: 453.9 kB / 0.7604 GB, free: 7.523 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.6676, allocations: 15.09 kB / 0.7605 GB, free: 7.52 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.138e-05/0.6677, allocations: 40.17 kB / 0.7605 GB, free: 7.48 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.788e-05/0.6677, allocations: 17.42 kB / 0.7605 GB, free: 7.473 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002588/0.6679, allocations: 205.7 kB / 0.7607 GB, free: 7.266 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.447e-05/0.668, allocations: 8.219 kB / 0.7607 GB, free: 7.266 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.755e-05/0.668, allocations: 7.25 kB / 0.7607 GB, free: 7.266 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002767/0.6683, allocations: 118 kB / 0.7608 GB, free: 7.219 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.6683, allocations: 5.719 kB / 0.7608 GB, free: 7.215 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.316e-05/0.6683, allocations: 1.156 kB / 0.7608 GB, free: 7.215 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.6683, allocations: 6.688 kB / 0.7608 GB, free: 7.215 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003072/0.6686, allocations: 93.38 kB / 0.7609 GB, free: 7.215 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007247/0.6693, allocations: 476 kB / 0.7614 GB, free: 6.855 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004065/0.6697, allocations: 123.4 kB / 0.7615 GB, free: 6.809 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001771/0.6699, allocations: 57.36 kB / 0.7616 GB, free: 6.793 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.872e-05/0.6699, allocations: 6.031 kB / 0.7616 GB, free: 6.793 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.994e-05/0.67, allocations: 37.47 kB / 0.7616 GB, free: 6.754 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=9): time 1.313e-06/0.67, allocations: 0 / 0.7616 GB, free: 6.754 MB / 0.5762 GB Notification: Performance of matching and sorting (n=9): time 0.0006269/0.6706, allocations: 182.2 kB / 0.7618 GB, free: 6.715 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.007e-05/0.6706, allocations: 78.66 kB / 0.7619 GB, free: 6.621 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001959/0.6708, allocations: 168.3 kB / 0.762 GB, free: 6.523 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.767e-05/0.6708, allocations: 29.05 kB / 0.762 GB, free: 6.492 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.479e-05/0.6709, allocations: 107.5 kB / 0.7621 GB, free: 6.406 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.707e-05/0.671, allocations: 34.22 kB / 0.7622 GB, free: 6.387 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.498e-05/0.671, allocations: 20.64 kB / 0.7622 GB, free: 6.371 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.773e-05/0.6711, allocations: 329.2 kB / 0.7625 GB, free: 6.055 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001758/0.6713, allocations: 51.36 kB / 0.7626 GB, free: 6.051 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000183/0.6715, allocations: 57.38 kB / 0.7626 GB, free: 6.035 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003044/0.6718, allocations: 104.9 kB / 0.7627 GB, free: 6.02 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.6718, allocations: 0 / 0.7627 GB, free: 6.02 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.00036/0.6722, allocations: 149.9 kB / 0.7629 GB, free: 5.977 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.6722, allocations: 5.344 kB / 0.7629 GB, free: 5.977 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.573e-06/0.6722, allocations: 1.641 kB / 0.7629 GB, free: 5.977 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.009e-05/0.6722, allocations: 1.062 kB / 0.7629 GB, free: 5.977 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001644/0.6724, allocations: 28.44 kB / 0.7629 GB, free: 5.977 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.6724, allocations: 1.031 kB / 0.7629 GB, free: 5.977 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001167/0.6725, allocations: 21.91 kB / 0.7629 GB, free: 5.965 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.261e-05/0.6725, allocations: 11.83 kB / 0.7629 GB, free: 5.957 MB / 0.5762 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 8.655e-05/0.6726, allocations: 120.1 kB / 0.763 GB, free: 5.844 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.044e-05/0.6726, allocations: 14.47 kB / 0.7631 GB, free: 5.836 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004548/0.6731, allocations: 156 kB / 0.7632 GB, free: 5.793 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.6731, allocations: 2.219 kB / 0.7632 GB, free: 5.793 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.239e-06/0.6731, allocations: 7.812 kB / 0.7632 GB, free: 5.789 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.062e-06/0.6731, allocations: 5.688 kB / 0.7632 GB, free: 5.785 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002951/0.6734, allocations: 223.3 kB / 0.7634 GB, free: 5.594 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.6734, allocations: 0 / 0.7634 GB, free: 5.594 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001455/0.6736, allocations: 21.25 kB / 0.7634 GB, free: 5.594 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.991e-06/0.6736, allocations: 2.844 kB / 0.7635 GB, free: 5.594 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.307e-05/0.6736, allocations: 4.062 kB / 0.7635 GB, free: 5.594 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.6736, allocations: 0.9375 kB / 0.7635 GB, free: 5.594 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.6736, allocations: 1.656 kB / 0.7635 GB, free: 5.594 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003905/0.674, allocations: 314.4 kB / 0.7638 GB, free: 5.379 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 4.101e-05/0.674, allocations: 94 kB / 0.7638 GB, free: 5.273 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.824e-05/0.674, allocations: 5.094 kB / 0.7639 GB, free: 5.273 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001668/0.6742, allocations: 9.125 kB / 0.7639 GB, free: 5.273 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.937e-05/0.6743, allocations: 14.45 kB / 0.7639 GB, free: 5.266 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.236e-06/0.6743, allocations: 3.094 kB / 0.7639 GB, free: 5.266 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 9.732e-05/0.6744, allocations: 133.1 kB / 0.764 GB, free: 5.188 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.6744, allocations: 0 / 0.764 GB, free: 5.188 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002962/0.6747, allocations: 25.38 kB / 0.764 GB, free: 5.188 MB / 0.5762 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.0005717/0.6752, allocations: 0.8447 MB / 0.7649 GB, free: 4.445 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003357/0.6756, allocations: 98.39 kB / 0.7649 GB, free: 4.445 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.6756, allocations: 192 / 0.7649 GB, free: 4.445 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001444/0.6757, allocations: 58.77 kB / 0.765 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004227/0.6761, allocations: 47.47 kB / 0.765 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002653/0.6788, allocations: 1.836 MB / 0.7668 GB, free: 19.11 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000415/0.6792, allocations: 0.703 MB / 0.7675 GB, free: 18.42 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001052/0.6793, allocations: 14.61 kB / 0.7675 GB, free: 18.41 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.895e-05/0.6794, allocations: 37.38 kB / 0.7676 GB, free: 18.41 MB / 0.5919 GB Notification: Performance of SimCode: time 7.02e-07/0.6794, allocations: 0 / 0.7676 GB, free: 18.41 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0278/0.7072, allocations: 3.651 MB / 0.7711 GB, free: 17.96 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.399/9.106, allocations: 10.55 kB / 0.7712 GB, free: 17.95 MB / 0.5919 GB " [Timeout remaining time 651] (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: 12.819195759948343] Failed to read output from testmodel.py, exit status != 0: 9.177331149112433 9.200609946 8.528578613 Calling exit ...