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.001036/0.001036, allocations: 100.3 kB / 15.05 MB, free: 1.105 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.001035/0.001035, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.18/2.18, allocations: 223.2 MB / 239.9 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.191/1.191, allocations: 132.3 MB / 423.2 MB, free: 2.207 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006144/0.0006145, allocations: 12 kB / 0.5033 GB, free: 4.203 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8149/0.8155, allocations: 81.57 MB / 0.583 GB, free: 4.012 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.003563/0.8192, allocations: 1.443 MB / 0.5844 GB, free: 2.969 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004945/0.8197, allocations: 127 kB / 0.5845 GB, free: 2.879 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001332/0.8199, allocations: 1.906 kB / 0.5845 GB, free: 2.879 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 4.499e-05/0.82, allocations: 7.922 kB / 0.5845 GB, free: 2.875 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002501/0.8202, allocations: 59.8 kB / 0.5846 GB, free: 2.832 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002137/0.8205, allocations: 23.75 kB / 0.5846 GB, free: 2.82 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003726/0.8208, allocations: 120.7 kB / 0.5847 GB, free: 2.758 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000194/0.8211, allocations: 22.06 kB / 0.5847 GB, free: 2.75 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001594/0.8212, allocations: 43.72 kB / 0.5848 GB, free: 2.738 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002258/0.8215, allocations: 69.8 kB / 0.5848 GB, free: 2.707 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.724e-05/0.8215, allocations: 4.344 kB / 0.5848 GB, free: 2.707 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.123e-05/0.8216, allocations: 9.094 kB / 0.5848 GB, free: 2.703 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.747e-05/0.8216, allocations: 15.72 kB / 0.5848 GB, free: 2.695 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 7.104e-05/0.8217, allocations: 46.61 kB / 0.5849 GB, free: 2.656 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002492/0.822, allocations: 87.14 kB / 0.585 GB, free: 2.633 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.822, allocations: 0 / 0.585 GB, free: 2.633 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.476e-06/0.822, allocations: 0 / 0.585 GB, free: 2.633 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.371e-05/0.822, allocations: 0 / 0.585 GB, free: 2.633 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.001177/0.8232, allocations: 449.6 kB / 0.5854 GB, free: 2.23 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.284e-05/0.8233, allocations: 11.22 kB / 0.5854 GB, free: 2.23 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.208e-05/0.8234, allocations: 42.02 kB / 0.5855 GB, free: 2.184 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.989e-05/0.8235, allocations: 14.44 kB / 0.5855 GB, free: 2.176 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003559/0.8239, allocations: 215.7 kB / 0.5857 GB, free: 1.945 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.32e-05/0.8239, allocations: 2.594 kB / 0.5857 GB, free: 1.945 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.735e-05/0.8239, allocations: 8.188 kB / 0.5857 GB, free: 1.941 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005761/0.8245, allocations: 124.7 kB / 0.5858 GB, free: 1.871 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.442e-05/0.8246, allocations: 0 / 0.5858 GB, free: 1.871 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.517e-05/0.8246, allocations: 5.344 kB / 0.5858 GB, free: 1.867 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.278e-05/0.8246, allocations: 6.172 kB / 0.5858 GB, free: 1.863 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005913/0.8252, allocations: 102.8 kB / 0.5859 GB, free: 1.844 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001204/0.8264, allocations: 478.7 kB / 0.5864 GB, free: 1.43 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006708/0.8271, allocations: 146 kB / 0.5865 GB, free: 1.34 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.631e-05/0.8272, allocations: 6.328 kB / 0.5865 GB, free: 1.336 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.596e-05/0.8272, allocations: 32.67 kB / 0.5865 GB, free: 1.297 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.573e-06/0.8273, allocations: 0 / 0.5865 GB, free: 1.297 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.001111/0.8284, allocations: 210.2 kB / 0.5867 GB, free: 1.211 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.599e-05/0.8285, allocations: 81.83 kB / 0.5868 GB, free: 1.113 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002718/0.8287, allocations: 170.6 kB / 0.587 GB, free: 0.9922 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.209e-05/0.8288, allocations: 26.39 kB / 0.587 GB, free: 0.9609 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.729e-05/0.8289, allocations: 109.2 kB / 0.5871 GB, free: 0.8555 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.691e-05/0.8289, allocations: 29.92 kB / 0.5871 GB, free: 0.832 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.451e-05/0.829, allocations: 0 / 0.5871 GB, free: 0.832 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001138/0.8291, allocations: 334.1 kB / 0.5875 GB, free: 0.5039 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002705/0.8294, allocations: 49.28 kB / 0.5875 GB, free: 0.4922 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002835/0.8297, allocations: 62.62 kB / 0.5876 GB, free: 476 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000288/0.83, allocations: 57.83 kB / 0.5876 GB, free: 456 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.83, allocations: 0 / 0.5876 GB, free: 456 kB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006804/0.8307, allocations: 160.3 kB / 0.5878 GB, free: 384 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.324e-05/0.8307, allocations: 4.672 kB / 0.5878 GB, free: 384 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/0.8308, allocations: 1.031 kB / 0.5878 GB, free: 384 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.277e-05/0.8308, allocations: 5.234 kB / 0.5878 GB, free: 380 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002846/0.8311, allocations: 25.58 kB / 0.5878 GB, free: 380 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.196e-05/0.8311, allocations: 1.312 kB / 0.5878 GB, free: 380 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002298/0.8314, allocations: 25.39 kB / 0.5878 GB, free: 368 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.454e-05/0.8314, allocations: 6.891 kB / 0.5878 GB, free: 364 kB / 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001345/0.8315, allocations: 123.5 kB / 0.588 GB, free: 236 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.569e-05/0.8317, allocations: 10.88 kB / 0.588 GB, free: 232 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000783/0.8324, allocations: 175.5 kB / 0.5881 GB, free: 140 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.047e-05/0.8325, allocations: 2.047 kB / 0.5881 GB, free: 140 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.829e-06/0.8325, allocations: 8.734 kB / 0.5882 GB, free: 132 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.909e-06/0.8325, allocations: 1.688 kB / 0.5882 GB, free: 132 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005867/0.8331, allocations: 216.8 kB / 0.5884 GB, free: 15.91 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.8331, allocations: 0 / 0.5884 GB, free: 15.91 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002504/0.8334, allocations: 28.94 kB / 0.5884 GB, free: 15.91 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.334e-06/0.8334, allocations: 1.516 kB / 0.5884 GB, free: 15.91 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.075e-05/0.8334, allocations: 1.125 kB / 0.5884 GB, free: 15.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.388e-06/0.8335, allocations: 0.875 kB / 0.5884 GB, free: 15.91 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-06/0.8335, allocations: 2.125 kB / 0.5884 GB, free: 15.91 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007988/0.8343, allocations: 341.3 kB / 0.5887 GB, free: 15.64 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000102/0.8344, allocations: 89.22 kB / 0.5888 GB, free: 15.54 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.746e-05/0.8345, allocations: 2.359 kB / 0.5888 GB, free: 15.54 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003236/0.8348, allocations: 14.95 kB / 0.5888 GB, free: 15.54 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001015/0.8349, allocations: 15.39 kB / 0.5888 GB, free: 15.53 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.024e-05/0.8349, allocations: 2.719 kB / 0.5888 GB, free: 15.53 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002175/0.8352, allocations: 124.4 kB / 0.589 GB, free: 15.45 MB / 446.1 MB Notification: Performance of sort global known variables: time 5.31e-07/0.8352, allocations: 0 / 0.589 GB, free: 15.45 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005809/0.8358, allocations: 31.81 kB / 0.589 GB, free: 15.44 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001356/0.8371, allocations: 0.9414 MB / 0.5899 GB, free: 14.57 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006724/0.8378, allocations: 112 kB / 0.59 GB, free: 14.55 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.05e-06/0.8379, allocations: 5.531 kB / 0.59 GB, free: 14.55 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003229/0.8382, allocations: 60.95 kB / 0.5901 GB, free: 14.53 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006726/0.8389, allocations: 53.89 kB / 0.5901 GB, free: 14.5 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003057/0.842, allocations: 0.9642 MB / 0.5911 GB, free: 13.83 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005355/0.8425, allocations: 0.7078 MB / 0.5918 GB, free: 13.13 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001901/0.8427, allocations: 14.03 kB / 0.5918 GB, free: 13.13 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001287/0.8429, allocations: 39.25 kB / 0.5918 GB, free: 13.1 MB / 446.1 MB Notification: Performance of SimCode: time 1.212e-06/0.8429, allocations: 0 / 0.5918 GB, free: 13.1 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02564/0.8685, allocations: 3.206 MB / 0.5949 GB, free: 12.83 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003732/0.869, allocations: 187 kB / 0.5951 GB, free: 12.6 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.798/3.667, allocations: 4 kB / 0.5951 GB, free: 12.59 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/linux/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) Environment - environmentSimulation: