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: translateModel(BuildingSystems.Fluid.Examples.Performance.Example8,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8") translateModel(BuildingSystems.Fluid.Examples.Performance.Example8,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001313/0.001313, allocations: 105.7 kB / 16.27 MB, free: 6.414 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.001253/0.001253, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.234/1.234, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002054/0.002054, allocations: 292.6 kB / 291.3 MB, free: 14.56 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8798/0.8798, allocations: 169.3 MB / 0.4988 GB, free: 4.504 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001759/0.001759, allocations: 99.56 kB / 0.5959 GB, free: 15.2 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1415/0.1432, allocations: 86.97 MB / 0.6808 GB, free: 8.234 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.Example8): time 0.001709/0.145, allocations: 0.5091 MB / 0.6813 GB, free: 7.723 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001187/0.1451, allocations: 15.86 kB / 0.6813 GB, free: 7.707 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.444e-05/0.1452, allocations: 3.938 kB / 0.6813 GB, free: 7.703 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.381e-05/0.1452, allocations: 0 / 0.6813 GB, free: 7.703 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001431/0.1453, allocations: 11.92 kB / 0.6814 GB, free: 7.691 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.091e-06/0.1454, allocations: 4 kB / 0.6814 GB, free: 7.688 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.093e-05/0.1454, allocations: 0 / 0.6814 GB, free: 7.688 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.077e-05/0.1455, allocations: 8.062 kB / 0.6814 GB, free: 7.68 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.358e-05/0.1455, allocations: 0 / 0.6814 GB, free: 7.68 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.617e-05/0.1455, allocations: 7.984 kB / 0.6814 GB, free: 7.672 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.095e-05/0.1456, allocations: 0 / 0.6814 GB, free: 7.672 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.893e-06/0.1456, allocations: 4 kB / 0.6814 GB, free: 7.668 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.578e-06/0.1456, allocations: 0 / 0.6814 GB, free: 7.668 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.562e-05/0.1456, allocations: 3.938 kB / 0.6814 GB, free: 7.664 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 3.953e-05/0.1456, allocations: 3.984 kB / 0.6814 GB, free: 7.66 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.1457, allocations: 0 / 0.6814 GB, free: 7.66 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1457, allocations: 3.938 kB / 0.6814 GB, free: 7.656 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.348e-06/0.1457, allocations: 0 / 0.6814 GB, free: 7.656 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002729/0.1459, allocations: 311.6 kB / 0.6817 GB, free: 7.301 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.793e-05/0.146, allocations: 16.03 kB / 0.6817 GB, free: 7.285 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.33e-05/0.146, allocations: 0.9375 kB / 0.6817 GB, free: 7.285 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.652e-05/0.1461, allocations: 168.6 kB / 0.6819 GB, free: 7.082 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.048e-05/0.1461, allocations: 384 / 0.6819 GB, free: 7.082 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.105e-05/0.1461, allocations: 4.375 kB / 0.6819 GB, free: 7.078 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.793e-05/0.1462, allocations: 35.98 kB / 0.6819 GB, free: 7.031 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.625e-06/0.1462, allocations: 4.188 kB / 0.6819 GB, free: 7.027 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.245e-06/0.1463, allocations: 7.938 kB / 0.6819 GB, free: 7.02 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.1463, allocations: 0 / 0.6819 GB, free: 7.02 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.246e-05/0.1463, allocations: 7.938 kB / 0.6819 GB, free: 7.012 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001301/0.1464, allocations: 154.5 kB / 0.6821 GB, free: 6.809 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.361e-05/0.1465, allocations: 45.09 kB / 0.6821 GB, free: 6.746 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.356e-05/0.1465, allocations: 17.84 kB / 0.6821 GB, free: 6.723 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.467e-05/0.1466, allocations: 7.984 kB / 0.6821 GB, free: 6.715 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.239e-05/0.1466, allocations: 34.55 kB / 0.6822 GB, free: 6.672 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.1466, allocations: 0 / 0.6822 GB, free: 6.672 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001215/0.1467, allocations: 45.58 kB / 0.6822 GB, free: 6.621 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.848e-05/0.1468, allocations: 81.11 kB / 0.6823 GB, free: 6.523 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.301e-05/0.1468, allocations: 98.09 kB / 0.6824 GB, free: 6.418 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.255e-05/0.1469, allocations: 29.7 kB / 0.6824 GB, free: 6.383 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.408e-05/0.1469, allocations: 80.14 kB / 0.6825 GB, free: 6.301 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.365e-05/0.1469, allocations: 7.906 kB / 0.6825 GB, free: 6.293 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.375e-05/0.1469, allocations: 9.719 kB / 0.6825 GB, free: 6.277 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.288e-05/0.147, allocations: 310.8 kB / 0.6828 GB, free: 5.965 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.207e-05/0.147, allocations: 7.938 kB / 0.6828 GB, free: 5.957 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.341e-05/0.1471, allocations: 13.84 kB / 0.6828 GB, free: 5.938 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.099e-05/0.1471, allocations: 29.7 kB / 0.6829 GB, free: 5.902 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.1471, allocations: 0 / 0.6829 GB, free: 5.902 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.501e-05/0.1472, allocations: 41.64 kB / 0.6829 GB, free: 5.855 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.006e-05/0.1472, allocations: 4 kB / 0.6829 GB, free: 5.852 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.1472, allocations: 3.938 kB / 0.6829 GB, free: 5.848 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.1472, allocations: 4 kB / 0.6829 GB, free: 5.844 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.368e-05/0.1473, allocations: 0 / 0.6829 GB, free: 5.844 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.1473, allocations: 12.05 kB / 0.6829 GB, free: 5.832 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.505e-05/0.1473, allocations: 0 / 0.6829 GB, free: 5.832 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.86e-06/0.1473, allocations: 0 / 0.6829 GB, free: 5.832 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 5.389e-05/0.1474, allocations: 109.8 kB / 0.683 GB, free: 5.715 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.714e-06/0.1474, allocations: 0 / 0.683 GB, free: 5.715 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.214e-05/0.1475, allocations: 52.69 kB / 0.6831 GB, free: 5.656 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-06/0.1475, allocations: 0 / 0.6831 GB, free: 5.656 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.085e-06/0.1475, allocations: 4.062 kB / 0.6831 GB, free: 5.652 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.1475, allocations: 4 kB / 0.6831 GB, free: 5.648 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.165e-05/0.1476, allocations: 157.6 kB / 0.6832 GB, free: 5.445 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.1476, allocations: 0 / 0.6832 GB, free: 5.445 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.154e-05/0.1476, allocations: 4 kB / 0.6832 GB, free: 5.441 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.462e-06/0.1476, allocations: 0 / 0.6832 GB, free: 5.441 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/0.1476, allocations: 7.938 kB / 0.6832 GB, free: 5.434 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.123e-06/0.1476, allocations: 3.938 kB / 0.6832 GB, free: 5.43 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.1476, allocations: 0 / 0.6832 GB, free: 5.43 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.078e-05/0.1477, allocations: 73.92 kB / 0.6833 GB, free: 5.336 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.254e-05/0.1478, allocations: 81.11 kB / 0.6834 GB, free: 5.238 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.05e-05/0.1478, allocations: 3.938 kB / 0.6834 GB, free: 5.234 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.411e-05/0.1478, allocations: 0 / 0.6834 GB, free: 5.234 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.328e-05/0.1478, allocations: 0 / 0.6834 GB, free: 5.234 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.729e-06/0.1478, allocations: 7.984 kB / 0.6834 GB, free: 5.227 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.536e-05/0.1479, allocations: 79.31 kB / 0.6835 GB, free: 5.148 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1479, allocations: 0 / 0.6835 GB, free: 5.148 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001878/0.1481, allocations: 4 kB / 0.6835 GB, free: 5.145 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 8.208e-05/0.1481, allocations: 95.25 kB / 0.6836 GB, free: 5.039 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 6.582e-05/0.1482, allocations: 15.94 kB / 0.6836 GB, free: 5.023 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.1482, allocations: 0 / 0.6836 GB, free: 5.023 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 9.157e-06/0.1482, allocations: 4 kB / 0.6836 GB, free: 5.02 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001253/0.1484, allocations: 4.078 kB / 0.6836 GB, free: 5.02 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001784/0.1486, allocations: 123.6 kB / 0.6837 GB, free: 4.863 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000185/0.1488, allocations: 0.6729 MB / 0.6844 GB, free: 4.164 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.917e-05/0.1488, allocations: 15.36 kB / 0.6844 GB, free: 4.148 MB / 494.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1488, allocations: 0 / 0.6844 GB, free: 4.148 MB / 494.1 MB Notification: Performance of Templates: time 0.001401/0.1502, allocations: 375.7 kB / 0.6847 GB, free: 3.781 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.makefile (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 & ./BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.pipe 2>&1)