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: translateModel(BuildingSystems.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5") translateModel(BuildingSystems.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001377/0.001377, allocations: 109.3 kB / 16.41 MB, free: 6.445 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.001394/0.001395, allocations: 183 kB / 17.34 MB, free: 5.742 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.329/1.329, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002268/0.002268, allocations: 293.1 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9512/0.9512, allocations: 169.3 MB / 0.499 GB, free: 4.398 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001742/0.001742, allocations: 95.86 kB / 0.6821 GB, free: 6.926 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4639/0.4656, allocations: 86.97 MB / 0.767 GB, free: 3.867 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.Example5): time 0.001776/0.4675, allocations: 0.5308 MB / 0.7675 GB, free: 3.34 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0001733/0.4677, allocations: 35.88 kB / 0.7676 GB, free: 3.305 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.423e-05/0.4677, allocations: 0 / 0.7676 GB, free: 3.305 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.409e-05/0.4677, allocations: 7.938 kB / 0.7676 GB, free: 3.297 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001441/0.4679, allocations: 11.98 kB / 0.7676 GB, free: 3.285 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 4.662e-05/0.468, allocations: 3.938 kB / 0.7676 GB, free: 3.281 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.007e-05/0.468, allocations: 8 kB / 0.7676 GB, free: 3.273 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.203e-05/0.4681, allocations: 7.922 kB / 0.7676 GB, free: 3.266 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.656e-05/0.4681, allocations: 15.92 kB / 0.7676 GB, free: 3.25 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.052e-05/0.4682, allocations: 4 kB / 0.7676 GB, free: 3.246 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.907e-05/0.4682, allocations: 0 / 0.7676 GB, free: 3.246 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 8.877e-06/0.4683, allocations: 4 kB / 0.7676 GB, free: 3.242 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.882e-05/0.4683, allocations: 11.92 kB / 0.7677 GB, free: 3.23 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.524e-05/0.4683, allocations: 0 / 0.7677 GB, free: 3.23 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 6.545e-05/0.4684, allocations: 11.92 kB / 0.7677 GB, free: 3.219 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.4684, allocations: 4 kB / 0.7677 GB, free: 3.215 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.383e-06/0.4684, allocations: 0 / 0.7677 GB, free: 3.215 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.4684, allocations: 0 / 0.7677 GB, free: 3.215 MB / 0.5294 GB 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.0004298/0.4689, allocations: 331.1 kB / 0.768 GB, free: 2.844 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.4689, allocations: 15.97 kB / 0.768 GB, free: 2.828 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.069e-05/0.469, allocations: 4.938 kB / 0.768 GB, free: 2.824 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001963/0.4692, allocations: 180.3 kB / 0.7682 GB, free: 2.609 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.777e-06/0.4692, allocations: 384 / 0.7682 GB, free: 2.609 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.094e-05/0.4692, allocations: 4.375 kB / 0.7682 GB, free: 2.605 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.328e-05/0.4693, allocations: 30.25 kB / 0.7682 GB, free: 2.57 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.523e-06/0.4693, allocations: 4.188 kB / 0.7682 GB, free: 2.566 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.4693, allocations: 3.938 kB / 0.7682 GB, free: 2.562 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.4693, allocations: 0 / 0.7682 GB, free: 2.562 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.67e-05/0.4693, allocations: 0 / 0.7682 GB, free: 2.562 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001544/0.4695, allocations: 157.7 kB / 0.7684 GB, free: 2.359 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 4.687e-05/0.4695, allocations: 22.55 kB / 0.7684 GB, free: 2.328 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.084e-05/0.4696, allocations: 12.91 kB / 0.7684 GB, free: 2.312 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.356e-05/0.4696, allocations: 0 / 0.7684 GB, free: 2.312 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.369e-05/0.4696, allocations: 30.56 kB / 0.7684 GB, free: 2.273 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 6.92e-07/0.4696, allocations: 3.938 kB / 0.7684 GB, free: 2.27 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001493/0.4698, allocations: 53.7 kB / 0.7685 GB, free: 2.211 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.582e-05/0.4698, allocations: 59.38 kB / 0.7685 GB, free: 2.141 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.719e-05/0.4699, allocations: 109.8 kB / 0.7686 GB, free: 2.023 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.281e-05/0.4699, allocations: 25.7 kB / 0.7687 GB, free: 1.992 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.296e-05/0.47, allocations: 84.14 kB / 0.7687 GB, free: 1.906 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.215e-05/0.47, allocations: 7.891 kB / 0.7688 GB, free: 1.898 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.036e-05/0.47, allocations: 13.72 kB / 0.7688 GB, free: 1.879 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001076/0.4702, allocations: 310.8 kB / 0.7691 GB, free: 1.566 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.972e-05/0.4702, allocations: 12.25 kB / 0.7691 GB, free: 1.555 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.499e-05/0.4702, allocations: 17.7 kB / 0.7691 GB, free: 1.531 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.282e-05/0.4703, allocations: 21.72 kB / 0.7691 GB, free: 1.504 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.4703, allocations: 0 / 0.7691 GB, free: 1.504 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.939e-05/0.4704, allocations: 49.62 kB / 0.7692 GB, free: 1.449 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.081e-05/0.4704, allocations: 4 kB / 0.7692 GB, free: 1.445 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.4704, allocations: 12 kB / 0.7692 GB, free: 1.434 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.4704, allocations: 7.984 kB / 0.7692 GB, free: 1.426 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.996e-05/0.4705, allocations: 0 / 0.7692 GB, free: 1.426 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.4705, allocations: 4 kB / 0.7692 GB, free: 1.422 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.211e-05/0.4705, allocations: 0 / 0.7692 GB, free: 1.422 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.171e-06/0.4705, allocations: 0 / 0.7692 GB, free: 1.422 MB / 0.5294 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 7.14e-05/0.4706, allocations: 116.2 kB / 0.7693 GB, free: 1.301 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.238e-06/0.4706, allocations: 0 / 0.7693 GB, free: 1.301 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001078/0.4707, allocations: 61.14 kB / 0.7694 GB, free: 1.234 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.4707, allocations: 0 / 0.7694 GB, free: 1.234 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.4707, allocations: 0 / 0.7694 GB, free: 1.234 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.4707, allocations: 0 / 0.7694 GB, free: 1.234 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001179/0.4709, allocations: 153.7 kB / 0.7695 GB, free: 1.035 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.4709, allocations: 4 kB / 0.7695 GB, free: 1.031 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.697e-05/0.4709, allocations: 0 / 0.7695 GB, free: 1.031 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5e-06/0.4709, allocations: 4 kB / 0.7695 GB, free: 1.027 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.471, allocations: 3.938 kB / 0.7695 GB, free: 1.023 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.471, allocations: 0 / 0.7695 GB, free: 1.023 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.471, allocations: 0 / 0.7695 GB, free: 1.023 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001299/0.4711, allocations: 88.98 kB / 0.7696 GB, free: 0.918 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 4.888e-05/0.4712, allocations: 81.14 kB / 0.7697 GB, free: 0.8203 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.486e-05/0.4712, allocations: 11.86 kB / 0.7697 GB, free: 0.8086 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.022e-05/0.4712, allocations: 0 / 0.7697 GB, free: 0.8086 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.099e-05/0.4712, allocations: 0 / 0.7697 GB, free: 0.8086 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.856e-06/0.4712, allocations: 4 kB / 0.7697 GB, free: 0.8047 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.621e-05/0.4713, allocations: 91.27 kB / 0.7698 GB, free: 0.7148 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4713, allocations: 4.094 kB / 0.7698 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0001721/0.4715, allocations: 0 / 0.7698 GB, free: 0.7109 MB / 0.5294 GB 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 9.754e-05/0.4716, allocations: 95.25 kB / 0.7699 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 7.992e-05/0.4716, allocations: 15.92 kB / 0.7699 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.4717, allocations: 0 / 0.7699 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 2.467e-05/0.4717, allocations: 12 kB / 0.7699 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001394/0.4718, allocations: 5.344 kB / 0.7699 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002587/0.4721, allocations: 139.4 kB / 0.77 GB, free: 424 kB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002737/0.4724, allocations: 0.6806 MB / 0.7707 GB, free: 15.71 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.467e-05/0.4724, allocations: 11.44 kB / 0.7707 GB, free: 15.7 MB / 0.545 GB Notification: Performance of SimCode: time 2.31e-07/0.4724, allocations: 0 / 0.7707 GB, free: 15.7 MB / 0.545 GB Notification: Performance of Templates: time 0.001741/0.4742, allocations: 0.5096 MB / 0.7712 GB, free: 15.19 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.makefile (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 & ./BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.pipe 2>&1)