Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.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.Example5,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Examples.Performance.Example5,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example5",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.001303/0.001303, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001044/0.001044, allocations: 195.1 kB / 16.53 MB, free: 6.391 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.236/1.236, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001935/0.001935, allocations: 278.9 kB / 290.7 MB, free: 2.012 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8494/0.8494, allocations: 169.3 MB / 0.4982 GB, free: 13.95 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001697/0.001697, allocations: 94.27 kB / 0.5953 GB, free: 27.89 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1632/0.165, allocations: 86.98 MB / 0.6803 GB, free: 0.5703 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.Example5): time 0.001888/0.1669, allocations: 0.5115 MB / 0.6808 GB, free: 72 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001976/0.1671, allocations: 53.61 kB / 0.6808 GB, free: 20 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.939e-05/0.1672, allocations: 3.938 kB / 0.6808 GB, free: 16 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 3.117e-05/0.1672, allocations: 0 / 0.6808 GB, free: 16 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001634/0.1674, allocations: 4 kB / 0.6808 GB, free: 12 kB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.921e-05/0.1675, allocations: 11.92 kB / 0.6809 GB, free: 0 / 478.1 MB Notification: Performance of NFFlatten.flatten: time 7.898e-05/0.1676, allocations: 10.89 kB / 0.6809 GB, free: 15.99 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.96e-05/0.1676, allocations: 7.984 kB / 0.6809 GB, free: 15.98 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.449e-05/0.1677, allocations: 0 / 0.6809 GB, free: 15.98 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.901e-05/0.1678, allocations: 11.88 kB / 0.6809 GB, free: 15.97 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.238e-05/0.1678, allocations: 7.938 kB / 0.6809 GB, free: 15.96 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.041e-05/0.1678, allocations: 0 / 0.6809 GB, free: 15.96 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.514e-05/0.1679, allocations: 0 / 0.6809 GB, free: 15.96 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.554e-05/0.1679, allocations: 16.55 kB / 0.6809 GB, free: 15.95 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 6.454e-05/0.168, allocations: 7.984 kB / 0.6809 GB, free: 15.94 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.168, allocations: 0.875 kB / 0.6809 GB, free: 15.94 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.168, allocations: 3.938 kB / 0.6809 GB, free: 15.94 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.883e-06/0.168, allocations: 0.5312 kB / 0.6809 GB, free: 15.94 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0005055/0.1685, allocations: 340.7 kB / 0.6812 GB, free: 15.55 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/0.1686, allocations: 8.031 kB / 0.6812 GB, free: 15.55 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.373e-05/0.1686, allocations: 35.75 kB / 0.6813 GB, free: 15.5 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.533e-05/0.1686, allocations: 0.9375 kB / 0.6813 GB, free: 15.5 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002231/0.1689, allocations: 176.3 kB / 0.6815 GB, free: 15.29 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.021e-06/0.1689, allocations: 4.375 kB / 0.6815 GB, free: 15.29 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.989e-05/0.1689, allocations: 384 / 0.6815 GB, free: 15.29 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.166e-05/0.169, allocations: 30.27 kB / 0.6815 GB, free: 15.25 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.169, allocations: 3.938 kB / 0.6815 GB, free: 15.25 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.835e-06/0.169, allocations: 0 / 0.6815 GB, free: 15.25 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.169, allocations: 0 / 0.6815 GB, free: 15.25 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.43e-05/0.169, allocations: 11.92 kB / 0.6815 GB, free: 15.24 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001833/0.1692, allocations: 153.7 kB / 0.6816 GB, free: 15.04 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.271e-05/0.1693, allocations: 26.58 kB / 0.6817 GB, free: 15 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.946e-05/0.1693, allocations: 4.859 kB / 0.6817 GB, free: 15 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.508e-05/0.1693, allocations: 64 / 0.6817 GB, free: 15 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.009e-05/0.1694, allocations: 34.56 kB / 0.6817 GB, free: 14.95 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 8.61e-07/0.1694, allocations: 0 / 0.6817 GB, free: 14.95 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001533/0.1695, allocations: 49.55 kB / 0.6818 GB, free: 14.9 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.538e-05/0.1696, allocations: 51.41 kB / 0.6818 GB, free: 14.84 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.562e-05/0.1697, allocations: 114 kB / 0.6819 GB, free: 14.71 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.656e-05/0.1697, allocations: 29.7 kB / 0.6819 GB, free: 14.68 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.013e-05/0.1698, allocations: 84.14 kB / 0.682 GB, free: 14.59 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.058e-05/0.1698, allocations: 0 / 0.682 GB, free: 14.59 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.152e-05/0.1698, allocations: 13.62 kB / 0.682 GB, free: 14.57 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001347/0.17, allocations: 322.8 kB / 0.6823 GB, free: 14.25 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.599e-05/0.17, allocations: 0 / 0.6823 GB, free: 14.25 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.626e-05/0.17, allocations: 17.72 kB / 0.6824 GB, free: 14.23 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.044e-05/0.1701, allocations: 29.64 kB / 0.6824 GB, free: 14.19 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.1701, allocations: 0 / 0.6824 GB, free: 14.19 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.784e-05/0.1702, allocations: 41.69 kB / 0.6824 GB, free: 14.14 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/0.1702, allocations: 11.94 kB / 0.6824 GB, free: 14.13 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.1702, allocations: 0 / 0.6824 GB, free: 14.13 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.1702, allocations: 0 / 0.6824 GB, free: 14.13 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.664e-05/0.1703, allocations: 12.31 kB / 0.6825 GB, free: 14.12 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/0.1703, allocations: 3.938 kB / 0.6825 GB, free: 14.12 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.629e-05/0.1704, allocations: 11.92 kB / 0.6825 GB, free: 14.11 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.376e-06/0.1704, allocations: 4 kB / 0.6825 GB, free: 14.1 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 7.579e-05/0.1704, allocations: 110.5 kB / 0.6826 GB, free: 13.98 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.213e-05/0.1705, allocations: 7.938 kB / 0.6826 GB, free: 13.98 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001191/0.1706, allocations: 45.22 kB / 0.6826 GB, free: 13.93 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.1706, allocations: 0 / 0.6826 GB, free: 13.93 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.1706, allocations: 8.031 kB / 0.6826 GB, free: 13.92 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.379e-05/0.1706, allocations: 3.984 kB / 0.6826 GB, free: 13.91 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001138/0.1707, allocations: 153.7 kB / 0.6828 GB, free: 13.71 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.1708, allocations: 0 / 0.6828 GB, free: 13.71 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.995e-05/0.1708, allocations: 4 kB / 0.6828 GB, free: 13.71 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.1708, allocations: 3.938 kB / 0.6828 GB, free: 13.71 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-06/0.1708, allocations: 0 / 0.6828 GB, free: 13.71 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.1708, allocations: 3.938 kB / 0.6828 GB, free: 13.7 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.1708, allocations: 0 / 0.6828 GB, free: 13.7 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001399/0.171, allocations: 89 kB / 0.6829 GB, free: 13.6 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.582e-05/0.171, allocations: 77.11 kB / 0.683 GB, free: 13.5 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.507e-05/0.1711, allocations: 3.938 kB / 0.683 GB, free: 13.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.1e-05/0.1711, allocations: 4.031 kB / 0.683 GB, free: 13.5 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.864e-05/0.1711, allocations: 3.984 kB / 0.683 GB, free: 13.49 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.356e-06/0.1711, allocations: 0 / 0.683 GB, free: 13.49 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.805e-05/0.1712, allocations: 87.28 kB / 0.683 GB, free: 13.41 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1712, allocations: 0 / 0.683 GB, free: 13.41 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001771/0.1714, allocations: 4.094 kB / 0.6831 GB, free: 13.4 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c) * 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.0003799/0.1718, allocations: 0.6163 MB / 0.6837 GB, free: 12.76 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 8.23e-05/0.1719, allocations: 11.98 kB / 0.6837 GB, free: 12.75 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.1719, allocations: 0 / 0.6837 GB, free: 12.75 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.729e-05/0.1719, allocations: 20.16 kB / 0.6837 GB, free: 12.73 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001359/0.172, allocations: 0 / 0.6837 GB, free: 12.73 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009967/0.173, allocations: 1.147 MB / 0.6848 GB, free: 11.49 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002657/0.1733, allocations: 0.6807 MB / 0.6855 GB, free: 10.79 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.731e-05/0.1733, allocations: 3.984 kB / 0.6855 GB, free: 10.78 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.497e-05/0.1734, allocations: 11.44 kB / 0.6855 GB, free: 10.77 MB / 494.1 MB Notification: Performance of SimCode: time 1.553e-06/0.1734, allocations: 7.938 kB / 0.6855 GB, free: 10.76 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03578/0.2092, allocations: 1.187 MB / 0.6867 GB, free: 9.652 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.143/7.352, allocations: 17.41 kB / 0.6867 GB, free: 9.641 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example5_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example5.fmu > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.pipe 2>&1)