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.001119/0.001119, allocations: 108.3 kB / 16.41 MB, free: 6.355 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.001035/0.001035, allocations: 189.8 kB / 17.34 MB, free: 5.68 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.233/1.233, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002102/0.002102, allocations: 284.7 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8822/0.8822, allocations: 169.2 MB / 0.499 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00191/0.00191, allocations: 95.84 kB / 0.6821 GB, free: 6.957 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3765/0.3784, allocations: 86.98 MB / 0.767 GB, free: 3.891 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.Example8): time 0.001502/0.38, allocations: 0.523 MB / 0.7675 GB, free: 3.371 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0001087/0.3801, allocations: 7.922 kB / 0.7675 GB, free: 3.363 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.88e-05/0.3801, allocations: 4 kB / 0.7676 GB, free: 3.359 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.448e-05/0.3802, allocations: 0 / 0.7676 GB, free: 3.359 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001258/0.3803, allocations: 0 / 0.7676 GB, free: 3.359 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 2.915e-06/0.3803, allocations: 0 / 0.7676 GB, free: 3.359 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.338e-05/0.3804, allocations: 19.91 kB / 0.7676 GB, free: 3.34 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.366e-05/0.3804, allocations: 4 kB / 0.7676 GB, free: 3.336 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.391e-05/0.3805, allocations: 7.938 kB / 0.7676 GB, free: 3.328 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 2.996e-05/0.3805, allocations: 0 / 0.7676 GB, free: 3.328 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.028e-05/0.3805, allocations: 0 / 0.7676 GB, free: 3.328 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 5.15e-06/0.3805, allocations: 0 / 0.7676 GB, free: 3.328 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 8.717e-06/0.3805, allocations: 0 / 0.7676 GB, free: 3.328 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.239e-05/0.3805, allocations: 0 / 0.7676 GB, free: 3.328 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 4.552e-05/0.3806, allocations: 15.92 kB / 0.7676 GB, free: 3.312 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.3806, allocations: 0 / 0.7676 GB, free: 3.312 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.392e-06/0.3806, allocations: 0 / 0.7676 GB, free: 3.312 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.088e-06/0.3806, allocations: 0 / 0.7676 GB, free: 3.312 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002706/0.3809, allocations: 315.6 kB / 0.7679 GB, free: 2.953 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.042e-05/0.3809, allocations: 8.031 kB / 0.7679 GB, free: 2.945 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.522e-05/0.381, allocations: 4.938 kB / 0.7679 GB, free: 2.941 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.748e-05/0.3811, allocations: 168 kB / 0.7681 GB, free: 2.742 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.009e-05/0.3811, allocations: 384 / 0.7681 GB, free: 2.742 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.056e-05/0.3811, allocations: 4.312 kB / 0.7681 GB, free: 2.738 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.918e-05/0.3812, allocations: 43.97 kB / 0.7681 GB, free: 2.684 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.361e-06/0.3812, allocations: 4.188 kB / 0.7681 GB, free: 2.68 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.728e-06/0.3812, allocations: 3.938 kB / 0.7681 GB, free: 2.676 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.417e-06/0.3812, allocations: 0 / 0.7681 GB, free: 2.676 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.028e-05/0.3812, allocations: 4 kB / 0.7681 GB, free: 2.672 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001422/0.3814, allocations: 166.5 kB / 0.7683 GB, free: 2.457 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 4.426e-05/0.3814, allocations: 33.16 kB / 0.7683 GB, free: 2.406 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.191e-05/0.3815, allocations: 17.84 kB / 0.7683 GB, free: 2.383 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.045e-05/0.3815, allocations: 0 / 0.7683 GB, free: 2.383 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.902e-05/0.3815, allocations: 38.44 kB / 0.7684 GB, free: 2.336 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 9.71e-07/0.3815, allocations: 4 kB / 0.7684 GB, free: 2.332 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0001314/0.3817, allocations: 49.53 kB / 0.7684 GB, free: 2.277 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.988e-05/0.3817, allocations: 81.05 kB / 0.7685 GB, free: 2.18 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.258e-05/0.3818, allocations: 98.11 kB / 0.7686 GB, free: 2.074 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.248e-05/0.3818, allocations: 25.7 kB / 0.7686 GB, free: 2.043 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 2.482e-05/0.3818, allocations: 80.14 kB / 0.7687 GB, free: 1.961 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.338e-05/0.3818, allocations: 4 kB / 0.7687 GB, free: 1.957 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.834e-05/0.3819, allocations: 17.7 kB / 0.7687 GB, free: 1.934 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.853e-05/0.382, allocations: 310.8 kB / 0.769 GB, free: 1.621 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.758e-06/0.382, allocations: 0 / 0.769 GB, free: 1.621 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.458e-05/0.382, allocations: 21.84 kB / 0.769 GB, free: 1.594 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.011e-05/0.3821, allocations: 17.66 kB / 0.7691 GB, free: 1.57 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.3821, allocations: 3.938 kB / 0.7691 GB, free: 1.566 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.674e-05/0.3821, allocations: 45.59 kB / 0.7691 GB, free: 1.516 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.3821, allocations: 8 kB / 0.7691 GB, free: 1.508 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.3822, allocations: 3.938 kB / 0.7691 GB, free: 1.504 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.063e-05/0.3822, allocations: 0 / 0.7691 GB, free: 1.504 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.684e-05/0.3822, allocations: 8.125 kB / 0.7691 GB, free: 1.496 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.3822, allocations: 0 / 0.7691 GB, free: 1.496 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.746e-05/0.3823, allocations: 0 / 0.7691 GB, free: 1.496 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.463e-06/0.3823, allocations: 7.938 kB / 0.7691 GB, free: 1.488 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 5.631e-05/0.3823, allocations: 109.8 kB / 0.7692 GB, free: 1.371 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.694e-06/0.3823, allocations: 0 / 0.7692 GB, free: 1.371 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001017/0.3825, allocations: 56.69 kB / 0.7693 GB, free: 1.312 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.3825, allocations: 4.062 kB / 0.7693 GB, free: 1.309 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.3825, allocations: 0 / 0.7693 GB, free: 1.309 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.3825, allocations: 0 / 0.7693 GB, free: 1.309 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.819e-05/0.3826, allocations: 149.7 kB / 0.7694 GB, free: 1.113 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.3826, allocations: 0 / 0.7694 GB, free: 1.113 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.356e-05/0.3826, allocations: 7.984 kB / 0.7694 GB, free: 1.105 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.3826, allocations: 3.984 kB / 0.7694 GB, free: 1.102 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.523e-06/0.3826, allocations: 3.938 kB / 0.7694 GB, free: 1.098 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.3826, allocations: 0 / 0.7694 GB, free: 1.098 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.3826, allocations: 0 / 0.7694 GB, free: 1.098 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.891e-05/0.3827, allocations: 73.98 kB / 0.7695 GB, free: 1.004 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 4.532e-05/0.3828, allocations: 81.05 kB / 0.7696 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.558e-06/0.3828, allocations: 3.938 kB / 0.7696 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.517e-05/0.3828, allocations: 4 kB / 0.7696 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.406e-05/0.3828, allocations: 0 / 0.7696 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.388e-06/0.3828, allocations: 4 kB / 0.7696 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.46e-05/0.3829, allocations: 79.31 kB / 0.7697 GB, free: 0.8164 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3829, allocations: 3.938 kB / 0.7697 GB, free: 0.8125 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0001697/0.383, allocations: 4 kB / 0.7697 GB, free: 0.8086 MB / 0.5294 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 8.794e-05/0.3831, allocations: 103.2 kB / 0.7698 GB, free: 0.6953 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 6.347e-05/0.3832, allocations: 4 kB / 0.7698 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.3832, allocations: 0 / 0.7698 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 9.588e-06/0.3832, allocations: 8.219 kB / 0.7698 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001277/0.3834, allocations: 12 kB / 0.7698 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001911/0.3836, allocations: 111.6 kB / 0.7699 GB, free: 0.5273 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002248/0.3838, allocations: 0.6767 MB / 0.7706 GB, free: 15.82 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.676e-05/0.3838, allocations: 7.438 kB / 0.7706 GB, free: 15.82 MB / 0.545 GB Notification: Performance of SimCode: time 2.41e-07/0.3838, allocations: 0 / 0.7706 GB, free: 15.82 MB / 0.545 GB Notification: Performance of Templates: time 0.001331/0.3851, allocations: 367.8 kB / 0.7709 GB, free: 15.46 MB / 0.545 GB 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)