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.005105/0.005105, allocations: 97.33 kB / 15.73 MB, free: 6.035 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.001108/0.001108, allocations: 201.9 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.393/1.393, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9596/0.9596, allocations: 135.1 MB / 425.7 MB, free: 12.06 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001444/0.001444, allocations: 63.89 kB / 0.5851 GB, free: 3.91 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.402/0.4035, allocations: 80.91 MB / 0.6641 GB, free: 7.297 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.002253/0.4057, allocations: 1.823 MB / 0.6659 GB, free: 5.863 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002361/0.406, allocations: 119.5 kB / 0.666 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.153e-05/0.4061, allocations: 0 / 0.666 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 8.813e-05/0.4062, allocations: 13.42 kB / 0.666 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.452e-05/0.4063, allocations: 53.17 kB / 0.6661 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001073/0.4064, allocations: 35.61 kB / 0.6661 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000188/0.4066, allocations: 173.2 kB / 0.6663 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001205/0.4067, allocations: 24.69 kB / 0.6663 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.619e-05/0.4068, allocations: 61.3 kB / 0.6664 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.659e-05/0.4069, allocations: 73.16 kB / 0.6664 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.678e-05/0.4069, allocations: 9.281 kB / 0.6664 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 2.718e-05/0.4069, allocations: 10 kB / 0.6664 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.728e-05/0.407, allocations: 22.11 kB / 0.6665 GB, free: 5.453 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.986e-05/0.407, allocations: 68.22 kB / 0.6665 GB, free: 5.41 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001657/0.4072, allocations: 127.5 kB / 0.6667 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.4072, allocations: 1.469 kB / 0.6667 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.633e-06/0.4072, allocations: 0 / 0.6667 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.54e-06/0.4072, allocations: 0 / 0.6667 GB, free: 5.328 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.0007174/0.408, allocations: 456.5 kB / 0.6671 GB, free: 4.887 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/0.408, allocations: 9.531 kB / 0.6671 GB, free: 4.887 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.078e-05/0.4081, allocations: 41.39 kB / 0.6671 GB, free: 4.84 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.857e-05/0.4081, allocations: 20.53 kB / 0.6672 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002173/0.4083, allocations: 208.9 kB / 0.6674 GB, free: 4.598 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.888e-06/0.4083, allocations: 3.094 kB / 0.6674 GB, free: 4.598 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.17e-05/0.4084, allocations: 8.438 kB / 0.6674 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002652/0.4086, allocations: 118.2 kB / 0.6675 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.4087, allocations: 3.938 kB / 0.6675 GB, free: 4.5 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.483e-05/0.4087, allocations: 5.469 kB / 0.6675 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.4087, allocations: 1.406 kB / 0.6675 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002814/0.409, allocations: 91.88 kB / 0.6676 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006169/0.4096, allocations: 480.5 kB / 0.668 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003514/0.41, allocations: 127.6 kB / 0.6682 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000164/0.4101, allocations: 65.62 kB / 0.6682 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.582e-05/0.4102, allocations: 6.125 kB / 0.6682 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.005e-05/0.4102, allocations: 36.17 kB / 0.6683 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 3.166e-06/0.4102, allocations: 0 / 0.6683 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0005908/0.4108, allocations: 188.8 kB / 0.6684 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.361e-05/0.4108, allocations: 78.27 kB / 0.6685 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001266/0.411, allocations: 166.3 kB / 0.6687 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.109e-05/0.411, allocations: 29.7 kB / 0.6687 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.467e-05/0.411, allocations: 105.9 kB / 0.6688 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.293e-05/0.4111, allocations: 31.17 kB / 0.6688 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.538e-05/0.4111, allocations: 23.97 kB / 0.6689 GB, free: 3.293 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.715e-05/0.4112, allocations: 325.4 kB / 0.6692 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001339/0.4113, allocations: 47.84 kB / 0.6692 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001291/0.4114, allocations: 59.23 kB / 0.6693 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002566/0.4117, allocations: 103.5 kB / 0.6694 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.4117, allocations: 4 kB / 0.6694 GB, free: 2.844 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003191/0.412, allocations: 149 kB / 0.6695 GB, free: 2.754 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.4121, allocations: 5.594 kB / 0.6695 GB, free: 2.754 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.4121, allocations: 5.016 kB / 0.6695 GB, free: 2.75 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/0.4121, allocations: 1.219 kB / 0.6695 GB, free: 2.75 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001481/0.4122, allocations: 22.05 kB / 0.6695 GB, free: 2.746 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/0.4123, allocations: 0 / 0.6695 GB, free: 2.746 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001126/0.4124, allocations: 22.61 kB / 0.6696 GB, free: 2.73 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.002e-05/0.4124, allocations: 2.531 kB / 0.6696 GB, free: 2.73 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.661e-05/0.4125, allocations: 117.8 kB / 0.6697 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.21e-05/0.4125, allocations: 19.17 kB / 0.6697 GB, free: 2.598 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000383/0.4129, allocations: 157.9 kB / 0.6699 GB, free: 2.496 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.888e-06/0.4129, allocations: 5.062 kB / 0.6699 GB, free: 2.492 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.4129, allocations: 0 / 0.6699 GB, free: 2.492 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.86e-06/0.4129, allocations: 5.469 kB / 0.6699 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002456/0.4132, allocations: 219.6 kB / 0.6701 GB, free: 2.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.4132, allocations: 1.094 kB / 0.6701 GB, free: 2.25 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001378/0.4133, allocations: 23.48 kB / 0.6701 GB, free: 2.242 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.4134, allocations: 1.125 kB / 0.6701 GB, free: 2.242 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.209e-05/0.4134, allocations: 1.312 kB / 0.6701 GB, free: 2.242 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.4134, allocations: 1.469 kB / 0.6701 GB, free: 2.242 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.4134, allocations: 1.375 kB / 0.6701 GB, free: 2.242 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003772/0.4138, allocations: 324.6 kB / 0.6704 GB, free: 1.969 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.23e-05/0.4138, allocations: 92.05 kB / 0.6705 GB, free: 1.863 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.928e-05/0.4139, allocations: 1.375 kB / 0.6705 GB, free: 1.863 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001687/0.414, allocations: 17.27 kB / 0.6705 GB, free: 1.852 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.192e-05/0.4141, allocations: 16.2 kB / 0.6705 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.795e-06/0.4141, allocations: 2.688 kB / 0.6705 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.19e-05/0.4142, allocations: 131.4 kB / 0.6707 GB, free: 1.738 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4142, allocations: 0 / 0.6707 GB, free: 1.738 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000288/0.4145, allocations: 28.12 kB / 0.6707 GB, free: 1.734 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.0005008/0.415, allocations: 0.842 MB / 0.6715 GB, free: 0.9414 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003161/0.4153, allocations: 106.2 kB / 0.6716 GB, free: 0.8945 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.4153, allocations: 0 / 0.6716 GB, free: 0.8945 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000144/0.4155, allocations: 59.75 kB / 0.6717 GB, free: 0.8672 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004019/0.4159, allocations: 46.48 kB / 0.6717 GB, free: 0.8398 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001991/0.4179, allocations: 1.82 MB / 0.6735 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002953/0.4182, allocations: 0.7013 MB / 0.6742 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 8.483e-05/0.4183, allocations: 15.45 kB / 0.6742 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.98e-05/0.4184, allocations: 38.08 kB / 0.6742 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of SimCode: time 2.634e-06/0.4184, allocations: 0 / 0.6742 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02079/0.4392, allocations: 3.636 MB / 0.6778 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.856/8.296, allocations: 6.156 kB / 0.6778 GB, free: 12.68 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)