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) 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.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005021/0.005021, allocations: 99.34 kB / 15.73 MB, free: 6.039 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.001487/0.001487, allocations: 199.6 kB / 16.68 MB, free: 5.961 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.451/1.451, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.007/1.007, allocations: 135.6 MB / 426.1 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001853/0.001854, allocations: 59.91 kB / 0.5857 GB, free: 3.238 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3487/0.3506, allocations: 81.03 MB / 0.6648 GB, free: 6.84 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.002238/0.3529, allocations: 1.812 MB / 0.6666 GB, free: 5.41 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002321/0.3531, allocations: 122.7 kB / 0.6667 GB, free: 5.305 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.39e-05/0.3532, allocations: 1.5 kB / 0.6667 GB, free: 5.305 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 9.336e-05/0.3533, allocations: 15.8 kB / 0.6667 GB, free: 5.289 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.327e-05/0.3534, allocations: 53.61 kB / 0.6668 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001054/0.3535, allocations: 32.42 kB / 0.6668 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001797/0.3537, allocations: 175.6 kB / 0.667 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001013/0.3538, allocations: 25.53 kB / 0.667 GB, free: 5.094 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.802e-05/0.3539, allocations: 57.36 kB / 0.6671 GB, free: 5.062 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.149e-05/0.354, allocations: 73.33 kB / 0.6671 GB, free: 5.016 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.722e-05/0.354, allocations: 10 kB / 0.6672 GB, free: 5.016 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 2.765e-05/0.354, allocations: 9.125 kB / 0.6672 GB, free: 5.016 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.447e-05/0.3541, allocations: 22.58 kB / 0.6672 GB, free: 4.996 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.923e-05/0.3541, allocations: 68.25 kB / 0.6672 GB, free: 4.953 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001413/0.3543, allocations: 123.8 kB / 0.6674 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.3543, allocations: 0 / 0.6674 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.223e-06/0.3543, allocations: 0 / 0.6674 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.3543, allocations: 1.5 kB / 0.6674 GB, free: 4.875 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006128/0.3549, allocations: 464 kB / 0.6678 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.3549, allocations: 9.656 kB / 0.6678 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.019e-05/0.355, allocations: 37.31 kB / 0.6679 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.184e-05/0.355, allocations: 15.66 kB / 0.6679 GB, free: 4.375 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001663/0.3552, allocations: 210.7 kB / 0.6681 GB, free: 4.145 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.011e-05/0.3552, allocations: 2.719 kB / 0.6681 GB, free: 4.145 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.373e-05/0.3552, allocations: 12.31 kB / 0.6681 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002371/0.3555, allocations: 117 kB / 0.6682 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.888e-06/0.3555, allocations: 7.875 kB / 0.6682 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.3555, allocations: 5.062 kB / 0.6682 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.3555, allocations: 1.344 kB / 0.6682 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002761/0.3558, allocations: 95.61 kB / 0.6683 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005236/0.3563, allocations: 472.9 kB / 0.6688 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003173/0.3567, allocations: 132.2 kB / 0.6689 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001448/0.3568, allocations: 61.69 kB / 0.6689 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.442e-05/0.3568, allocations: 9.188 kB / 0.6689 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.107e-05/0.3569, allocations: 32.81 kB / 0.669 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.213e-06/0.3569, allocations: 4 kB / 0.669 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0005229/0.3574, allocations: 180.1 kB / 0.6692 GB, free: 3.254 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.558e-05/0.3574, allocations: 79.89 kB / 0.6692 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001223/0.3575, allocations: 168.1 kB / 0.6694 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.016e-05/0.3576, allocations: 30.83 kB / 0.6694 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.847e-05/0.3576, allocations: 100.8 kB / 0.6695 GB, free: 2.895 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.976e-05/0.3576, allocations: 35.73 kB / 0.6696 GB, free: 2.863 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.375e-05/0.3577, allocations: 27.86 kB / 0.6696 GB, free: 2.836 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.478e-05/0.3577, allocations: 326.8 kB / 0.6699 GB, free: 2.512 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001371/0.3579, allocations: 42.09 kB / 0.6699 GB, free: 2.492 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001295/0.358, allocations: 59.56 kB / 0.67 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000262/0.3583, allocations: 107.6 kB / 0.6701 GB, free: 2.391 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.3583, allocations: 0 / 0.6701 GB, free: 2.391 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003189/0.3586, allocations: 150.4 kB / 0.6702 GB, free: 2.301 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.3586, allocations: 5.156 kB / 0.6702 GB, free: 2.301 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.3586, allocations: 0 / 0.6702 GB, free: 2.301 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.3587, allocations: 5.625 kB / 0.6702 GB, free: 2.297 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001429/0.3588, allocations: 21.52 kB / 0.6703 GB, free: 2.293 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.3588, allocations: 192 / 0.6703 GB, free: 2.293 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001064/0.3589, allocations: 18.23 kB / 0.6703 GB, free: 2.281 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.989e-06/0.3589, allocations: 7.656 kB / 0.6703 GB, free: 2.277 MB / 0.4981 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 5.611e-05/0.359, allocations: 121.8 kB / 0.6704 GB, free: 2.152 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.81e-05/0.3591, allocations: 14.19 kB / 0.6704 GB, free: 2.145 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003726/0.3594, allocations: 166.6 kB / 0.6706 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.766e-06/0.3595, allocations: 1.625 kB / 0.6706 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.3595, allocations: 0 / 0.6706 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.3595, allocations: 5.438 kB / 0.6706 GB, free: 2.031 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002111/0.3597, allocations: 215.8 kB / 0.6708 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.3597, allocations: 0 / 0.6708 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001335/0.3598, allocations: 24.78 kB / 0.6708 GB, free: 1.789 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.3598, allocations: 4 kB / 0.6708 GB, free: 1.785 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.768e-06/0.3599, allocations: 1.438 kB / 0.6708 GB, free: 1.785 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.3599, allocations: 1.25 kB / 0.6708 GB, free: 1.785 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.3599, allocations: 1.344 kB / 0.6708 GB, free: 1.785 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003242/0.3602, allocations: 315.6 kB / 0.6711 GB, free: 1.52 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.673e-05/0.3602, allocations: 101.3 kB / 0.6712 GB, free: 1.406 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.468e-05/0.3603, allocations: 5.406 kB / 0.6712 GB, free: 1.402 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001634/0.3604, allocations: 5.656 kB / 0.6712 GB, free: 1.402 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.818e-05/0.3605, allocations: 15.8 kB / 0.6712 GB, free: 1.391 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.045e-06/0.3605, allocations: 2.156 kB / 0.6712 GB, free: 1.391 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.508e-05/0.3605, allocations: 131.3 kB / 0.6714 GB, free: 1.289 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3606, allocations: 0 / 0.6714 GB, free: 1.289 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002767/0.3608, allocations: 29.09 kB / 0.6714 GB, free: 1.285 MB / 0.4981 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.0004677/0.3613, allocations: 0.8399 MB / 0.6722 GB, free: 0.4922 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003299/0.3616, allocations: 106.9 kB / 0.6723 GB, free: 456 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.3617, allocations: 0 / 0.6723 GB, free: 456 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001476/0.3618, allocations: 55.03 kB / 0.6724 GB, free: 432 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003913/0.3622, allocations: 40.59 kB / 0.6724 GB, free: 412 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002101/0.3643, allocations: 1.832 MB / 0.6742 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003388/0.3647, allocations: 0.7062 MB / 0.6749 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 7.683e-05/0.3648, allocations: 22.64 kB / 0.6749 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.507e-05/0.3648, allocations: 38.42 kB / 0.6749 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of SimCode: time 2.2e-07/0.3648, allocations: 0 / 0.6749 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2738/0.6386, allocations: 3.628 MB / 0.6785 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.38/9.019, allocations: 20.55 kB / 0.6785 GB, free: 12.22 MB / 0.5137 GB (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 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.fmu > IDEAS_dev_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1)