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.0008756/0.0008756, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.005172/0.005172, allocations: 170.1 kB / 16.27 MB, free: 6.66 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.184/1.184, allocations: 223.2 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6597/0.6597, allocations: 132.3 MB / 423.8 MB, free: 1.988 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003855/0.0003855, allocations: 7.984 kB / 0.5041 GB, free: 3.797 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3347/0.3351, allocations: 81.57 MB / 0.5837 GB, free: 4.035 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.001444/0.3366, allocations: 1.533 MB / 0.5852 GB, free: 2.914 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002498/0.3369, allocations: 116.7 kB / 0.5853 GB, free: 2.836 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.022e-05/0.337, allocations: 1.156 kB / 0.5853 GB, free: 2.836 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 8.111e-05/0.3371, allocations: 11.95 kB / 0.5854 GB, free: 2.828 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001023/0.3372, allocations: 49.42 kB / 0.5854 GB, free: 2.793 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000106/0.3373, allocations: 31.75 kB / 0.5854 GB, free: 2.773 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001744/0.3375, allocations: 162.8 kB / 0.5856 GB, free: 2.695 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.906e-05/0.3376, allocations: 23.95 kB / 0.5856 GB, free: 2.688 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.532e-05/0.3376, allocations: 50.66 kB / 0.5857 GB, free: 2.668 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.536e-05/0.3377, allocations: 61.95 kB / 0.5857 GB, free: 2.645 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.563e-05/0.3378, allocations: 8.906 kB / 0.5857 GB, free: 2.641 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.268e-05/0.3378, allocations: 4.281 kB / 0.5857 GB, free: 2.641 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.293e-05/0.3378, allocations: 16.09 kB / 0.5857 GB, free: 2.633 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 6.293e-05/0.3379, allocations: 86.12 kB / 0.5858 GB, free: 2.57 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001275/0.338, allocations: 118.1 kB / 0.5859 GB, free: 2.531 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.338, allocations: 2.031 kB / 0.5859 GB, free: 2.531 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.338, allocations: 0 / 0.5859 GB, free: 2.531 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.097e-06/0.3381, allocations: 0 / 0.5859 GB, free: 2.531 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.000577/0.3386, allocations: 443.5 kB / 0.5864 GB, free: 2.129 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.318e-05/0.3387, allocations: 9.719 kB / 0.5864 GB, free: 2.129 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.473e-05/0.3387, allocations: 39.62 kB / 0.5864 GB, free: 2.086 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.39e-05/0.3388, allocations: 15.03 kB / 0.5864 GB, free: 2.078 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001561/0.3389, allocations: 220.7 kB / 0.5866 GB, free: 1.844 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.398e-06/0.3389, allocations: 3.75 kB / 0.5866 GB, free: 1.844 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.59e-05/0.339, allocations: 9.219 kB / 0.5867 GB, free: 1.84 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002562/0.3392, allocations: 122.2 kB / 0.5868 GB, free: 1.773 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-06/0.3392, allocations: 3.938 kB / 0.5868 GB, free: 1.77 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.329e-05/0.3392, allocations: 8.766 kB / 0.5868 GB, free: 1.762 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.3393, allocations: 2.25 kB / 0.5868 GB, free: 1.762 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002978/0.3396, allocations: 111.4 kB / 0.5869 GB, free: 1.734 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005534/0.3401, allocations: 478 kB / 0.5873 GB, free: 1.32 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003257/0.3405, allocations: 135 kB / 0.5875 GB, free: 1.242 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001577/0.3406, allocations: 77.64 kB / 0.5875 GB, free: 1.203 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.12e-05/0.3407, allocations: 5.797 kB / 0.5876 GB, free: 1.199 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.431e-05/0.3407, allocations: 35.59 kB / 0.5876 GB, free: 1.156 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.202e-06/0.3407, allocations: 0.9062 kB / 0.5876 GB, free: 1.156 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005517/0.3412, allocations: 206.4 kB / 0.5878 GB, free: 1.074 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.411e-05/0.3413, allocations: 78.69 kB / 0.5879 GB, free: 0.9805 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001197/0.3414, allocations: 171 kB / 0.588 GB, free: 0.8594 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.124e-05/0.3414, allocations: 30.45 kB / 0.5881 GB, free: 0.8242 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.004e-05/0.3415, allocations: 109.2 kB / 0.5882 GB, free: 0.7227 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.979e-05/0.3415, allocations: 29.34 kB / 0.5882 GB, free: 0.6992 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.365e-05/0.3415, allocations: 17.69 kB / 0.5882 GB, free: 0.6797 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.016e-05/0.3416, allocations: 326.7 kB / 0.5885 GB, free: 368 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001393/0.3417, allocations: 48.58 kB / 0.5886 GB, free: 356 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001393/0.3418, allocations: 67.53 kB / 0.5886 GB, free: 324 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002765/0.3421, allocations: 127 kB / 0.5887 GB, free: 268 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.3421, allocations: 0 / 0.5887 GB, free: 268 kB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003282/0.3425, allocations: 159.4 kB / 0.5889 GB, free: 196 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.3425, allocations: 6.641 kB / 0.5889 GB, free: 196 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.3425, allocations: 3.938 kB / 0.5889 GB, free: 192 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.3425, allocations: 1.5 kB / 0.5889 GB, free: 192 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001404/0.3427, allocations: 25.48 kB / 0.5889 GB, free: 192 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/0.3427, allocations: 1.438 kB / 0.5889 GB, free: 192 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001169/0.3428, allocations: 28.7 kB / 0.589 GB, free: 176 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.347e-06/0.3428, allocations: 2.219 kB / 0.589 GB, free: 176 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.885e-05/0.3429, allocations: 119.3 kB / 0.5891 GB, free: 52 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.847e-05/0.3429, allocations: 11.27 kB / 0.5891 GB, free: 48 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004215/0.3434, allocations: 173.9 kB / 0.5893 GB, free: 15.96 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.3434, allocations: 1.094 kB / 0.5893 GB, free: 15.96 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.3434, allocations: 2.234 kB / 0.5893 GB, free: 15.96 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.825e-06/0.3434, allocations: 4 kB / 0.5893 GB, free: 15.96 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002622/0.3437, allocations: 232.6 kB / 0.5895 GB, free: 15.73 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.3437, allocations: 1.75 kB / 0.5895 GB, free: 15.73 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001332/0.3438, allocations: 26.92 kB / 0.5895 GB, free: 15.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.3438, allocations: 1.891 kB / 0.5895 GB, free: 15.73 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/0.3438, allocations: 2.25 kB / 0.5895 GB, free: 15.73 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.3438, allocations: 0 / 0.5895 GB, free: 15.73 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.3438, allocations: 1.562 kB / 0.5895 GB, free: 15.73 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003889/0.3442, allocations: 327.9 kB / 0.5898 GB, free: 15.48 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.192e-05/0.3443, allocations: 93.64 kB / 0.5899 GB, free: 15.38 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.433e-05/0.3443, allocations: 6.469 kB / 0.5899 GB, free: 15.37 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001636/0.3445, allocations: 15.69 kB / 0.5899 GB, free: 15.37 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.866e-05/0.3445, allocations: 10.62 kB / 0.5899 GB, free: 15.36 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.236e-06/0.3445, allocations: 3.094 kB / 0.59 GB, free: 15.36 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.1e-05/0.3446, allocations: 131.8 kB / 0.5901 GB, free: 15.27 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3446, allocations: 0 / 0.5901 GB, free: 15.27 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002782/0.3449, allocations: 33.59 kB / 0.5901 GB, free: 15.26 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.0006086/0.3455, allocations: 0.8557 MB / 0.5909 GB, free: 14.49 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000334/0.3459, allocations: 124.3 kB / 0.5911 GB, free: 14.45 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.3459, allocations: 0 / 0.5911 GB, free: 14.45 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001616/0.3461, allocations: 66.98 kB / 0.5911 GB, free: 14.43 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000415/0.3465, allocations: 43.17 kB / 0.5912 GB, free: 14.42 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002025/0.3485, allocations: 1.885 MB / 0.593 GB, free: 12.91 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002134/0.3487, allocations: 0.7028 MB / 0.5937 GB, free: 12.21 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.568e-05/0.3488, allocations: 12.8 kB / 0.5937 GB, free: 12.21 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.506e-05/0.3489, allocations: 33.05 kB / 0.5937 GB, free: 12.19 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3489, allocations: 0 / 0.5937 GB, free: 12.19 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.21/3.559, allocations: 3.236 MB / 0.5969 GB, free: 11.79 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003166/3.559, allocations: 207.2 kB / 0.5971 GB, free: 11.54 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.157/5.716, allocations: 1.219 kB / 0.5971 GB, free: 11.54 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)