Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.548/2.548, allocations: 284.9 MB / 292.4 MB, free: 10.5 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001425/0.001425, allocations: 176.9 kB / 360.6 MB, free: 7.297 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.11/2.11, allocations: 205.2 MB / 0.6191 GB, free: 12.21 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001325/0.001325, allocations: 98.52 kB / 0.7321 GB, free: 44.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.228e-05/2.233e-05, allocations: 0 / 0.8508 GB, free: 3.355 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8104/0.8105, allocations: 115.3 MB / 0.9634 GB, free: 78.48 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2383/1.049, allocations: 137.7 MB / 1.098 GB, free: 2.734 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002855/1.049, allocations: 67.97 kB / 1.098 GB, free: 2.668 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.008419/1.058, allocations: 1.842 MB / 1.1 GB, free: 0.8789 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.453e-06/1.058, allocations: 4 kB / 1.1 GB, free: 0.875 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.106e-05/1.058, allocations: 4 kB / 1.1 GB, free: 0.8711 MB / 0.698 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.0008351/1.059, allocations: 423.3 kB / 1.1 GB, free: 424 kB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.536e-05/1.059, allocations: 12.03 kB / 1.1 GB, free: 412 kB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.346e-05/1.059, allocations: 15.89 kB / 1.1 GB, free: 396 kB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003121/1.059, allocations: 202.7 kB / 1.1 GB, free: 152 kB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.486e-05/1.059, allocations: 4 kB / 1.1 GB, free: 148 kB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.69e-05/1.059, allocations: 4 kB / 1.1 GB, free: 144 kB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002301/1.059, allocations: 60.22 kB / 1.1 GB, free: 88 kB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002677/1.06, allocations: 87.39 kB / 1.101 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/1.06, allocations: 1.219 kB / 1.101 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.937e-05/1.06, allocations: 0 / 1.101 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.696e-06/1.06, allocations: 8 kB / 1.101 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001026/1.061, allocations: 445.2 kB / 1.101 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003847/1.061, allocations: 109.3 kB / 1.101 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001293/1.061, allocations: 45.84 kB / 1.101 GB, free: 15.33 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 5.409e-05/1.061, allocations: 0.5625 kB / 1.101 GB, free: 15.33 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.028e-05/1.061, allocations: 34.56 kB / 1.101 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=9): time 2.464e-06/1.061, allocations: 4 kB / 1.101 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9): time 0.0003778/1.062, allocations: 101.5 kB / 1.101 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.063e-05/1.062, allocations: 77.11 kB / 1.101 GB, free: 15.08 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001818/1.062, allocations: 144.6 kB / 1.101 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.861e-05/1.062, allocations: 25.7 kB / 1.101 GB, free: 14.9 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001003/1.062, allocations: 108 kB / 1.102 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.687e-05/1.062, allocations: 25.72 kB / 1.102 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.045e-05/1.062, allocations: 0 / 1.102 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001645/1.062, allocations: 326.8 kB / 1.102 GB, free: 14.44 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.88e-05/1.063, allocations: 28 kB / 1.102 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001062/1.063, allocations: 41.7 kB / 1.102 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001002/1.063, allocations: 24 kB / 1.102 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/1.063, allocations: 0 / 1.102 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003081/1.063, allocations: 108.4 kB / 1.102 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.384e-05/1.063, allocations: 6.031 kB / 1.102 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/1.063, allocations: 3.938 kB / 1.102 GB, free: 14.22 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/1.063, allocations: 0 / 1.102 GB, free: 14.22 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003212/1.064, allocations: 39.97 kB / 1.102 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/1.064, allocations: 3.953 kB / 1.102 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002173/1.064, allocations: 11.98 kB / 1.102 GB, free: 14.17 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.06e-05/1.064, allocations: 4 kB / 1.102 GB, free: 14.16 MB / 0.7136 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 () * 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 9.985e-05/1.064, allocations: 112.6 kB / 1.102 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003048/1.064, allocations: 100 kB / 1.102 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.508e-05/1.064, allocations: 19.84 kB / 1.102 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003624/1.065, allocations: 116.7 kB / 1.103 GB, free: 13.81 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/1.065, allocations: 3.953 kB / 1.103 GB, free: 13.8 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/1.065, allocations: 0 / 1.103 GB, free: 13.8 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/1.065, allocations: 2.203 kB / 1.103 GB, free: 13.8 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003803/1.065, allocations: 194.1 kB / 1.103 GB, free: 13.58 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/1.065, allocations: 3.984 kB / 1.103 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003085/1.065, allocations: 31.92 kB / 1.103 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.156e-06/1.065, allocations: 4 kB / 1.103 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.488e-05/1.066, allocations: 0 / 1.103 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/1.066, allocations: 0 / 1.103 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/1.066, allocations: 0 / 1.103 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004096/1.066, allocations: 289 kB / 1.103 GB, free: 13.24 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.862e-05/1.066, allocations: 93 kB / 1.103 GB, free: 13.13 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.448e-05/1.066, allocations: 0 / 1.103 GB, free: 13.13 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003022/1.066, allocations: 14.67 kB / 1.103 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.77e-05/1.066, allocations: 11.95 kB / 1.103 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.556e-05/1.066, allocations: 4 kB / 1.103 GB, free: 13.1 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001298/1.067, allocations: 120.2 kB / 1.103 GB, free: 12.99 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.31e-07/1.067, allocations: 0 / 1.103 GB, free: 12.99 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003981/1.067, allocations: 31.84 kB / 1.103 GB, free: 12.96 MB / 0.7136 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 () * 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.0007629/1.068, allocations: 0.8798 MB / 1.104 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002689/1.068, allocations: 59.94 kB / 1.104 GB, free: 11.98 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/1.068, allocations: 0 / 1.104 GB, free: 11.98 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001237/1.068, allocations: 47.92 kB / 1.104 GB, free: 11.94 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005005/1.069, allocations: 31.94 kB / 1.104 GB, free: 11.91 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008155/1.07, allocations: 187.8 kB / 1.104 GB, free: 11.69 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003432/1.07, allocations: 0.7119 MB / 1.105 GB, free: 10.95 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001505/1.07, allocations: 12.5 kB / 1.105 GB, free: 10.95 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001171/1.07, allocations: 39.42 kB / 1.105 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of SimCode: time 1.062e-06/1.07, allocations: 0 / 1.105 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04253/1.113, allocations: 2.657 MB / 1.108 GB, free: 8.355 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003082/1.113, allocations: 156.2 kB / 1.108 GB, free: 8.168 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.563/3.676, allocations: 0 / 1.108 GB, free: 8.168 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.fmu > Buildings_8.0.0_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1)