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/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.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/BuildingSystems 2.0.0-master/package.mo): time 0.7783/0.7783, allocations: 143.4 MB / 159.2 MB, free: 4.84 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.001123/0.001123, allocations: 188.5 kB / 191.9 MB, free: 5.695 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.472/1.472, allocations: 222.9 MB / 447.4 MB, free: 5.855 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.001086/0.001086, allocations: 115.5 kB / 0.517 GB, free: 3.715 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001852/0.001852, allocations: 278.2 kB / 0.5973 GB, free: 49.36 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001389/0.001389, allocations: 83.88 kB / 0.6886 GB, free: 3.832 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3567/0.3581, allocations: 81.29 MB / 0.7679 GB, free: 27.64 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.Example5): time 0.001624/0.3598, allocations: 0.5868 MB / 0.7685 GB, free: 27.06 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001535/0.36, allocations: 47.05 kB / 0.7686 GB, free: 27.02 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.037e-05/0.36, allocations: 0 / 0.7686 GB, free: 27.02 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 3.481e-05/0.3601, allocations: 0 / 0.7686 GB, free: 27.02 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000137/0.3602, allocations: 4 kB / 0.7686 GB, free: 27.02 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.11e-05/0.3603, allocations: 4 kB / 0.7686 GB, free: 27.01 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 4.566e-05/0.3603, allocations: 4 kB / 0.7686 GB, free: 27.01 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.796e-05/0.3604, allocations: 15.97 kB / 0.7686 GB, free: 26.99 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.89e-05/0.3604, allocations: 5.844 kB / 0.7686 GB, free: 26.99 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.828e-05/0.3605, allocations: 7.938 kB / 0.7686 GB, free: 26.98 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.715e-05/0.3605, allocations: 0 / 0.7686 GB, free: 26.98 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.925e-06/0.3605, allocations: 0 / 0.7686 GB, free: 26.98 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 4.703e-05/0.3606, allocations: 11.97 kB / 0.7686 GB, free: 26.97 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 2.614e-05/0.3606, allocations: 11.94 kB / 0.7686 GB, free: 26.96 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 4.71e-05/0.3607, allocations: 4 kB / 0.7686 GB, free: 26.95 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.3607, allocations: 0 / 0.7686 GB, free: 26.95 MB / 458.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.3607, allocations: 0 / 0.7686 GB, free: 26.95 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.576e-06/0.3607, allocations: 0 / 0.7686 GB, free: 26.95 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000344/0.361, allocations: 334.2 kB / 0.7689 GB, free: 26.58 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.37e-05/0.3611, allocations: 8.031 kB / 0.769 GB, free: 26.57 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.059e-05/0.3611, allocations: 4.938 kB / 0.769 GB, free: 26.57 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001373/0.3612, allocations: 172.4 kB / 0.7691 GB, free: 26.36 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.002e-05/0.3613, allocations: 4.375 kB / 0.7691 GB, free: 26.36 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.637e-05/0.3613, allocations: 384 / 0.7691 GB, free: 26.36 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.78e-05/0.3614, allocations: 30.27 kB / 0.7692 GB, free: 26.32 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.874e-06/0.3614, allocations: 4.125 kB / 0.7692 GB, free: 26.32 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.045e-06/0.3614, allocations: 3.938 kB / 0.7692 GB, free: 26.31 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.3614, allocations: 3.984 kB / 0.7692 GB, free: 26.31 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.678e-05/0.3614, allocations: 7.938 kB / 0.7692 GB, free: 26.3 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001115/0.3615, allocations: 153.7 kB / 0.7693 GB, free: 26.1 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.991e-05/0.3616, allocations: 24.64 kB / 0.7693 GB, free: 26.07 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.594e-05/0.3616, allocations: 8.797 kB / 0.7694 GB, free: 26.06 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.13e-05/0.3616, allocations: 4.062 kB / 0.7694 GB, free: 26.05 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.344e-05/0.3616, allocations: 38.55 kB / 0.7694 GB, free: 26.01 MB / 458.7 MB Notification: Performance of pre-optimization done (n=1): time 9.71e-07/0.3616, allocations: 0 / 0.7694 GB, free: 26.01 MB / 458.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001227/0.3618, allocations: 53.47 kB / 0.7694 GB, free: 25.95 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.948e-05/0.3618, allocations: 51.41 kB / 0.7695 GB, free: 25.89 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.265e-05/0.3619, allocations: 114 kB / 0.7696 GB, free: 25.77 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 7.955e-06/0.3619, allocations: 25.7 kB / 0.7696 GB, free: 25.73 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.19e-05/0.3619, allocations: 80.14 kB / 0.7697 GB, free: 25.65 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.009e-05/0.3619, allocations: 4 kB / 0.7697 GB, free: 25.65 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.28e-05/0.362, allocations: 13.72 kB / 0.7697 GB, free: 25.63 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 4.399e-05/0.362, allocations: 314.8 kB / 0.77 GB, free: 25.31 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.407e-05/0.362, allocations: 4 kB / 0.77 GB, free: 25.31 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.779e-05/0.3621, allocations: 21.72 kB / 0.77 GB, free: 25.28 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.158e-05/0.3621, allocations: 25.64 kB / 0.7701 GB, free: 25.25 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.3621, allocations: 0 / 0.7701 GB, free: 25.25 MB / 458.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.577e-05/0.3622, allocations: 45.69 kB / 0.7701 GB, free: 25.2 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.095e-05/0.3622, allocations: 4 kB / 0.7701 GB, free: 25.2 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.3622, allocations: 11.88 kB / 0.7701 GB, free: 25.18 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.094e-05/0.3622, allocations: 0 / 0.7701 GB, free: 25.18 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.404e-05/0.3623, allocations: 8.125 kB / 0.7701 GB, free: 25.18 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.3623, allocations: 0 / 0.7701 GB, free: 25.18 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.334e-05/0.3623, allocations: 7.891 kB / 0.7701 GB, free: 25.17 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.68e-06/0.3623, allocations: 0 / 0.7701 GB, free: 25.17 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.473e-05/0.3624, allocations: 109.8 kB / 0.7702 GB, free: 25.05 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.333e-06/0.3624, allocations: 0 / 0.7702 GB, free: 25.05 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.228e-05/0.3625, allocations: 52.75 kB / 0.7703 GB, free: 25 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-06/0.3625, allocations: 0 / 0.7703 GB, free: 25 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.3625, allocations: 0 / 0.7703 GB, free: 25 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.3625, allocations: 7.969 kB / 0.7703 GB, free: 24.99 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.307e-05/0.3626, allocations: 157.7 kB / 0.7705 GB, free: 24.79 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.3626, allocations: 7.922 kB / 0.7705 GB, free: 24.78 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.321e-05/0.3626, allocations: 0 / 0.7705 GB, free: 24.78 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.3626, allocations: 4 kB / 0.7705 GB, free: 24.77 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.504e-06/0.3626, allocations: 3.938 kB / 0.7705 GB, free: 24.77 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.3626, allocations: 0 / 0.7705 GB, free: 24.77 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.3626, allocations: 0 / 0.7705 GB, free: 24.77 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005751/0.3632, allocations: 0.9347 MB / 0.7714 GB, free: 23.7 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.71e-05/0.3632, allocations: 81.14 kB / 0.7715 GB, free: 23.6 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.332e-06/0.3633, allocations: 0 / 0.7715 GB, free: 23.6 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.961e-05/0.3633, allocations: 4 kB / 0.7715 GB, free: 23.59 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.63e-05/0.3633, allocations: 8.141 kB / 0.7715 GB, free: 23.59 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.605e-06/0.3633, allocations: 3.938 kB / 0.7715 GB, free: 23.58 MB / 458.7 MB Notification: Performance of sorting global known variables: time 2.522e-05/0.3633, allocations: 83.28 kB / 0.7716 GB, free: 23.5 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3633, allocations: 0 / 0.7716 GB, free: 23.5 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.000259/0.3636, allocations: 8 kB / 0.7716 GB, free: 23.49 MB / 458.7 MB 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 7.43e-05/0.3637, allocations: 95.78 kB / 0.7717 GB, free: 23.39 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 7.029e-05/0.3638, allocations: 11.98 kB / 0.7717 GB, free: 23.38 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.3638, allocations: 4.125 kB / 0.7717 GB, free: 23.38 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 1.422e-05/0.3638, allocations: 15.92 kB / 0.7717 GB, free: 23.36 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001352/0.3639, allocations: 9.5 kB / 0.7717 GB, free: 23.35 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002476/0.3642, allocations: 218.1 kB / 0.7719 GB, free: 23.1 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001033/0.3643, allocations: 0.677 MB / 0.7726 GB, free: 22.39 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 1.691e-05/0.3643, allocations: 7.984 kB / 0.7726 GB, free: 22.39 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.78e-05/0.3643, allocations: 7.438 kB / 0.7726 GB, free: 22.38 MB / 458.7 MB Notification: Performance of SimCode: time 2.2e-07/0.3644, allocations: 4.062 kB / 0.7726 GB, free: 22.38 MB / 458.7 MB Notification: Performance of Templates: time 0.001863/0.3662, allocations: 352.6 kB / 0.7729 GB, free: 22.03 MB / 458.7 MB 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)