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.KMinusU.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.KMinusU,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU",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.62/1.62, allocations: 285.6 MB / 293.1 MB, free: 10.2 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.001326/0.001326, allocations: 172.9 kB / 361.4 MB, free: 6.793 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.803/1.803, allocations: 205.3 MB / 0.62 GB, free: 11.62 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.0008666/0.0008663, allocations: 89.12 kB / 0.733 GB, free: 44.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.768e-05/2.77e-05, allocations: 4 kB / 0.8518 GB, free: 2.625 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8199/0.82, allocations: 115.3 MB / 0.9645 GB, free: 79.07 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2109/1.031, allocations: 138 MB / 1.099 GB, free: 1.746 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002812/1.031, allocations: 93.41 kB / 1.099 GB, free: 1.656 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.002308/1.034, allocations: 0.8331 MB / 1.1 GB, free: 0.8359 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.522e-06/1.034, allocations: 0.6875 kB / 1.1 GB, free: 0.8359 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.686e-06/1.034, allocations: 4 kB / 1.1 GB, free: 0.832 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003122/1.034, allocations: 323.9 kB / 1.1 GB, free: 488 kB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.88e-05/1.034, allocations: 8.031 kB / 1.1 GB, free: 480 kB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.661e-05/1.034, allocations: 4.938 kB / 1.1 GB, free: 476 kB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001288/1.034, allocations: 186.9 kB / 1.101 GB, free: 248 kB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.536e-05/1.034, allocations: 4.406 kB / 1.101 GB, free: 248 kB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.337e-05/1.034, allocations: 3.453 kB / 1.101 GB, free: 248 kB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.907e-05/1.034, allocations: 8.719 kB / 1.101 GB, free: 240 kB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.683e-05/1.034, allocations: 39.47 kB / 1.101 GB, free: 196 kB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/1.034, allocations: 1.438 kB / 1.101 GB, free: 196 kB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/1.034, allocations: 0 / 1.101 GB, free: 196 kB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/1.034, allocations: 0 / 1.101 GB, free: 196 kB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003717/1.035, allocations: 230.6 kB / 1.101 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.268e-05/1.035, allocations: 31.92 kB / 1.101 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.106e-05/1.035, allocations: 13.73 kB / 1.101 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.438e-05/1.035, allocations: 0 / 1.101 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.323e-05/1.035, allocations: 35.84 kB / 1.101 GB, free: 15.83 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/1.035, allocations: 0 / 1.101 GB, free: 15.83 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001421/1.035, allocations: 38.33 kB / 1.101 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.13e-05/1.035, allocations: 51.91 kB / 1.101 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.031e-05/1.035, allocations: 98.52 kB / 1.101 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.241e-05/1.035, allocations: 26.27 kB / 1.101 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.062e-05/1.035, allocations: 92.77 kB / 1.101 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.276e-05/1.035, allocations: 0 / 1.101 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.046e-06/1.035, allocations: 0.6875 kB / 1.101 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001042/1.035, allocations: 315.7 kB / 1.102 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.739e-05/1.036, allocations: 8 kB / 1.102 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.047e-05/1.036, allocations: 8.5 kB / 1.102 GB, free: 15.17 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.797e-05/1.036, allocations: 4.547 kB / 1.102 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/1.036, allocations: 4.594 kB / 1.102 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.386e-05/1.036, allocations: 45.17 kB / 1.102 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/1.036, allocations: 4.625 kB / 1.102 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.281e-06/1.036, allocations: 0.5312 kB / 1.102 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/1.036, allocations: 4.453 kB / 1.102 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.768e-05/1.036, allocations: 12.98 kB / 1.102 GB, free: 15.1 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.028e-06/1.036, allocations: 0 / 1.102 GB, free: 15.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.315e-05/1.036, allocations: 4.594 kB / 1.102 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.17e-06/1.036, allocations: 0 / 1.102 GB, free: 15.09 MB / 0.7136 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 7.942e-05/1.036, allocations: 106.5 kB / 1.102 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.005e-05/1.036, allocations: 45.62 kB / 1.102 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.023e-05/1.036, allocations: 4.875 kB / 1.102 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.796e-05/1.036, allocations: 10.83 kB / 1.102 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/1.036, allocations: 1.594 kB / 1.102 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.177e-06/1.036, allocations: 0 / 1.102 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/1.036, allocations: 2.938 kB / 1.102 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001417/1.036, allocations: 146.1 kB / 1.102 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/1.036, allocations: 5.203 kB / 1.102 GB, free: 14.74 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.107e-05/1.036, allocations: 4 kB / 1.102 GB, free: 14.74 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/1.036, allocations: 0 / 1.102 GB, free: 14.74 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-06/1.036, allocations: 160 / 1.102 GB, free: 14.74 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/1.036, allocations: 4 kB / 1.102 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/1.036, allocations: 0 / 1.102 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001031/1.036, allocations: 139.5 kB / 1.102 GB, free: 14.58 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.636e-05/1.036, allocations: 77.11 kB / 1.102 GB, free: 14.49 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.501e-05/1.037, allocations: 4 kB / 1.102 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.998e-05/1.037, allocations: 0 / 1.102 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.644e-05/1.037, allocations: 15.95 kB / 1.102 GB, free: 14.47 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-06/1.037, allocations: 0 / 1.102 GB, free: 14.47 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.737e-05/1.037, allocations: 83.28 kB / 1.102 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/1.037, allocations: 0 / 1.102 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001988/1.037, allocations: 4 kB / 1.102 GB, free: 14.38 MB / 0.7136 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0003819/1.037, allocations: 0.6797 MB / 1.103 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.35e-05/1.037, allocations: 12.84 kB / 1.103 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/1.037, allocations: 0 / 1.103 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.169e-05/1.037, allocations: 11.94 kB / 1.103 GB, free: 13.65 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001397/1.038, allocations: 0 / 1.103 GB, free: 13.65 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003317/1.038, allocations: 101.2 kB / 1.103 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002211/1.038, allocations: 0.6768 MB / 1.104 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.721e-05/1.038, allocations: 8.125 kB / 1.104 GB, free: 12.81 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.255e-05/1.038, allocations: 10.34 kB / 1.104 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of SimCode: time 2.61e-07/1.038, allocations: 0 / 1.104 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0198/1.058, allocations: 0.6558 MB / 1.104 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002291/1.058, allocations: 173.6 kB / 1.105 GB, free: 11.99 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.489/2.548, allocations: 4 kB / 1.105 GB, free: 11.98 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU.fmu > Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe 2>&1)