Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_Controls_SetPoints_Examples_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="IDEAS_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.001031/0.001031, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.0009847/0.0009848, allocations: 191.8 kB / 16.25 MB, free: 6.633 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.243/1.243, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.679/0.679, allocations: 132.2 MB / 422.3 MB, free: 1.992 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00107/0.00107, allocations: 59.94 kB / 0.5013 GB, free: 4.168 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3409/0.342, allocations: 80.2 MB / 0.5797 GB, free: 4.582 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.002888/0.3449, allocations: 1.874 MB / 0.5815 GB, free: 3.262 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002838/0.3452, allocations: 120.7 kB / 0.5816 GB, free: 3.176 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.612e-05/0.3453, allocations: 0.8125 kB / 0.5816 GB, free: 3.176 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001127/0.3455, allocations: 12.67 kB / 0.5816 GB, free: 3.168 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 9.417e-05/0.3456, allocations: 52.83 kB / 0.5817 GB, free: 3.129 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001317/0.3457, allocations: 27.95 kB / 0.5817 GB, free: 3.113 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002067/0.3459, allocations: 171.7 kB / 0.5819 GB, free: 3.027 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001387/0.3461, allocations: 24.19 kB / 0.5819 GB, free: 3.02 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.949e-05/0.3462, allocations: 49.05 kB / 0.5819 GB, free: 3.004 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001088/0.3463, allocations: 79.83 kB / 0.582 GB, free: 2.965 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.193e-05/0.3463, allocations: 9.625 kB / 0.582 GB, free: 2.965 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.808e-05/0.3463, allocations: 9.344 kB / 0.582 GB, free: 2.965 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.384e-05/0.3464, allocations: 24.8 kB / 0.5821 GB, free: 2.949 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 7.397e-05/0.3465, allocations: 60.89 kB / 0.5821 GB, free: 2.918 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001754/0.3466, allocations: 126 kB / 0.5822 GB, free: 2.867 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.3467, allocations: 0 / 0.5822 GB, free: 2.867 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3467, allocations: 0 / 0.5822 GB, free: 2.867 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.523e-06/0.3467, allocations: 1.812 kB / 0.5822 GB, free: 2.867 MB / 430.1 MB 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.0007012/0.3474, allocations: 448.9 kB / 0.5827 GB, free: 2.457 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.3474, allocations: 10.03 kB / 0.5827 GB, free: 2.457 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.932e-05/0.3475, allocations: 38.47 kB / 0.5827 GB, free: 2.414 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.55e-05/0.3475, allocations: 15.44 kB / 0.5827 GB, free: 2.406 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001625/0.3477, allocations: 217.7 kB / 0.5829 GB, free: 2.176 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.071e-05/0.3477, allocations: 2.469 kB / 0.5829 GB, free: 2.176 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.943e-05/0.3477, allocations: 8.906 kB / 0.5829 GB, free: 2.172 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002698/0.348, allocations: 116.9 kB / 0.5831 GB, free: 2.102 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.016e-06/0.348, allocations: 4.938 kB / 0.5831 GB, free: 2.098 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.293e-05/0.348, allocations: 4.656 kB / 0.5831 GB, free: 2.094 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.618e-06/0.348, allocations: 1.938 kB / 0.5831 GB, free: 2.094 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002802/0.3483, allocations: 93.81 kB / 0.5832 GB, free: 2.07 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005882/0.3489, allocations: 483.4 kB / 0.5836 GB, free: 1.648 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003334/0.3493, allocations: 132.6 kB / 0.5837 GB, free: 1.566 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001438/0.3494, allocations: 62.28 kB / 0.5838 GB, free: 1.535 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.856e-05/0.3494, allocations: 2.266 kB / 0.5838 GB, free: 1.535 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.275e-05/0.3495, allocations: 32.39 kB / 0.5838 GB, free: 1.496 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.192e-06/0.3495, allocations: 4 kB / 0.5838 GB, free: 1.492 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005271/0.35, allocations: 186.4 kB / 0.584 GB, free: 1.41 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.626e-05/0.35, allocations: 78.78 kB / 0.5841 GB, free: 1.316 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001241/0.3502, allocations: 174.5 kB / 0.5843 GB, free: 1.191 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.179e-05/0.3502, allocations: 30.64 kB / 0.5843 GB, free: 1.156 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.202e-05/0.3502, allocations: 110.4 kB / 0.5844 GB, free: 1.055 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.276e-05/0.3503, allocations: 33.91 kB / 0.5844 GB, free: 1.027 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.34e-05/0.3503, allocations: 24.88 kB / 0.5844 GB, free: 1.004 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.704e-05/0.3504, allocations: 325.3 kB / 0.5848 GB, free: 0.6836 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000135/0.3505, allocations: 43.22 kB / 0.5848 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001341/0.3506, allocations: 56.47 kB / 0.5849 GB, free: 0.6445 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000254/0.3509, allocations: 109.1 kB / 0.585 GB, free: 0.5938 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.3509, allocations: 0 / 0.585 GB, free: 0.5938 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003179/0.3512, allocations: 142.5 kB / 0.5851 GB, free: 0.5273 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.3513, allocations: 5.25 kB / 0.5851 GB, free: 0.5273 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.3513, allocations: 0.7188 kB / 0.5851 GB, free: 0.5273 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.3513, allocations: 5.422 kB / 0.5851 GB, free: 0.5234 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001595/0.3514, allocations: 22.05 kB / 0.5851 GB, free: 0.5234 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.647e-06/0.3515, allocations: 1.922 kB / 0.5851 GB, free: 0.5234 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001172/0.3516, allocations: 21.52 kB / 0.5851 GB, free: 0.5117 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.042e-05/0.3516, allocations: 2.094 kB / 0.5851 GB, free: 0.5117 MB / 430.1 MB 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 6.412e-05/0.3517, allocations: 119.3 kB / 0.5853 GB, free: 400 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.979e-05/0.3517, allocations: 11.42 kB / 0.5853 GB, free: 396 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003922/0.3521, allocations: 163.2 kB / 0.5854 GB, free: 304 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.3521, allocations: 2.219 kB / 0.5854 GB, free: 304 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.3521, allocations: 5.281 kB / 0.5854 GB, free: 300 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.3522, allocations: 4.688 kB / 0.5854 GB, free: 296 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002466/0.3524, allocations: 221.3 kB / 0.5857 GB, free: 76 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.3524, allocations: 0 / 0.5857 GB, free: 76 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001413/0.3526, allocations: 25.19 kB / 0.5857 GB, free: 72 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.3526, allocations: 5.406 kB / 0.5857 GB, free: 68 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.179e-05/0.3526, allocations: 5.406 kB / 0.5857 GB, free: 64 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.3526, allocations: 0.8125 kB / 0.5857 GB, free: 64 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.3526, allocations: 1.547 kB / 0.5857 GB, free: 64 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004197/0.353, allocations: 314.2 kB / 0.586 GB, free: 15.82 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.416e-05/0.3531, allocations: 89.91 kB / 0.5861 GB, free: 15.71 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.973e-05/0.3531, allocations: 6.109 kB / 0.5861 GB, free: 15.71 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001687/0.3533, allocations: 13.16 kB / 0.5861 GB, free: 15.71 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.503e-05/0.3534, allocations: 9.719 kB / 0.5861 GB, free: 15.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.073e-05/0.3534, allocations: 7.219 kB / 0.5861 GB, free: 15.7 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001156/0.3535, allocations: 127.2 kB / 0.5862 GB, free: 15.61 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3535, allocations: 1.594 kB / 0.5862 GB, free: 15.61 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002886/0.3538, allocations: 32.16 kB / 0.5863 GB, free: 15.6 MB / 446.1 MB 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.0007203/0.3545, allocations: 0.8385 MB / 0.5871 GB, free: 14.83 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003675/0.3549, allocations: 108.1 kB / 0.5872 GB, free: 14.8 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.3549, allocations: 0 / 0.5872 GB, free: 14.8 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001677/0.3551, allocations: 56.84 kB / 0.5872 GB, free: 14.79 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005104/0.3556, allocations: 56.91 kB / 0.5873 GB, free: 14.76 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002325/0.3579, allocations: 1.85 MB / 0.5891 GB, free: 13.25 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003304/0.3583, allocations: 0.7105 MB / 0.5898 GB, free: 12.54 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 9.866e-05/0.3584, allocations: 9.766 kB / 0.5898 GB, free: 12.54 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.832e-05/0.3585, allocations: 40.78 kB / 0.5898 GB, free: 12.52 MB / 446.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3585, allocations: 0 / 0.5898 GB, free: 12.52 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.785/2.143, allocations: 3.415 MB / 0.5932 GB, free: 12.19 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002576/2.144, allocations: 208.9 kB / 0.5934 GB, free: 11.93 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.343/4.487, allocations: 1.094 kB / 0.5934 GB, free: 11.93 MB / 446.1 MB (rm -f IDEAS_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo IDEAS_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/IDEAS_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_SetPoints_Examples_SupplyReturnTemperatureReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.fmu > IDEAS_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1)