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.001143/0.001143, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001174/0.001174, allocations: 191.7 kB / 16.14 MB, free: 6.707 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.172/1.172, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6735/0.6735, allocations: 132.2 MB / 422.1 MB, free: 2.016 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001074/0.001074, allocations: 63.8 kB / 0.5012 GB, free: 4.23 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3054/0.3065, allocations: 80.2 MB / 0.5795 GB, free: 4.555 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.002285/0.3088, allocations: 1.882 MB / 0.5813 GB, free: 3.234 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002024/0.309, allocations: 123.1 kB / 0.5814 GB, free: 3.145 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.517e-05/0.3091, allocations: 1.312 kB / 0.5814 GB, free: 3.145 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 8.634e-05/0.3092, allocations: 8.922 kB / 0.5814 GB, free: 3.141 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 7.64e-05/0.3092, allocations: 53.8 kB / 0.5815 GB, free: 3.102 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.13e-05/0.3093, allocations: 31.91 kB / 0.5815 GB, free: 3.082 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001448/0.3095, allocations: 158.1 kB / 0.5817 GB, free: 3.008 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.816e-05/0.3096, allocations: 22.72 kB / 0.5817 GB, free: 3 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.132e-05/0.3097, allocations: 49.75 kB / 0.5818 GB, free: 2.984 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.44e-05/0.3097, allocations: 70.89 kB / 0.5818 GB, free: 2.953 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.223e-05/0.3098, allocations: 9.438 kB / 0.5818 GB, free: 2.949 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.472e-05/0.3098, allocations: 5.594 kB / 0.5818 GB, free: 2.949 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.37e-05/0.3098, allocations: 20.09 kB / 0.5819 GB, free: 2.938 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 6.21e-05/0.3099, allocations: 61.75 kB / 0.5819 GB, free: 2.906 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001203/0.31, allocations: 115.8 kB / 0.582 GB, free: 2.863 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.31, allocations: 0.5156 kB / 0.582 GB, free: 2.863 MB / 430.1 MB Notification: Performance of FrontEnd: time 9.91e-07/0.31, allocations: 0 / 0.582 GB, free: 2.863 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.587e-06/0.31, allocations: 1.188 kB / 0.582 GB, free: 2.863 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.0006075/0.3107, allocations: 450.8 kB / 0.5825 GB, free: 2.453 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.069e-05/0.3107, allocations: 9.859 kB / 0.5825 GB, free: 2.453 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.725e-05/0.3107, allocations: 37.52 kB / 0.5825 GB, free: 2.41 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.111e-05/0.3108, allocations: 20.22 kB / 0.5825 GB, free: 2.398 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001386/0.3109, allocations: 213.2 kB / 0.5827 GB, free: 2.176 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.843e-06/0.3109, allocations: 6.469 kB / 0.5827 GB, free: 2.172 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.698e-05/0.3109, allocations: 9.219 kB / 0.5827 GB, free: 2.168 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000241/0.3112, allocations: 120.4 kB / 0.5828 GB, free: 2.094 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.3112, allocations: 3.938 kB / 0.5829 GB, free: 2.09 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.3112, allocations: 2.219 kB / 0.5829 GB, free: 2.09 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.3112, allocations: 2 kB / 0.5829 GB, free: 2.09 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002723/0.3115, allocations: 93.03 kB / 0.5829 GB, free: 2.066 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005514/0.3121, allocations: 480.6 kB / 0.5834 GB, free: 1.648 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003143/0.3124, allocations: 131.4 kB / 0.5835 GB, free: 1.566 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001418/0.3125, allocations: 59.02 kB / 0.5836 GB, free: 1.539 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.357e-05/0.3126, allocations: 1.406 kB / 0.5836 GB, free: 1.539 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.161e-05/0.3126, allocations: 40.77 kB / 0.5836 GB, free: 1.492 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.172e-06/0.3126, allocations: 0 / 0.5836 GB, free: 1.492 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004916/0.3131, allocations: 182.7 kB / 0.5838 GB, free: 1.414 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.137e-05/0.3131, allocations: 87.23 kB / 0.5839 GB, free: 1.312 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001119/0.3132, allocations: 170.4 kB / 0.584 GB, free: 1.191 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.578e-06/0.3132, allocations: 26.89 kB / 0.5841 GB, free: 1.16 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.801e-05/0.3133, allocations: 108.2 kB / 0.5842 GB, free: 1.059 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.098e-05/0.3133, allocations: 34.11 kB / 0.5842 GB, free: 1.031 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.374e-05/0.3134, allocations: 29.69 kB / 0.5842 GB, free: 1.004 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.879e-05/0.3134, allocations: 326 kB / 0.5845 GB, free: 0.6836 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001317/0.3135, allocations: 43.81 kB / 0.5846 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001295/0.3137, allocations: 55.66 kB / 0.5846 GB, free: 0.6445 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002467/0.3139, allocations: 108.8 kB / 0.5847 GB, free: 0.5938 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3139, allocations: 0.9062 kB / 0.5847 GB, free: 0.5938 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003096/0.3143, allocations: 137.9 kB / 0.5849 GB, free: 0.5312 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.139e-05/0.3143, allocations: 5.188 kB / 0.5849 GB, free: 0.5312 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.3143, allocations: 0.6562 kB / 0.5849 GB, free: 0.5312 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.578e-06/0.3143, allocations: 2.344 kB / 0.5849 GB, free: 0.5312 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001474/0.3145, allocations: 29.55 kB / 0.5849 GB, free: 0.5234 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.3145, allocations: 1.625 kB / 0.5849 GB, free: 0.5234 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001145/0.3146, allocations: 21.06 kB / 0.5849 GB, free: 0.5117 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.095e-05/0.3146, allocations: 6.719 kB / 0.5849 GB, free: 0.5078 MB / 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.395e-05/0.3147, allocations: 116 kB / 0.5851 GB, free: 400 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.767e-05/0.3147, allocations: 10.47 kB / 0.5851 GB, free: 396 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003662/0.3151, allocations: 163.7 kB / 0.5852 GB, free: 304 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.297e-06/0.3151, allocations: 1.516 kB / 0.5852 GB, free: 304 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.3151, allocations: 9.031 kB / 0.5852 GB, free: 296 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.3151, allocations: 5.203 kB / 0.5852 GB, free: 292 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002166/0.3153, allocations: 216.8 kB / 0.5854 GB, free: 76 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.3153, allocations: 1.406 kB / 0.5854 GB, free: 76 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001403/0.3155, allocations: 24.33 kB / 0.5855 GB, free: 72 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.3155, allocations: 0.75 kB / 0.5855 GB, free: 72 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.098e-05/0.3155, allocations: 10.25 kB / 0.5855 GB, free: 64 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.3155, allocations: 0.9062 kB / 0.5855 GB, free: 64 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3155, allocations: 1.25 kB / 0.5855 GB, free: 64 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003753/0.3159, allocations: 305.6 kB / 0.5858 GB, free: 15.82 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.556e-05/0.3159, allocations: 94.8 kB / 0.5859 GB, free: 15.72 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.448e-05/0.316, allocations: 5.625 kB / 0.5859 GB, free: 15.71 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001676/0.3162, allocations: 8.891 kB / 0.5859 GB, free: 15.71 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.705e-05/0.3162, allocations: 14.81 kB / 0.5859 GB, free: 15.71 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.955e-06/0.3162, allocations: 6.062 kB / 0.5859 GB, free: 15.7 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.385e-05/0.3163, allocations: 128.5 kB / 0.586 GB, free: 15.61 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3163, allocations: 0 / 0.586 GB, free: 15.61 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002704/0.3166, allocations: 33.25 kB / 0.586 GB, free: 15.61 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.0005905/0.3172, allocations: 0.8377 MB / 0.5869 GB, free: 14.84 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003054/0.3175, allocations: 107.8 kB / 0.587 GB, free: 14.8 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.3175, allocations: 0 / 0.587 GB, free: 14.8 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001481/0.3177, allocations: 56.67 kB / 0.587 GB, free: 14.79 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004158/0.3181, allocations: 44.64 kB / 0.5871 GB, free: 14.77 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002026/0.3201, allocations: 1.852 MB / 0.5889 GB, free: 13.26 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002414/0.3204, allocations: 0.7019 MB / 0.5896 GB, free: 12.57 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.139e-05/0.3205, allocations: 17.19 kB / 0.5896 GB, free: 12.56 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.93e-05/0.3206, allocations: 37.19 kB / 0.5896 GB, free: 12.54 MB / 446.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3206, allocations: 0 / 0.5896 GB, free: 12.54 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6137/0.9342, allocations: 3.3 MB / 0.5928 GB, free: 12.23 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002472/0.9345, allocations: 211.7 kB / 0.593 GB, free: 11.97 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.055/2.99, allocations: 3.25 kB / 0.593 GB, free: 11.97 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)