Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="IBPSA_latest_IBPSA_Controls_SetPoints_Examples_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="IBPSA_latest_IBPSA_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.001207/0.001207, allocations: 106.5 kB / 15.99 MB, free: 6.355 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.00119/0.00119, allocations: 191.3 kB / 16.91 MB, free: 6.195 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.156/1.156, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6181/0.6181, allocations: 115.3 MB / 406.1 MB, free: 6.375 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001176/0.001176, allocations: 75.88 kB / 493.2 MB, free: 0.6289 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2813/0.2825, allocations: 76.16 MB / 0.556 GB, free: 36.22 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.002287/0.2848, allocations: 1.867 MB / 0.5578 GB, free: 34.93 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002378/0.2851, allocations: 120.1 kB / 0.5579 GB, free: 34.85 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.885e-05/0.2851, allocations: 1.281 kB / 0.5579 GB, free: 34.85 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 9.182e-05/0.2852, allocations: 17.69 kB / 0.558 GB, free: 34.84 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.863e-05/0.2853, allocations: 43.88 kB / 0.558 GB, free: 34.81 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001006/0.2854, allocations: 29.06 kB / 0.558 GB, free: 34.79 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001568/0.2856, allocations: 170.9 kB / 0.5582 GB, free: 34.71 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.703e-05/0.2857, allocations: 31.41 kB / 0.5582 GB, free: 34.7 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.308e-05/0.2858, allocations: 56.86 kB / 0.5583 GB, free: 34.68 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.961e-05/0.2859, allocations: 62.94 kB / 0.5583 GB, free: 34.65 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.533e-05/0.2859, allocations: 12.81 kB / 0.5584 GB, free: 34.65 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.561e-05/0.2859, allocations: 10.62 kB / 0.5584 GB, free: 34.65 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.223e-05/0.286, allocations: 28.86 kB / 0.5584 GB, free: 34.63 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.275e-05/0.286, allocations: 61.14 kB / 0.5584 GB, free: 34.6 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001256/0.2862, allocations: 129.2 kB / 0.5586 GB, free: 34.55 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.2862, allocations: 0 / 0.5586 GB, free: 34.55 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.2862, allocations: 0 / 0.5586 GB, free: 34.55 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.2862, allocations: 1.281 kB / 0.5586 GB, free: 34.55 MB / 446.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.0005929/0.2868, allocations: 446.6 kB / 0.559 GB, free: 34.14 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.307e-05/0.2868, allocations: 9.281 kB / 0.559 GB, free: 34.14 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.873e-05/0.2868, allocations: 44.25 kB / 0.5591 GB, free: 34.1 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.473e-05/0.2869, allocations: 11.34 kB / 0.5591 GB, free: 34.09 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001419/0.287, allocations: 210.3 kB / 0.5593 GB, free: 33.87 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.006e-05/0.2871, allocations: 8.594 kB / 0.5593 GB, free: 33.87 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.622e-05/0.2871, allocations: 4.844 kB / 0.5593 GB, free: 33.87 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002323/0.2873, allocations: 117.9 kB / 0.5594 GB, free: 33.8 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.2873, allocations: 7.875 kB / 0.5594 GB, free: 33.79 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/0.2873, allocations: 5.312 kB / 0.5594 GB, free: 33.79 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.2874, allocations: 2.594 kB / 0.5594 GB, free: 33.79 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002567/0.2876, allocations: 98.75 kB / 0.5595 GB, free: 33.76 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005522/0.2882, allocations: 478.9 kB / 0.56 GB, free: 33.35 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000314/0.2885, allocations: 125.5 kB / 0.5601 GB, free: 33.27 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001387/0.2886, allocations: 64.73 kB / 0.5601 GB, free: 33.24 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.727e-05/0.2887, allocations: 1.875 kB / 0.5601 GB, free: 33.24 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.22e-05/0.2887, allocations: 41.86 kB / 0.5602 GB, free: 33.2 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.203e-06/0.2887, allocations: 0 / 0.5602 GB, free: 33.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004905/0.2892, allocations: 176.3 kB / 0.5603 GB, free: 33.12 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.089e-05/0.2892, allocations: 80.19 kB / 0.5604 GB, free: 33.03 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001118/0.2893, allocations: 171.5 kB / 0.5606 GB, free: 32.91 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.085e-05/0.2894, allocations: 27.83 kB / 0.5606 GB, free: 32.88 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.799e-05/0.2894, allocations: 105.3 kB / 0.5607 GB, free: 32.78 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.066e-05/0.2894, allocations: 34.48 kB / 0.5607 GB, free: 32.75 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.221e-05/0.2895, allocations: 21.14 kB / 0.5608 GB, free: 32.73 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.871e-05/0.2895, allocations: 331.8 kB / 0.5611 GB, free: 32.41 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001323/0.2897, allocations: 46.81 kB / 0.5611 GB, free: 32.39 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001247/0.2898, allocations: 59.91 kB / 0.5612 GB, free: 32.36 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002377/0.29, allocations: 104.7 kB / 0.5613 GB, free: 32.32 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.29, allocations: 1.609 kB / 0.5613 GB, free: 32.32 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003015/0.2904, allocations: 146.2 kB / 0.5614 GB, free: 32.25 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.2904, allocations: 7.266 kB / 0.5614 GB, free: 32.25 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.2904, allocations: 0 / 0.5614 GB, free: 32.25 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.119e-05/0.2904, allocations: 2.062 kB / 0.5614 GB, free: 32.25 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001513/0.2906, allocations: 23.22 kB / 0.5615 GB, free: 32.25 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.481e-06/0.2906, allocations: 2.906 kB / 0.5615 GB, free: 32.25 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000114/0.2907, allocations: 16.45 kB / 0.5615 GB, free: 32.24 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.998e-06/0.2907, allocations: 6.594 kB / 0.5615 GB, free: 32.23 MB / 446.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.569e-05/0.2908, allocations: 116.5 kB / 0.5616 GB, free: 32.12 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.872e-05/0.2908, allocations: 15.83 kB / 0.5616 GB, free: 32.11 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003575/0.2912, allocations: 156.7 kB / 0.5618 GB, free: 32.04 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.337e-06/0.2912, allocations: 3.688 kB / 0.5618 GB, free: 32.04 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.2912, allocations: 192 / 0.5618 GB, free: 32.04 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.2912, allocations: 6.938 kB / 0.5618 GB, free: 32.04 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000222/0.2914, allocations: 226.6 kB / 0.562 GB, free: 31.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.2914, allocations: 3.938 kB / 0.562 GB, free: 31.81 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001333/0.2916, allocations: 21.81 kB / 0.562 GB, free: 31.81 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.726e-06/0.2916, allocations: 1.312 kB / 0.562 GB, free: 31.81 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.103e-05/0.2916, allocations: 2.781 kB / 0.562 GB, free: 31.81 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.2916, allocations: 1.312 kB / 0.562 GB, free: 31.81 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.2916, allocations: 0.7031 kB / 0.562 GB, free: 31.81 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003095/0.2919, allocations: 317.9 kB / 0.5623 GB, free: 31.57 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.736e-05/0.292, allocations: 97.47 kB / 0.5624 GB, free: 31.46 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.508e-05/0.292, allocations: 2.016 kB / 0.5624 GB, free: 31.46 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000165/0.2922, allocations: 10.03 kB / 0.5624 GB, free: 31.46 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.367e-05/0.2922, allocations: 15.97 kB / 0.5624 GB, free: 31.45 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.666e-06/0.2922, allocations: 3.469 kB / 0.5624 GB, free: 31.45 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.879e-05/0.2923, allocations: 123 kB / 0.5626 GB, free: 31.36 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2923, allocations: 0.5 kB / 0.5626 GB, free: 31.36 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002704/0.2926, allocations: 33.78 kB / 0.5626 GB, free: 31.36 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.0004367/0.293, allocations: 0.8361 MB / 0.5634 GB, free: 30.59 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003044/0.2933, allocations: 109.2 kB / 0.5635 GB, free: 30.56 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2934, allocations: 5.875 kB / 0.5635 GB, free: 30.55 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001351/0.2935, allocations: 51.53 kB / 0.5636 GB, free: 30.54 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004063/0.2939, allocations: 51.61 kB / 0.5636 GB, free: 30.52 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001649/0.2956, allocations: 1.846 MB / 0.5654 GB, free: 29.02 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001061/0.2957, allocations: 0.709 MB / 0.5661 GB, free: 28.32 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 9.333e-05/0.2958, allocations: 12.33 kB / 0.5661 GB, free: 28.32 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.369e-05/0.2958, allocations: 36.8 kB / 0.5662 GB, free: 28.29 MB / 446.1 MB Notification: Performance of SimCode: time 7.11e-07/0.2959, allocations: 0.7812 kB / 0.5662 GB, free: 28.29 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.4/2.696, allocations: 3.435 MB / 0.5695 GB, free: 28 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002249/2.696, allocations: 221 kB / 0.5697 GB, free: 27.75 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.802/4.498, allocations: 2.953 kB / 0.5697 GB, free: 27.75 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/IBPSA_latest_IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_SetPoints_Examples_SupplyReturnTemperatureReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.fmu > IBPSA_latest_IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1)