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.008691/0.008691, allocations: 96.7 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.002239/0.002239, allocations: 197.8 kB / 16.68 MB, free: 5.969 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.455/1.455, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.003/1.003, allocations: 135.6 MB / 426.1 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002689/0.002689, allocations: 67.88 kB / 0.5857 GB, free: 3.234 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4083/0.411, allocations: 81.03 MB / 0.6648 GB, free: 7.074 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.002373/0.4134, allocations: 1.813 MB / 0.6666 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002318/0.4136, allocations: 122.6 kB / 0.6667 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.411e-05/0.4137, allocations: 1.281 kB / 0.6667 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 9.183e-05/0.4138, allocations: 15.8 kB / 0.6667 GB, free: 5.523 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.736e-05/0.4139, allocations: 46.03 kB / 0.6668 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001049/0.414, allocations: 36.19 kB / 0.6668 GB, free: 5.453 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001717/0.4142, allocations: 180.6 kB / 0.667 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.4143, allocations: 20.55 kB / 0.667 GB, free: 5.332 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.939e-05/0.4144, allocations: 53.8 kB / 0.6671 GB, free: 5.305 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.728e-05/0.4145, allocations: 68.03 kB / 0.6671 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.148e-05/0.4145, allocations: 10.53 kB / 0.6671 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 2.664e-05/0.4146, allocations: 9.812 kB / 0.6671 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.479e-05/0.4146, allocations: 26.62 kB / 0.6672 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.112e-05/0.4146, allocations: 67.72 kB / 0.6672 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001429/0.4148, allocations: 127.9 kB / 0.6674 GB, free: 5.113 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.4148, allocations: 0 / 0.6674 GB, free: 5.113 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.152e-06/0.4148, allocations: 0 / 0.6674 GB, free: 5.113 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.298e-06/0.4148, allocations: 5.172 kB / 0.6674 GB, free: 5.109 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.0006286/0.4155, allocations: 459.8 kB / 0.6678 GB, free: 4.664 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.302e-05/0.4155, allocations: 13.78 kB / 0.6678 GB, free: 4.66 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.765e-05/0.4155, allocations: 42.02 kB / 0.6679 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.213e-05/0.4156, allocations: 15.38 kB / 0.6679 GB, free: 4.605 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001837/0.4158, allocations: 202.5 kB / 0.6681 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.06e-05/0.4158, allocations: 2.656 kB / 0.6681 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.496e-05/0.4158, allocations: 8.281 kB / 0.6681 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002486/0.416, allocations: 121.5 kB / 0.6682 GB, free: 4.285 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.4161, allocations: 4.969 kB / 0.6682 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.335e-05/0.4161, allocations: 5.156 kB / 0.6682 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.4161, allocations: 1.156 kB / 0.6682 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002873/0.4164, allocations: 91.48 kB / 0.6683 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005643/0.417, allocations: 480.9 kB / 0.6687 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003608/0.4173, allocations: 128 kB / 0.6689 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001548/0.4175, allocations: 66.06 kB / 0.6689 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.533e-05/0.4175, allocations: 1.5 kB / 0.6689 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.311e-05/0.4175, allocations: 39.84 kB / 0.669 GB, free: 3.594 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.282e-06/0.4176, allocations: 0 / 0.669 GB, free: 3.594 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0005501/0.4181, allocations: 185.2 kB / 0.6691 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.819e-05/0.4181, allocations: 82.38 kB / 0.6692 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001113/0.4183, allocations: 166.3 kB / 0.6694 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.07e-05/0.4183, allocations: 29.7 kB / 0.6694 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.077e-05/0.4183, allocations: 101.3 kB / 0.6695 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.219e-05/0.4183, allocations: 39.66 kB / 0.6695 GB, free: 3.094 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.49e-05/0.4184, allocations: 23.91 kB / 0.6696 GB, free: 3.07 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.441e-05/0.4184, allocations: 325.4 kB / 0.6699 GB, free: 2.746 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001401/0.4186, allocations: 51.28 kB / 0.6699 GB, free: 2.719 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001362/0.4187, allocations: 55.19 kB / 0.67 GB, free: 2.684 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002677/0.419, allocations: 98.91 kB / 0.6701 GB, free: 2.629 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.419, allocations: 5.062 kB / 0.6701 GB, free: 2.625 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003295/0.4194, allocations: 145 kB / 0.6702 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.4194, allocations: 5.344 kB / 0.6702 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.4194, allocations: 1.469 kB / 0.6702 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.4194, allocations: 0 / 0.6702 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001491/0.4196, allocations: 26.42 kB / 0.6702 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.4196, allocations: 192 / 0.6702 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001136/0.4197, allocations: 22.86 kB / 0.6703 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.143e-05/0.4197, allocations: 7.125 kB / 0.6703 GB, free: 2.512 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 6.39e-05/0.4198, allocations: 125.2 kB / 0.6704 GB, free: 2.387 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.126e-05/0.4198, allocations: 18.89 kB / 0.6704 GB, free: 2.375 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000404/0.4202, allocations: 157.2 kB / 0.6706 GB, free: 2.273 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.4203, allocations: 5.344 kB / 0.6706 GB, free: 2.27 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.4203, allocations: 0.875 kB / 0.6706 GB, free: 2.27 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.4203, allocations: 5.547 kB / 0.6706 GB, free: 2.266 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002229/0.4205, allocations: 215.5 kB / 0.6708 GB, free: 2.031 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.4205, allocations: 0 / 0.6708 GB, free: 2.031 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001373/0.4206, allocations: 25.28 kB / 0.6708 GB, free: 2.023 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.4207, allocations: 3.984 kB / 0.6708 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/0.4207, allocations: 2.094 kB / 0.6708 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/0.4207, allocations: 1.125 kB / 0.6708 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.4207, allocations: 0 / 0.6708 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003523/0.421, allocations: 316.9 kB / 0.6711 GB, free: 1.754 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.05e-05/0.4211, allocations: 101 kB / 0.6712 GB, free: 1.641 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.94e-05/0.4211, allocations: 1.125 kB / 0.6712 GB, free: 1.641 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001745/0.4213, allocations: 13.14 kB / 0.6712 GB, free: 1.633 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.685e-05/0.4214, allocations: 11.81 kB / 0.6712 GB, free: 1.625 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.107e-06/0.4214, allocations: 1.906 kB / 0.6712 GB, free: 1.625 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.187e-05/0.4215, allocations: 131.5 kB / 0.6714 GB, free: 1.523 MB / 0.4981 GB Notification: Performance of sort global known variables: time 6.41e-07/0.4215, allocations: 0 / 0.6714 GB, free: 1.523 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002906/0.4218, allocations: 29.94 kB / 0.6714 GB, free: 1.52 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.0004915/0.4222, allocations: 0.8396 MB / 0.6722 GB, free: 0.7266 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003301/0.4226, allocations: 106.2 kB / 0.6723 GB, free: 0.6797 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.4226, allocations: 1.469 kB / 0.6723 GB, free: 0.6797 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001487/0.4228, allocations: 54.31 kB / 0.6724 GB, free: 0.6562 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004055/0.4232, allocations: 47.34 kB / 0.6724 GB, free: 0.6289 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002163/0.4253, allocations: 1.823 MB / 0.6742 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003611/0.4257, allocations: 0.702 MB / 0.6749 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 8.856e-05/0.4258, allocations: 18.67 kB / 0.6749 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.213e-05/0.4259, allocations: 45.98 kB / 0.6749 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of SimCode: time 2.51e-07/0.4259, allocations: 0 / 0.6749 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02417/0.4501, allocations: 3.63 MB / 0.6785 GB, free: 12.47 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.913/8.363, allocations: 16.55 kB / 0.6785 GB, free: 12.46 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.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 IDEAS_dev_IDEAS_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.fmu > IDEAS_dev_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1)