Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_LinearPiecewiseTwo",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_LinearPiecewiseTwo",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.682/1.682, allocations: 288.2 MB / 303.2 MB, free: 8.145 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.001137/0.001137, allocations: 189 kB / 371.8 MB, free: 10.28 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.946/1.946, allocations: 205.4 MB / 0.6305 GB, free: 10.02 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001295/0.001294, allocations: 89.53 kB / 0.7439 GB, free: 5.965 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005962/0.0005961, allocations: 15.17 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3733/0.3739, allocations: 115.3 MB / 0.9795 GB, free: 27.6 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.246/1.62, allocations: 141.2 MB / 1.117 GB, free: 16.24 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002433/1.62, allocations: 98.64 kB / 1.117 GB, free: 16.24 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01354/1.634, allocations: 5.304 MB / 1.123 GB, free: 31.64 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.787e-06/1.634, allocations: 0 / 1.123 GB, free: 31.64 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.872e-05/1.634, allocations: 7.844 kB / 1.123 GB, free: 31.64 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.001181/1.635, allocations: 0.5826 MB / 1.123 GB, free: 31.16 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.36e-05/1.635, allocations: 7.688 kB / 1.123 GB, free: 31.16 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.632e-05/1.635, allocations: 41 kB / 1.123 GB, free: 31.11 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000112/1.635, allocations: 34.47 kB / 1.123 GB, free: 31.09 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008983/1.636, allocations: 425.9 kB / 1.124 GB, free: 30.86 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.171e-05/1.636, allocations: 6.562 kB / 1.124 GB, free: 30.86 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.322e-05/1.636, allocations: 7.188 kB / 1.124 GB, free: 30.86 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002367/1.636, allocations: 73.64 kB / 1.124 GB, free: 30.82 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/1.637, allocations: 0 / 1.124 GB, free: 30.82 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/1.637, allocations: 0 / 1.124 GB, free: 30.82 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.327e-06/1.637, allocations: 0 / 1.124 GB, free: 30.82 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000145/1.637, allocations: 61.73 kB / 1.124 GB, free: 30.82 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009536/1.638, allocations: 0.4974 MB / 1.124 GB, free: 30.54 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001394/1.638, allocations: 55.28 kB / 1.124 GB, free: 30.5 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.944e-05/1.638, allocations: 3.938 kB / 1.124 GB, free: 30.5 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.866e-05/1.638, allocations: 30.84 kB / 1.124 GB, free: 30.46 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.153e-06/1.638, allocations: 0 / 1.124 GB, free: 30.46 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0003814/1.638, allocations: 104.3 kB / 1.124 GB, free: 30.42 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.204e-05/1.638, allocations: 59.34 kB / 1.125 GB, free: 30.35 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006859/1.639, allocations: 0.5073 MB / 1.125 GB, free: 30.23 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.803e-05/1.639, allocations: 25.7 kB / 1.125 GB, free: 30.2 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001408/1.639, allocations: 168.5 kB / 1.125 GB, free: 30.12 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.399e-05/1.639, allocations: 7.844 kB / 1.125 GB, free: 30.11 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.352e-06/1.639, allocations: 7.812 kB / 1.125 GB, free: 30.11 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002282/1.64, allocations: 346.6 kB / 1.126 GB, free: 29.79 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.615e-05/1.64, allocations: 14.44 kB / 1.126 GB, free: 29.79 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.923e-05/1.64, allocations: 18.3 kB / 1.126 GB, free: 29.79 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.551e-05/1.64, allocations: 14.16 kB / 1.126 GB, free: 29.79 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/1.64, allocations: 0 / 1.126 GB, free: 29.79 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001983/1.64, allocations: 91.67 kB / 1.126 GB, free: 29.74 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.723e-05/1.64, allocations: 9.25 kB / 1.126 GB, free: 29.74 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/1.64, allocations: 0 / 1.126 GB, free: 29.74 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.196e-05/1.64, allocations: 4 kB / 1.126 GB, free: 29.73 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.973e-05/1.64, allocations: 14.25 kB / 1.126 GB, free: 29.73 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/1.64, allocations: 0 / 1.126 GB, free: 29.73 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.081e-05/1.64, allocations: 7.562 kB / 1.126 GB, free: 29.73 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.002e-05/1.64, allocations: 2.859 kB / 1.126 GB, free: 29.73 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 3 * 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.0002303/1.64, allocations: 179.4 kB / 1.126 GB, free: 29.61 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.923e-05/1.641, allocations: 30.91 kB / 1.126 GB, free: 29.6 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002615/1.641, allocations: 111.1 kB / 1.126 GB, free: 29.55 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/1.641, allocations: 3.938 kB / 1.126 GB, free: 29.55 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.345e-06/1.641, allocations: 3.953 kB / 1.126 GB, free: 29.54 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/1.641, allocations: 2.297 kB / 1.126 GB, free: 29.54 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003369/1.641, allocations: 302.5 kB / 1.126 GB, free: 29.36 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/1.641, allocations: 0 / 1.126 GB, free: 29.36 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.955e-05/1.641, allocations: 6.719 kB / 1.126 GB, free: 29.36 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/1.641, allocations: 3.875 kB / 1.126 GB, free: 29.36 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.033e-05/1.641, allocations: 0 / 1.126 GB, free: 29.36 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/1.641, allocations: 4 kB / 1.126 GB, free: 29.35 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/1.641, allocations: 0 / 1.126 GB, free: 29.35 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002689/1.642, allocations: 202.2 kB / 1.127 GB, free: 29.2 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001756/1.642, allocations: 130.7 kB / 1.127 GB, free: 29.09 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.619e-05/1.642, allocations: 0 / 1.127 GB, free: 29.09 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.99e-05/1.642, allocations: 11.91 kB / 1.127 GB, free: 29.08 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.864e-05/1.642, allocations: 10.73 kB / 1.127 GB, free: 29.07 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.819e-06/1.642, allocations: 0 / 1.127 GB, free: 29.07 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005023/1.643, allocations: 408.2 kB / 1.127 GB, free: 28.99 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.01e-07/1.643, allocations: 0 / 1.127 GB, free: 28.99 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003181/1.643, allocations: 42.83 kB / 1.127 GB, free: 28.98 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 3 * 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.00161/1.644, allocations: 0.9812 MB / 1.128 GB, free: 28.21 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001723/1.645, allocations: 41.92 kB / 1.128 GB, free: 28.21 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/1.645, allocations: 0 / 1.128 GB, free: 28.21 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 5.276e-05/1.645, allocations: 18.25 kB / 1.128 GB, free: 28.21 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003521/1.645, allocations: 35.41 kB / 1.128 GB, free: 28.21 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003041/1.648, allocations: 1.9 MB / 1.13 GB, free: 27.62 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005471/1.649, allocations: 0.7906 MB / 1.131 GB, free: 26.93 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001421/1.649, allocations: 54.88 kB / 1.131 GB, free: 26.92 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001516/1.649, allocations: 86.28 kB / 1.131 GB, free: 26.91 MB / 0.698 GB Notification: Performance of SimCode: time 3.2e-07/1.649, allocations: 0 / 1.131 GB, free: 26.91 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02274/1.672, allocations: 5.661 MB / 1.136 GB, free: 24.85 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000255/1.672, allocations: 259.6 kB / 1.137 GB, free: 24.5 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.225/3.897, allocations: 3.938 kB / 1.137 GB, free: 24.49 MB / 0.698 GB (rm -f Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_LinearPiecewiseTwo_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_LinearPiecewiseTwo.fmu > Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe 2>&1)