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.005526/0.005526, allocations: 100 kB / 15.73 MB, free: 6.023 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.001011/0.001011, allocations: 187.7 kB / 16.67 MB, free: 5.961 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.264/1.264, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002158/0.002158, allocations: 278.4 kB / 290.8 MB, free: 1.93 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9472/0.9472, allocations: 169.3 MB / 0.4983 GB, free: 13.83 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001692/0.001692, allocations: 99.97 kB / 0.6809 GB, free: 48 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1621/0.1638, allocations: 86.99 MB / 0.7659 GB, free: 8.98 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.Example8): time 0.001659/0.1655, allocations: 0.5065 MB / 0.7664 GB, free: 8.477 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0001494/0.1657, allocations: 19.91 kB / 0.7664 GB, free: 8.457 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.111e-05/0.1657, allocations: 0 / 0.7664 GB, free: 8.457 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.754e-05/0.1658, allocations: 0 / 0.7664 GB, free: 8.457 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001649/0.166, allocations: 7.938 kB / 0.7664 GB, free: 8.449 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 4.037e-06/0.166, allocations: 3.938 kB / 0.7664 GB, free: 8.445 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 5.636e-05/0.166, allocations: 4 kB / 0.7664 GB, free: 8.441 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.906e-05/0.1661, allocations: 0 / 0.7664 GB, free: 8.441 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.079e-05/0.1661, allocations: 7.984 kB / 0.7664 GB, free: 8.434 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.278e-05/0.1662, allocations: 7.984 kB / 0.7664 GB, free: 8.426 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.62e-05/0.1662, allocations: 0 / 0.7664 GB, free: 8.426 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 6.883e-06/0.1662, allocations: 3.938 kB / 0.7664 GB, free: 8.422 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.467e-05/0.1662, allocations: 4 kB / 0.7664 GB, free: 8.418 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 1.876e-05/0.1663, allocations: 3.938 kB / 0.7664 GB, free: 8.414 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 4.604e-05/0.1663, allocations: 0 / 0.7664 GB, free: 8.414 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.1663, allocations: 0 / 0.7664 GB, free: 8.414 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.784e-06/0.1663, allocations: 0 / 0.7664 GB, free: 8.414 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.129e-06/0.1663, allocations: 0 / 0.7664 GB, free: 8.414 MB / 0.5606 GB 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.0002923/0.1666, allocations: 319.8 kB / 0.7667 GB, free: 8.051 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.1667, allocations: 16.03 kB / 0.7668 GB, free: 8.035 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.794e-05/0.1667, allocations: 34.69 kB / 0.7668 GB, free: 7.992 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.685e-05/0.1668, allocations: 4.844 kB / 0.7668 GB, free: 7.988 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001012/0.1669, allocations: 160.4 kB / 0.767 GB, free: 7.793 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.253e-05/0.1669, allocations: 384 / 0.767 GB, free: 7.793 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.528e-06/0.1669, allocations: 4.375 kB / 0.767 GB, free: 7.789 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001113/0.167, allocations: 47.97 kB / 0.767 GB, free: 7.73 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.167, allocations: 3.938 kB / 0.767 GB, free: 7.727 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.717e-06/0.167, allocations: 4 kB / 0.767 GB, free: 7.723 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.633e-06/0.1671, allocations: 3.984 kB / 0.767 GB, free: 7.719 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.8e-05/0.1671, allocations: 11.94 kB / 0.767 GB, free: 7.707 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001479/0.1672, allocations: 150.5 kB / 0.7672 GB, free: 7.508 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 5.263e-05/0.1673, allocations: 37.2 kB / 0.7672 GB, free: 7.453 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.838e-05/0.1673, allocations: 21.78 kB / 0.7672 GB, free: 7.426 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.582e-05/0.1674, allocations: 3.938 kB / 0.7672 GB, free: 7.422 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.588e-05/0.1674, allocations: 34.56 kB / 0.7673 GB, free: 7.379 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.1674, allocations: 0 / 0.7673 GB, free: 7.379 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0001586/0.1676, allocations: 49.56 kB / 0.7673 GB, free: 7.324 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.327e-05/0.1676, allocations: 77.11 kB / 0.7674 GB, free: 7.23 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.52e-05/0.1677, allocations: 98.11 kB / 0.7675 GB, free: 7.125 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.412e-05/0.1677, allocations: 25.7 kB / 0.7675 GB, free: 7.094 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.576e-05/0.1678, allocations: 84.12 kB / 0.7676 GB, free: 7.008 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.896e-05/0.1678, allocations: 7.906 kB / 0.7676 GB, free: 7 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.922e-05/0.1678, allocations: 9.719 kB / 0.7676 GB, free: 6.984 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001012/0.1679, allocations: 314.8 kB / 0.7679 GB, free: 6.668 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.411e-05/0.168, allocations: 7.984 kB / 0.7679 GB, free: 6.66 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.619e-05/0.168, allocations: 13.84 kB / 0.7679 GB, free: 6.641 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.398e-05/0.168, allocations: 21.66 kB / 0.7679 GB, free: 6.613 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.168, allocations: 0 / 0.7679 GB, free: 6.613 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.382e-05/0.1681, allocations: 37.7 kB / 0.768 GB, free: 6.57 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.072e-05/0.1681, allocations: 11.92 kB / 0.768 GB, free: 6.559 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.1681, allocations: 3.938 kB / 0.768 GB, free: 6.555 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.1681, allocations: 4 kB / 0.768 GB, free: 6.551 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.235e-05/0.1682, allocations: 8.125 kB / 0.768 GB, free: 6.543 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.1682, allocations: 3.938 kB / 0.768 GB, free: 6.539 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.698e-05/0.1683, allocations: 0 / 0.768 GB, free: 6.539 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/0.1683, allocations: 0 / 0.768 GB, free: 6.539 MB / 0.5606 GB 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.559e-05/0.1683, allocations: 110.5 kB / 0.7681 GB, free: 6.422 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.144e-05/0.1684, allocations: 3.938 kB / 0.7681 GB, free: 6.418 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001089/0.1685, allocations: 48.75 kB / 0.7682 GB, free: 6.367 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.1685, allocations: 4.062 kB / 0.7682 GB, free: 6.363 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.1685, allocations: 4 kB / 0.7682 GB, free: 6.359 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.1685, allocations: 0 / 0.7682 GB, free: 6.359 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.893e-05/0.1686, allocations: 149.7 kB / 0.7683 GB, free: 6.164 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.1686, allocations: 0 / 0.7683 GB, free: 6.164 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.379e-05/0.1686, allocations: 4 kB / 0.7683 GB, free: 6.16 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.508e-06/0.1686, allocations: 3.938 kB / 0.7683 GB, free: 6.156 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.355e-06/0.1687, allocations: 4 kB / 0.7683 GB, free: 6.152 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.1687, allocations: 0 / 0.7683 GB, free: 6.152 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.1687, allocations: 0 / 0.7683 GB, free: 6.152 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.701e-05/0.1688, allocations: 77.86 kB / 0.7684 GB, free: 6.055 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.635e-05/0.1688, allocations: 81.11 kB / 0.7685 GB, free: 5.957 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.57e-05/0.1688, allocations: 7.922 kB / 0.7685 GB, free: 5.949 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.455e-05/0.1689, allocations: 0 / 0.7685 GB, free: 5.949 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.082e-05/0.1689, allocations: 0 / 0.7685 GB, free: 5.949 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.474e-06/0.1689, allocations: 12 kB / 0.7685 GB, free: 5.938 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.006e-05/0.1689, allocations: 79.31 kB / 0.7686 GB, free: 5.859 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1689, allocations: 0 / 0.7686 GB, free: 5.859 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001731/0.1691, allocations: 0 / 0.7686 GB, free: 5.859 MB / 0.5606 GB 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.0003371/0.1695, allocations: 0.6133 MB / 0.7692 GB, free: 5.211 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 7.726e-05/0.1695, allocations: 12 kB / 0.7692 GB, free: 5.199 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.1696, allocations: 0 / 0.7692 GB, free: 5.199 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.427e-05/0.1696, allocations: 11.92 kB / 0.7692 GB, free: 5.188 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001349/0.1697, allocations: 4 kB / 0.7692 GB, free: 5.184 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003062/0.17, allocations: 107.6 kB / 0.7693 GB, free: 5.035 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001998/0.1702, allocations: 0.677 MB / 0.77 GB, free: 4.332 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.895e-05/0.1703, allocations: 4 kB / 0.77 GB, free: 4.328 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.334e-05/0.1703, allocations: 15.38 kB / 0.77 GB, free: 4.312 MB / 0.5606 GB Notification: Performance of SimCode: time 2.2e-07/0.1703, allocations: 0 / 0.77 GB, free: 4.312 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01704/0.1874, allocations: 0.9342 MB / 0.7709 GB, free: 3.469 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.38/7.568, allocations: 14.39 kB / 0.7709 GB, free: 3.461 MB / 0.5606 GB (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)