Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="IBPSA_latest_IBPSA_Controls_SetPoints_Examples_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="IBPSA_latest_IBPSA_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.00128/0.00128, allocations: 103.6 kB / 16.27 MB, free: 6.41 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.001236/0.001236, allocations: 184.6 kB / 17.19 MB, free: 5.953 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.234/1.234, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7123/0.7123, allocations: 122.9 MB / 413.9 MB, free: 15.84 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00133/0.001331, allocations: 55.91 kB / 0.4912 GB, free: 7.359 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2939/0.2952, allocations: 77.92 MB / 0.5673 GB, free: 32.68 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.002411/0.2976, allocations: 1.814 MB / 0.569 GB, free: 31.41 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002207/0.2979, allocations: 121.5 kB / 0.5692 GB, free: 31.32 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.918e-05/0.298, allocations: 2.219 kB / 0.5692 GB, free: 31.32 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 8.342e-05/0.298, allocations: 13.84 kB / 0.5692 GB, free: 31.32 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.671e-05/0.2981, allocations: 53.89 kB / 0.5692 GB, free: 31.28 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001059/0.2982, allocations: 33.09 kB / 0.5693 GB, free: 31.26 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001562/0.2984, allocations: 168 kB / 0.5694 GB, free: 31.18 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001033/0.2985, allocations: 29.7 kB / 0.5694 GB, free: 31.17 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.479e-05/0.2986, allocations: 53.22 kB / 0.5695 GB, free: 31.15 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.323e-05/0.2987, allocations: 68.62 kB / 0.5696 GB, free: 31.12 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.684e-05/0.2987, allocations: 10.16 kB / 0.5696 GB, free: 31.12 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.746e-05/0.2988, allocations: 14.31 kB / 0.5696 GB, free: 31.12 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.552e-05/0.2988, allocations: 23.48 kB / 0.5696 GB, free: 31.1 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.207e-05/0.2989, allocations: 63.14 kB / 0.5697 GB, free: 31.07 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000128/0.299, allocations: 129.9 kB / 0.5698 GB, free: 31.02 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.299, allocations: 0 / 0.5698 GB, free: 31.02 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.299, allocations: 0.5938 kB / 0.5698 GB, free: 31.02 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.364e-06/0.299, allocations: 1.094 kB / 0.5698 GB, free: 31.02 MB / 446.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.0006033/0.2996, allocations: 447.1 kB / 0.5702 GB, free: 30.61 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.211e-05/0.2997, allocations: 11.16 kB / 0.5702 GB, free: 30.61 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.061e-05/0.2997, allocations: 39 kB / 0.5703 GB, free: 30.57 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.291e-05/0.2997, allocations: 16.19 kB / 0.5703 GB, free: 30.56 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001416/0.2999, allocations: 213 kB / 0.5705 GB, free: 30.33 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.268e-06/0.2999, allocations: 8.031 kB / 0.5705 GB, free: 30.33 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.541e-05/0.2999, allocations: 6.047 kB / 0.5705 GB, free: 30.33 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002462/0.3002, allocations: 114.6 kB / 0.5706 GB, free: 30.26 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.3002, allocations: 7.734 kB / 0.5706 GB, free: 30.26 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.298e-05/0.3002, allocations: 4 kB / 0.5706 GB, free: 30.25 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.179e-06/0.3002, allocations: 2.375 kB / 0.5706 GB, free: 30.25 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002904/0.3005, allocations: 94.19 kB / 0.5707 GB, free: 30.23 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000561/0.3011, allocations: 475.3 kB / 0.5712 GB, free: 29.82 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003286/0.3014, allocations: 130.4 kB / 0.5713 GB, free: 29.74 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001501/0.3016, allocations: 58.7 kB / 0.5713 GB, free: 29.71 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.173e-05/0.3016, allocations: 2.094 kB / 0.5713 GB, free: 29.71 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.352e-05/0.3016, allocations: 41.34 kB / 0.5714 GB, free: 29.67 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.213e-06/0.3016, allocations: 6.5 kB / 0.5714 GB, free: 29.66 MB / 446.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005293/0.3022, allocations: 176.4 kB / 0.5716 GB, free: 29.59 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.58e-05/0.3022, allocations: 83.56 kB / 0.5716 GB, free: 29.5 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001119/0.3023, allocations: 167.9 kB / 0.5718 GB, free: 29.38 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.04e-05/0.3024, allocations: 25.7 kB / 0.5718 GB, free: 29.34 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.871e-05/0.3024, allocations: 110.1 kB / 0.5719 GB, free: 29.24 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.118e-05/0.3024, allocations: 30.52 kB / 0.572 GB, free: 29.22 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.348e-05/0.3025, allocations: 21.92 kB / 0.572 GB, free: 29.2 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.017e-05/0.3025, allocations: 326 kB / 0.5723 GB, free: 28.88 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001416/0.3027, allocations: 44.23 kB / 0.5723 GB, free: 28.87 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001359/0.3028, allocations: 59.66 kB / 0.5724 GB, free: 28.84 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000265/0.3031, allocations: 109.6 kB / 0.5725 GB, free: 28.79 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.3031, allocations: 0.625 kB / 0.5725 GB, free: 28.79 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003228/0.3034, allocations: 141.9 kB / 0.5726 GB, free: 28.73 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/0.3034, allocations: 5.219 kB / 0.5726 GB, free: 28.73 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.3034, allocations: 0.75 kB / 0.5726 GB, free: 28.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.3035, allocations: 1.312 kB / 0.5726 GB, free: 28.73 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000149/0.3036, allocations: 30.55 kB / 0.5727 GB, free: 28.72 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.3036, allocations: 1.156 kB / 0.5727 GB, free: 28.72 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001153/0.3037, allocations: 21.95 kB / 0.5727 GB, free: 28.71 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.026e-05/0.3038, allocations: 6.781 kB / 0.5727 GB, free: 28.7 MB / 446.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 5.929e-05/0.3038, allocations: 116.1 kB / 0.5728 GB, free: 28.59 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.15e-05/0.3039, allocations: 11.81 kB / 0.5728 GB, free: 28.58 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000395/0.3043, allocations: 157.6 kB / 0.573 GB, free: 28.51 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.544e-06/0.3043, allocations: 5.594 kB / 0.573 GB, free: 28.51 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.3043, allocations: 2.172 kB / 0.573 GB, free: 28.51 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.3043, allocations: 7.062 kB / 0.573 GB, free: 28.5 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002369/0.3046, allocations: 224.3 kB / 0.5732 GB, free: 28.29 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.3046, allocations: 4 kB / 0.5732 GB, free: 28.28 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001409/0.3047, allocations: 21.97 kB / 0.5732 GB, free: 28.28 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.3047, allocations: 5.281 kB / 0.5732 GB, free: 28.28 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.033e-05/0.3047, allocations: 1.406 kB / 0.5732 GB, free: 28.28 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.3047, allocations: 2.812 kB / 0.5732 GB, free: 28.28 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.3048, allocations: 1.312 kB / 0.5732 GB, free: 28.28 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003363/0.3051, allocations: 312.4 kB / 0.5735 GB, free: 28.04 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.952e-05/0.3051, allocations: 94.31 kB / 0.5736 GB, free: 27.93 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.624e-05/0.3052, allocations: 6.484 kB / 0.5736 GB, free: 27.93 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001684/0.3053, allocations: 9.906 kB / 0.5736 GB, free: 27.93 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.352e-05/0.3054, allocations: 14.3 kB / 0.5737 GB, free: 27.92 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.436e-06/0.3054, allocations: 2.984 kB / 0.5737 GB, free: 27.92 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.956e-05/0.3055, allocations: 126.8 kB / 0.5738 GB, free: 27.83 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3055, allocations: 0 / 0.5738 GB, free: 27.83 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002867/0.3058, allocations: 32.81 kB / 0.5738 GB, free: 27.82 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.0004924/0.3063, allocations: 0.8387 MB / 0.5746 GB, free: 27.05 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000333/0.3066, allocations: 108.8 kB / 0.5747 GB, free: 27.02 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.3066, allocations: 0 / 0.5747 GB, free: 27.02 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001533/0.3068, allocations: 57.92 kB / 0.5748 GB, free: 27.01 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004766/0.3073, allocations: 52.84 kB / 0.5748 GB, free: 26.98 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001772/0.309, allocations: 1.815 MB / 0.5766 GB, free: 25.52 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001107/0.3092, allocations: 0.7088 MB / 0.5773 GB, free: 24.82 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.545e-05/0.3093, allocations: 19.83 kB / 0.5773 GB, free: 24.81 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.523e-05/0.3093, allocations: 36.14 kB / 0.5774 GB, free: 24.78 MB / 446.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3093, allocations: 1.031 kB / 0.5774 GB, free: 24.78 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01752/0.3269, allocations: 3.592 MB / 0.5809 GB, free: 24.05 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.943/7.27, allocations: 9.391 kB / 0.5809 GB, free: 24.04 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/IBPSA_latest_IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.fmu > IBPSA_latest_IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1)