Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Examples.Performance.Example8,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Examples.Performance.Example8,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example8",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.001119/0.001119, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001112/0.001112, allocations: 191.8 kB / 16.14 MB, free: 6.707 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.197/1.197, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001967/0.001967, allocations: 275.2 kB / 290.2 MB, free: 2.234 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8678/0.8678, allocations: 169.2 MB / 0.4977 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001578/0.001578, allocations: 94.03 kB / 0.5946 GB, free: 28.4 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1618/0.1634, allocations: 86.98 MB / 0.6795 GB, free: 1.047 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.Example8): time 0.001817/0.1652, allocations: 0.5682 MB / 0.6801 GB, free: 500 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001218/0.1654, allocations: 21.53 kB / 0.6801 GB, free: 480 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.418e-05/0.1654, allocations: 0 / 0.6801 GB, free: 480 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 1.545e-05/0.1654, allocations: 0 / 0.6801 GB, free: 480 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001412/0.1656, allocations: 4 kB / 0.6801 GB, free: 476 kB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.575e-06/0.1656, allocations: 0 / 0.6801 GB, free: 476 kB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 4.46e-05/0.1657, allocations: 4.531 kB / 0.6801 GB, free: 472 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.639e-05/0.1657, allocations: 4.719 kB / 0.6801 GB, free: 468 kB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.88e-05/0.1657, allocations: 3.938 kB / 0.6801 GB, free: 464 kB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.923e-05/0.1658, allocations: 12.8 kB / 0.6801 GB, free: 452 kB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.158e-05/0.1658, allocations: 0 / 0.6801 GB, free: 452 kB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.173e-06/0.1658, allocations: 0.625 kB / 0.6801 GB, free: 452 kB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 9.789e-06/0.1658, allocations: 0 / 0.6801 GB, free: 452 kB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 1.93e-05/0.1659, allocations: 5.453 kB / 0.6802 GB, free: 448 kB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 4.098e-05/0.1659, allocations: 4 kB / 0.6802 GB, free: 444 kB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.1659, allocations: 0 / 0.6802 GB, free: 444 kB / 478.1 MB Notification: Performance of FrontEnd: time 2.175e-06/0.1659, allocations: 7.938 kB / 0.6802 GB, free: 436 kB / 478.1 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.1659, allocations: 0.5938 kB / 0.6802 GB, free: 436 kB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002842/0.1662, allocations: 315.8 kB / 0.6805 GB, free: 68 kB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.1663, allocations: 8.031 kB / 0.6805 GB, free: 60 kB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.441e-05/0.1663, allocations: 38.73 kB / 0.6805 GB, free: 12 kB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.068e-05/0.1663, allocations: 0.9375 kB / 0.6805 GB, free: 12 kB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001222/0.1665, allocations: 164.3 kB / 0.6807 GB, free: 15.81 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.865e-06/0.1665, allocations: 4.375 kB / 0.6807 GB, free: 15.81 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.668e-06/0.1665, allocations: 384 / 0.6807 GB, free: 15.81 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000102/0.1666, allocations: 47.92 kB / 0.6807 GB, free: 15.75 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.1666, allocations: 3.938 kB / 0.6807 GB, free: 15.75 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.284e-06/0.1666, allocations: 0 / 0.6807 GB, free: 15.75 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.1666, allocations: 0 / 0.6807 GB, free: 15.75 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.594e-05/0.1667, allocations: 11.98 kB / 0.6807 GB, free: 15.73 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000149/0.1668, allocations: 150.5 kB / 0.6809 GB, free: 15.54 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.283e-05/0.1669, allocations: 45.16 kB / 0.6809 GB, free: 15.47 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.26e-05/0.1669, allocations: 21.83 kB / 0.6809 GB, free: 15.45 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.077e-05/0.1669, allocations: 0 / 0.6809 GB, free: 15.45 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.311e-05/0.167, allocations: 34.5 kB / 0.681 GB, free: 15.4 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 8.21e-07/0.167, allocations: 0 / 0.681 GB, free: 15.4 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001404/0.1671, allocations: 45.64 kB / 0.681 GB, free: 15.35 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.848e-05/0.1672, allocations: 81.3 kB / 0.6811 GB, free: 15.25 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.501e-05/0.1672, allocations: 97.84 kB / 0.6812 GB, free: 15.15 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.091e-05/0.1673, allocations: 25.7 kB / 0.6812 GB, free: 15.12 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.638e-05/0.1673, allocations: 88.14 kB / 0.6813 GB, free: 15.03 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.645e-05/0.1673, allocations: 7.891 kB / 0.6813 GB, free: 15.02 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.365e-05/0.1674, allocations: 9.719 kB / 0.6813 GB, free: 15 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001048/0.1675, allocations: 314.8 kB / 0.6816 GB, free: 14.69 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.738e-06/0.1675, allocations: 0 / 0.6816 GB, free: 14.69 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.095e-05/0.1675, allocations: 25.83 kB / 0.6816 GB, free: 14.66 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.681e-05/0.1675, allocations: 13.72 kB / 0.6816 GB, free: 14.64 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.1676, allocations: 0 / 0.6816 GB, free: 14.64 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.815e-05/0.1676, allocations: 41.64 kB / 0.6817 GB, free: 14.59 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.1676, allocations: 11.94 kB / 0.6817 GB, free: 14.58 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.1676, allocations: 0 / 0.6817 GB, free: 14.58 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/0.1677, allocations: 4.125 kB / 0.6817 GB, free: 14.57 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.674e-05/0.1677, allocations: 11.92 kB / 0.6817 GB, free: 14.56 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.1677, allocations: 0 / 0.6817 GB, free: 14.56 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.574e-05/0.1678, allocations: 0 / 0.6817 GB, free: 14.56 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.26e-06/0.1678, allocations: 0 / 0.6817 GB, free: 14.56 MB / 494.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 (2): * Single equations (assignments): 2 * 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 6.33e-05/0.1678, allocations: 113.8 kB / 0.6818 GB, free: 14.44 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.043e-05/0.1679, allocations: 7.844 kB / 0.6818 GB, free: 14.43 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000107/0.168, allocations: 52.75 kB / 0.6819 GB, free: 14.38 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.168, allocations: 4 kB / 0.6819 GB, free: 14.37 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.168, allocations: 3.938 kB / 0.6819 GB, free: 14.37 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.168, allocations: 0 / 0.6819 GB, free: 14.37 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.229e-05/0.1681, allocations: 149.7 kB / 0.682 GB, free: 14.17 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1681, allocations: 4 kB / 0.682 GB, free: 14.17 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.906e-05/0.1681, allocations: 0 / 0.682 GB, free: 14.17 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.881e-06/0.1681, allocations: 11.92 kB / 0.682 GB, free: 14.16 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.19e-06/0.1681, allocations: 0 / 0.682 GB, free: 14.16 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.1682, allocations: 0 / 0.682 GB, free: 14.16 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1682, allocations: 0 / 0.682 GB, free: 14.16 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.084e-05/0.1682, allocations: 74.05 kB / 0.6821 GB, free: 14.06 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.521e-05/0.1683, allocations: 77.11 kB / 0.6822 GB, free: 13.97 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.098e-05/0.1683, allocations: 3.938 kB / 0.6822 GB, free: 13.96 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.63e-05/0.1683, allocations: 0 / 0.6822 GB, free: 13.96 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.892e-05/0.1683, allocations: 11.92 kB / 0.6822 GB, free: 13.95 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.495e-06/0.1684, allocations: 0 / 0.6822 GB, free: 13.95 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.677e-05/0.1684, allocations: 79.31 kB / 0.6823 GB, free: 13.88 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1684, allocations: 0 / 0.6823 GB, free: 13.88 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001751/0.1686, allocations: 8 kB / 0.6823 GB, free: 13.87 MB / 494.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 (2): * Single equations (assignments): 2 * 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.0003315/0.1689, allocations: 0.6023 MB / 0.6829 GB, free: 13.23 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 6.37e-05/0.169, allocations: 7.938 kB / 0.6829 GB, free: 13.22 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.169, allocations: 0 / 0.6829 GB, free: 13.22 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.824e-05/0.169, allocations: 8 kB / 0.6829 GB, free: 13.21 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001303/0.1692, allocations: 6.109 kB / 0.6829 GB, free: 13.21 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002766/0.1694, allocations: 125.4 kB / 0.683 GB, free: 13.04 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002533/0.1697, allocations: 0.6848 MB / 0.6837 GB, free: 12.33 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.741e-05/0.1697, allocations: 0 / 0.6837 GB, free: 12.33 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.976e-05/0.1698, allocations: 7.438 kB / 0.6837 GB, free: 12.33 MB / 494.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1698, allocations: 4 kB / 0.6837 GB, free: 12.32 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0145/0.1843, allocations: 0.8035 MB / 0.6845 GB, free: 11.62 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001885/0.1845, allocations: 210.8 kB / 0.6847 GB, free: 11.36 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.143/2.328, allocations: 4 kB / 0.6847 GB, free: 11.36 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example8_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example8.fmu > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.pipe 2>&1)