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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.8614/0.8614, allocations: 143.4 MB / 159.2 MB, free: 4.863 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001204/0.001204, allocations: 184.5 kB / 191.9 MB, free: 5.719 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.596/1.596, allocations: 222.9 MB / 447.3 MB, free: 5.863 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001085/0.001085, allocations: 91.55 kB / 0.517 GB, free: 3.73 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00192/0.00192, allocations: 283.5 kB / 0.5973 GB, free: 49.36 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001438/0.001438, allocations: 75.89 kB / 0.6885 GB, free: 3.832 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3593/0.3607, allocations: 81.3 MB / 0.7679 GB, free: 27.65 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.Example8): time 0.001627/0.3624, allocations: 0.5714 MB / 0.7685 GB, free: 27.08 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001262/0.3626, allocations: 19.91 kB / 0.7685 GB, free: 27.06 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.03e-05/0.3626, allocations: 0 / 0.7685 GB, free: 27.06 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 1.628e-05/0.3626, allocations: 0 / 0.7685 GB, free: 27.06 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001343/0.3628, allocations: 3.984 kB / 0.7685 GB, free: 27.05 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.505e-06/0.3628, allocations: 0 / 0.7685 GB, free: 27.05 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 4.301e-05/0.3628, allocations: 4 kB / 0.7685 GB, free: 27.05 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.216e-05/0.3629, allocations: 0 / 0.7685 GB, free: 27.05 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.6e-05/0.3629, allocations: 0 / 0.7685 GB, free: 27.05 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.816e-05/0.363, allocations: 7.938 kB / 0.7685 GB, free: 27.04 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.252e-05/0.363, allocations: 4 kB / 0.7685 GB, free: 27.04 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.891e-06/0.363, allocations: 0 / 0.7685 GB, free: 27.04 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 1.07e-05/0.363, allocations: 0 / 0.7685 GB, free: 27.04 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 1.481e-05/0.363, allocations: 3.938 kB / 0.7685 GB, free: 27.04 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 3.471e-05/0.3631, allocations: 7.922 kB / 0.7685 GB, free: 27.03 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.3631, allocations: 0 / 0.7685 GB, free: 27.03 MB / 458.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.3631, allocations: 0 / 0.7685 GB, free: 27.03 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.948e-06/0.3631, allocations: 4 kB / 0.7685 GB, free: 27.02 MB / 458.7 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.0002117/0.3633, allocations: 315.5 kB / 0.7688 GB, free: 26.66 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.344e-05/0.3633, allocations: 16.09 kB / 0.7689 GB, free: 26.65 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.604e-05/0.3634, allocations: 4.938 kB / 0.7689 GB, free: 26.64 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.436e-05/0.3634, allocations: 163.6 kB / 0.769 GB, free: 26.45 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.893e-06/0.3634, allocations: 384 / 0.769 GB, free: 26.45 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.094e-05/0.3635, allocations: 384 / 0.769 GB, free: 26.45 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.659e-05/0.3636, allocations: 47.91 kB / 0.7691 GB, free: 26.39 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.3636, allocations: 192 / 0.7691 GB, free: 26.39 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.758e-06/0.3636, allocations: 11.92 kB / 0.7691 GB, free: 26.38 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.3636, allocations: 0 / 0.7691 GB, free: 26.38 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.263e-05/0.3636, allocations: 8 kB / 0.7691 GB, free: 26.37 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001086/0.3637, allocations: 154.5 kB / 0.7692 GB, free: 26.17 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.817e-05/0.3638, allocations: 43.28 kB / 0.7693 GB, free: 26.11 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.796e-05/0.3638, allocations: 9.719 kB / 0.7693 GB, free: 26.09 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.532e-05/0.3638, allocations: 4.062 kB / 0.7693 GB, free: 26.09 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.462e-05/0.3639, allocations: 34.56 kB / 0.7693 GB, free: 26.05 MB / 458.7 MB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.3639, allocations: 0 / 0.7693 GB, free: 26.05 MB / 458.7 MB Notification: Performance of matching and sorting (n=2): time 0.000117/0.364, allocations: 49.56 kB / 0.7694 GB, free: 25.99 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.785e-05/0.364, allocations: 77.11 kB / 0.7694 GB, free: 25.9 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.664e-05/0.364, allocations: 97.8 kB / 0.7695 GB, free: 25.79 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 5.992e-06/0.364, allocations: 25.7 kB / 0.7696 GB, free: 25.76 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.626e-06/0.3641, allocations: 84.39 kB / 0.7696 GB, free: 25.68 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.641e-05/0.3641, allocations: 10.58 kB / 0.7696 GB, free: 25.67 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.175e-05/0.3641, allocations: 13.72 kB / 0.7697 GB, free: 25.65 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 4.152e-05/0.3642, allocations: 314.8 kB / 0.77 GB, free: 25.33 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.448e-06/0.3642, allocations: 3.938 kB / 0.77 GB, free: 25.33 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.122e-05/0.3642, allocations: 13.72 kB / 0.77 GB, free: 25.31 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.967e-05/0.3642, allocations: 21.78 kB / 0.77 GB, free: 25.28 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.3642, allocations: 0 / 0.77 GB, free: 25.28 MB / 458.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.831e-05/0.3643, allocations: 45.62 kB / 0.77 GB, free: 25.23 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.758e-06/0.3643, allocations: 8 kB / 0.77 GB, free: 25.22 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.3643, allocations: 0 / 0.77 GB, free: 25.22 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.11e-05/0.3643, allocations: 3.938 kB / 0.77 GB, free: 25.22 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.609e-05/0.3644, allocations: 4 kB / 0.7701 GB, free: 25.21 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.3644, allocations: 0 / 0.7701 GB, free: 25.21 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.573e-05/0.3644, allocations: 0 / 0.7701 GB, free: 25.21 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.121e-06/0.3644, allocations: 8.062 kB / 0.7701 GB, free: 25.21 MB / 458.7 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 4.199e-05/0.3645, allocations: 105.8 kB / 0.7702 GB, free: 25.09 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.373e-06/0.3645, allocations: 3.938 kB / 0.7702 GB, free: 25.09 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.432e-05/0.3646, allocations: 52.69 kB / 0.7702 GB, free: 25.04 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.245e-06/0.3646, allocations: 4 kB / 0.7702 GB, free: 25.03 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.3646, allocations: 3.984 kB / 0.7702 GB, free: 25.03 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.3646, allocations: 0 / 0.7702 GB, free: 25.03 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.855e-05/0.3647, allocations: 149.8 kB / 0.7704 GB, free: 24.83 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.3647, allocations: 0 / 0.7704 GB, free: 24.83 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.945e-05/0.3647, allocations: 0 / 0.7704 GB, free: 24.83 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.3647, allocations: 4 kB / 0.7704 GB, free: 24.83 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.783e-06/0.3647, allocations: 11.88 kB / 0.7704 GB, free: 24.82 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.694e-06/0.3647, allocations: 3.984 kB / 0.7704 GB, free: 24.81 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.3647, allocations: 0 / 0.7704 GB, free: 24.81 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001665/0.3649, allocations: 0.617 MB / 0.771 GB, free: 24.13 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.632e-05/0.3649, allocations: 81.02 kB / 0.7711 GB, free: 24.04 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.033e-05/0.3649, allocations: 4 kB / 0.7711 GB, free: 24.03 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.457e-05/0.365, allocations: 0 / 0.7711 GB, free: 24.03 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.448e-05/0.365, allocations: 7.984 kB / 0.7711 GB, free: 24.02 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.294e-06/0.365, allocations: 3.938 kB / 0.7711 GB, free: 24.02 MB / 458.7 MB Notification: Performance of sorting global known variables: time 1.037e-05/0.365, allocations: 75.28 kB / 0.7711 GB, free: 23.95 MB / 458.7 MB Notification: Performance of sort global known variables: time 9e-08/0.365, allocations: 4.031 kB / 0.7712 GB, free: 23.94 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002823/0.3653, allocations: 4 kB / 0.7712 GB, free: 23.94 MB / 458.7 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 7.593e-05/0.3654, allocations: 91.78 kB / 0.7712 GB, free: 23.84 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 6.044e-05/0.3654, allocations: 11.94 kB / 0.7713 GB, free: 23.82 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.3655, allocations: 0 / 0.7713 GB, free: 23.82 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 9.728e-06/0.3655, allocations: 8 kB / 0.7713 GB, free: 23.82 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001304/0.3656, allocations: 8.922 kB / 0.7713 GB, free: 23.81 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002339/0.3658, allocations: 190.6 kB / 0.7715 GB, free: 23.58 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.234e-05/0.3659, allocations: 0.677 MB / 0.7721 GB, free: 22.88 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 1.838e-05/0.366, allocations: 0 / 0.7721 GB, free: 22.88 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.521e-05/0.366, allocations: 7.438 kB / 0.7721 GB, free: 22.87 MB / 458.7 MB Notification: Performance of SimCode: time 7.81e-07/0.366, allocations: 0 / 0.7721 GB, free: 22.87 MB / 458.7 MB Notification: Performance of Templates: time 0.001565/0.3676, allocations: 196.8 kB / 0.7723 GB, free: 22.68 MB / 458.7 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)