Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.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.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU,fileNamePrefix="Buildings_8_0_0_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 1.489/1.489, allocations: 287.4 MB / 302.6 MB, free: 8.234 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.0009394/0.0009394, allocations: 181.4 kB / 371.1 MB, free: 10.82 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.198/1.198, allocations: 205.4 MB / 0.6298 GB, free: 10.56 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.0007092/0.0007092, allocations: 92.16 kB / 0.7431 GB, free: 6.562 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.00033/0.0003301, allocations: 15.84 kB / 0.8662 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1559/0.1562, allocations: 115.3 MB / 0.9787 GB, free: 28.09 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU): time 0.001148/0.1574, allocations: 1.148 MB / 0.9799 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0004773/0.1579, allocations: 396.3 kB / 0.9802 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.636e-05/0.158, allocations: 4 kB / 0.9802 GB, free: 26.53 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.368e-05/0.158, allocations: 7.922 kB / 0.9803 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.42e-05/0.158, allocations: 0 / 0.9803 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001229/0.1582, allocations: 8 kB / 0.9803 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.027e-05/0.1582, allocations: 27.86 kB / 0.9803 GB, free: 26.49 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 7.734e-05/0.1583, allocations: 12 kB / 0.9803 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.447e-05/0.1584, allocations: 7.984 kB / 0.9803 GB, free: 26.47 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.804e-05/0.1585, allocations: 11.92 kB / 0.9803 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.243e-05/0.1585, allocations: 0 / 0.9803 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.937e-06/0.1585, allocations: 4 kB / 0.9803 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.002e-05/0.1585, allocations: 4 kB / 0.9803 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.588e-05/0.1585, allocations: 29.64 kB / 0.9804 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 4.376e-05/0.1586, allocations: 11.97 kB / 0.9804 GB, free: 26.4 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.309e-06/0.1586, allocations: 4 kB / 0.9804 GB, free: 26.4 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.183e-06/0.1586, allocations: 0 / 0.9804 GB, free: 26.4 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.707e-06/0.1586, allocations: 0 / 0.9804 GB, free: 26.4 MB / 0.6198 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.0002639/0.1589, allocations: 339.7 kB / 0.9807 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.1589, allocations: 16.02 kB / 0.9807 GB, free: 26 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.625e-05/0.1589, allocations: 34.75 kB / 0.9807 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.993e-05/0.159, allocations: 4.875 kB / 0.9807 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.219e-05/0.159, allocations: 168.3 kB / 0.9809 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.015e-05/0.1591, allocations: 384 / 0.9809 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.103e-06/0.1591, allocations: 8.375 kB / 0.9809 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001056/0.1592, allocations: 45.81 kB / 0.981 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.1592, allocations: 0 / 0.981 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.252e-06/0.1592, allocations: 3.938 kB / 0.981 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.593e-06/0.1592, allocations: 0 / 0.981 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.193e-05/0.1593, allocations: 23.98 kB / 0.981 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002301/0.1595, allocations: 256.9 kB / 0.9812 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.743e-05/0.1596, allocations: 26.58 kB / 0.9813 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.467e-05/0.1597, allocations: 20.91 kB / 0.9813 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.18e-05/0.1597, allocations: 0 / 0.9813 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.999e-06/0.1597, allocations: 38.5 kB / 0.9813 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 7.12e-07/0.1597, allocations: 4 kB / 0.9813 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0001878/0.1599, allocations: 65.67 kB / 0.9814 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.989e-05/0.1599, allocations: 51.41 kB / 0.9814 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.502e-05/0.16, allocations: 105.8 kB / 0.9815 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.352e-06/0.16, allocations: 29.83 kB / 0.9816 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.373e-05/0.16, allocations: 84.08 kB / 0.9816 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.282e-05/0.16, allocations: 11.91 kB / 0.9817 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.415e-06/0.16, allocations: 0 / 0.9817 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.567e-05/0.1601, allocations: 314.8 kB / 0.982 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.61e-05/0.1601, allocations: 15.98 kB / 0.982 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.849e-05/0.1602, allocations: 4 kB / 0.982 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.278e-05/0.1602, allocations: 36.84 kB / 0.982 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.1602, allocations: 0 / 0.982 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.386e-05/0.1603, allocations: 61.58 kB / 0.9821 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/0.1604, allocations: 4 kB / 0.9821 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.536e-06/0.1604, allocations: 4 kB / 0.9821 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.09e-05/0.1604, allocations: 4.031 kB / 0.9821 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.22e-05/0.1605, allocations: 4 kB / 0.9821 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.1605, allocations: 0 / 0.9821 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.985e-05/0.1605, allocations: 11.92 kB / 0.9821 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.629e-06/0.1605, allocations: 0 / 0.9821 GB, free: 24.41 MB / 0.6198 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 (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 4.012e-05/0.1606, allocations: 113.8 kB / 0.9822 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.141e-05/0.1606, allocations: 4 kB / 0.9822 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.533e-05/0.1606, allocations: 7.469 kB / 0.9822 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.1606, allocations: 7.984 kB / 0.9822 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.1606, allocations: 0 / 0.9822 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.793e-06/0.1606, allocations: 0 / 0.9822 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.577e-05/0.1607, allocations: 165.6 kB / 0.9824 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.1607, allocations: 3.938 kB / 0.9824 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.931e-05/0.1608, allocations: 4 kB / 0.9824 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.1608, allocations: 0 / 0.9824 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.561e-06/0.1608, allocations: 256 / 0.9824 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1608, allocations: 4 kB / 0.9824 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1608, allocations: 4 kB / 0.9824 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001148/0.1609, allocations: 159.5 kB / 0.9825 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.516e-05/0.1609, allocations: 81.02 kB / 0.9826 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.087e-05/0.161, allocations: 0 / 0.9826 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.302e-05/0.161, allocations: 4 kB / 0.9826 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.775e-05/0.1611, allocations: 3.984 kB / 0.9826 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.026e-06/0.1611, allocations: 4.031 kB / 0.9826 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.335e-05/0.1611, allocations: 87.22 kB / 0.9827 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1611, allocations: 0 / 0.9827 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001752/0.1613, allocations: 4 kB / 0.9827 GB, free: 23.67 MB / 0.6198 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 (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.0002642/0.1615, allocations: 0.6851 MB / 0.9834 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 9.977e-05/0.1617, allocations: 27.98 kB / 0.9834 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.1617, allocations: 0 / 0.9834 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.807e-05/0.1617, allocations: 15.92 kB / 0.9834 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001775/0.1619, allocations: 4.156 kB / 0.9834 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003301/0.1622, allocations: 158.2 kB / 0.9836 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.832e-05/0.1623, allocations: 0.6809 MB / 0.9842 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.229e-05/0.1624, allocations: 0 / 0.9842 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.69e-05/0.1624, allocations: 7.438 kB / 0.9843 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of SimCode: time 2.2e-07/0.1624, allocations: 0 / 0.9843 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.421/0.5834, allocations: 0.9881 MB / 0.9852 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001492/0.5836, allocations: 205.2 kB / 0.9854 GB, free: 20.96 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.976/2.56, allocations: 4 kB / 0.9854 GB, free: 20.96 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; mkfifo Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe >> ../files/Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU.fmu > Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe 2>&1)