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.001126/0.001126, allocations: 108 kB / 15.61 MB, free: 152 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.001202/0.001202, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.318/1.318, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002105/0.002105, allocations: 283 kB / 290.7 MB, free: 1.988 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9096/0.9096, allocations: 169.3 MB / 0.4982 GB, free: 13.93 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001873/0.001874, allocations: 102.3 kB / 0.5953 GB, free: 27.78 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1631/0.165, allocations: 86.98 MB / 0.6803 GB, free: 0.5781 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.Example8): time 0.002058/0.1671, allocations: 0.5046 MB / 0.6808 GB, free: 88 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001531/0.1673, allocations: 19.86 kB / 0.6808 GB, free: 68 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.899e-05/0.1673, allocations: 0 / 0.6808 GB, free: 68 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 1.64e-05/0.1674, allocations: 2.875 kB / 0.6808 GB, free: 68 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000169/0.1676, allocations: 3.984 kB / 0.6808 GB, free: 64 kB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.648e-06/0.1676, allocations: 0 / 0.6808 GB, free: 64 kB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 5.841e-05/0.1676, allocations: 4 kB / 0.6808 GB, free: 60 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.087e-05/0.1677, allocations: 3.938 kB / 0.6808 GB, free: 56 kB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.029e-05/0.1677, allocations: 7.984 kB / 0.6808 GB, free: 48 kB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.329e-05/0.1678, allocations: 0 / 0.6808 GB, free: 48 kB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.376e-05/0.1678, allocations: 0 / 0.6808 GB, free: 48 kB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.775e-06/0.1678, allocations: 0.7812 kB / 0.6808 GB, free: 48 kB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.495e-05/0.1678, allocations: 0 / 0.6808 GB, free: 48 kB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 1.602e-05/0.1679, allocations: 9.656 kB / 0.6808 GB, free: 40 kB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 4.989e-05/0.1679, allocations: 7.984 kB / 0.6808 GB, free: 32 kB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.1679, allocations: 0 / 0.6808 GB, free: 32 kB / 478.1 MB Notification: Performance of FrontEnd: time 2.073e-06/0.1679, allocations: 0 / 0.6808 GB, free: 32 kB / 478.1 MB Notification: Performance of Transformations before backend: time 5.421e-06/0.1679, allocations: 0 / 0.6808 GB, free: 32 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.0003242/0.1683, allocations: 316.8 kB / 0.6811 GB, free: 15.67 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/0.1683, allocations: 12.66 kB / 0.6812 GB, free: 15.66 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.525e-05/0.1684, allocations: 30.75 kB / 0.6812 GB, free: 15.62 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.379e-05/0.1684, allocations: 2 kB / 0.6812 GB, free: 15.62 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001085/0.1685, allocations: 168.3 kB / 0.6813 GB, free: 15.42 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.18e-05/0.1685, allocations: 1.375 kB / 0.6813 GB, free: 15.42 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.636e-06/0.1685, allocations: 4.375 kB / 0.6813 GB, free: 15.41 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001096/0.1687, allocations: 48.45 kB / 0.6814 GB, free: 15.36 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.1687, allocations: 11.88 kB / 0.6814 GB, free: 15.34 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.966e-06/0.1687, allocations: 0 / 0.6814 GB, free: 15.34 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.1687, allocations: 3.938 kB / 0.6814 GB, free: 15.34 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.722e-05/0.1687, allocations: 3.984 kB / 0.6814 GB, free: 15.34 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001698/0.1689, allocations: 162.5 kB / 0.6816 GB, free: 15.12 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.928e-05/0.169, allocations: 41.16 kB / 0.6816 GB, free: 15.07 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.475e-05/0.169, allocations: 13.84 kB / 0.6816 GB, free: 15.05 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.236e-05/0.169, allocations: 11.97 kB / 0.6816 GB, free: 15.04 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.292e-05/0.1691, allocations: 30.56 kB / 0.6817 GB, free: 15 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.163e-06/0.1691, allocations: 3.938 kB / 0.6817 GB, free: 14.99 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.00016/0.1693, allocations: 41.64 kB / 0.6817 GB, free: 14.95 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.468e-05/0.1693, allocations: 89.3 kB / 0.6818 GB, free: 14.84 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.332e-05/0.1694, allocations: 93.84 kB / 0.6819 GB, free: 14.74 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.274e-05/0.1694, allocations: 25.7 kB / 0.6819 GB, free: 14.71 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.012e-05/0.1695, allocations: 80.14 kB / 0.682 GB, free: 14.62 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.243e-05/0.1695, allocations: 7.906 kB / 0.682 GB, free: 14.62 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.447e-05/0.1695, allocations: 13.72 kB / 0.682 GB, free: 14.6 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001245/0.1697, allocations: 310.8 kB / 0.6823 GB, free: 14.29 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.365e-05/0.1697, allocations: 4.125 kB / 0.6823 GB, free: 14.28 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.373e-05/0.1697, allocations: 13.72 kB / 0.6823 GB, free: 14.26 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.093e-05/0.1698, allocations: 25.7 kB / 0.6823 GB, free: 14.23 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.1698, allocations: 0 / 0.6823 GB, free: 14.23 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.12e-05/0.1699, allocations: 37.64 kB / 0.6824 GB, free: 14.19 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.1699, allocations: 7.938 kB / 0.6824 GB, free: 14.18 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.1699, allocations: 4.125 kB / 0.6824 GB, free: 14.18 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.801e-05/0.1699, allocations: 4 kB / 0.6824 GB, free: 14.17 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.175e-05/0.17, allocations: 3.984 kB / 0.6824 GB, free: 14.17 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.17, allocations: 4 kB / 0.6824 GB, free: 14.16 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.815e-05/0.17, allocations: 0 / 0.6824 GB, free: 14.16 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.694e-06/0.1701, allocations: 0 / 0.6824 GB, free: 14.16 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 9.583e-05/0.1702, allocations: 118.4 kB / 0.6825 GB, free: 14.04 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.528e-05/0.1702, allocations: 7.844 kB / 0.6825 GB, free: 14.03 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001236/0.1703, allocations: 48.81 kB / 0.6826 GB, free: 13.98 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.1703, allocations: 3.938 kB / 0.6826 GB, free: 13.97 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.1703, allocations: 0 / 0.6826 GB, free: 13.97 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.491e-06/0.1703, allocations: 4 kB / 0.6826 GB, free: 13.97 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.997e-05/0.1704, allocations: 145.7 kB / 0.6827 GB, free: 13.78 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.1704, allocations: 0 / 0.6827 GB, free: 13.78 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.538e-05/0.1705, allocations: 7.938 kB / 0.6827 GB, free: 13.77 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.1705, allocations: 3.938 kB / 0.6827 GB, free: 13.77 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.947e-06/0.1705, allocations: 4 kB / 0.6827 GB, free: 13.76 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/0.1705, allocations: 4.047 kB / 0.6827 GB, free: 13.76 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.1705, allocations: 7.938 kB / 0.6827 GB, free: 13.75 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.305e-05/0.1706, allocations: 65.98 kB / 0.6828 GB, free: 13.66 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.278e-05/0.1707, allocations: 81.11 kB / 0.6829 GB, free: 13.57 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.671e-05/0.1707, allocations: 7.938 kB / 0.6829 GB, free: 13.56 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.583e-05/0.1707, allocations: 0 / 0.6829 GB, free: 13.56 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.371e-05/0.1708, allocations: 11.95 kB / 0.6829 GB, free: 13.55 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.371e-06/0.1708, allocations: 8 kB / 0.6829 GB, free: 13.54 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.845e-05/0.1708, allocations: 75.28 kB / 0.683 GB, free: 13.46 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1708, allocations: 0 / 0.683 GB, free: 13.46 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000191/0.171, allocations: 0 / 0.683 GB, free: 13.46 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.000454/0.1715, allocations: 0.6039 MB / 0.6836 GB, free: 12.83 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 9.557e-05/0.1716, allocations: 15.94 kB / 0.6836 GB, free: 12.81 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.1716, allocations: 0 / 0.6836 GB, free: 12.81 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.194e-05/0.1716, allocations: 4 kB / 0.6836 GB, free: 12.81 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001541/0.1718, allocations: 5.891 kB / 0.6836 GB, free: 12.8 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003599/0.1722, allocations: 119.8 kB / 0.6837 GB, free: 12.64 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002977/0.1725, allocations: 0.6729 MB / 0.6844 GB, free: 11.95 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.507e-05/0.1725, allocations: 3.984 kB / 0.6844 GB, free: 11.94 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.586e-05/0.1725, allocations: 11.44 kB / 0.6844 GB, free: 11.93 MB / 494.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1725, allocations: 0 / 0.6844 GB, free: 11.93 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01878/0.1913, allocations: 0.9094 MB / 0.6853 GB, free: 11.09 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.95/7.142, allocations: 11.39 kB / 0.6853 GB, free: 11.09 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)