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.001563/0.001563, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001853/0.001853, allocations: 194.5 kB / 16.25 MB, free: 6.621 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.353/1.353, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002002/0.002002, allocations: 275.2 kB / 290.4 MB, free: 2.145 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9379/0.9379, allocations: 169.2 MB / 0.4978 GB, free: 14.08 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001616/0.001616, allocations: 91.17 kB / 0.5947 GB, free: 28.07 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1429/0.1445, allocations: 86.97 MB / 0.6796 GB, free: 1.051 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.Example8): time 0.001556/0.1461, allocations: 0.5815 MB / 0.6802 GB, free: 492 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001134/0.1462, allocations: 20.44 kB / 0.6802 GB, free: 472 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.059e-05/0.1463, allocations: 2.75 kB / 0.6802 GB, free: 472 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 1.294e-05/0.1463, allocations: 0 / 0.6802 GB, free: 472 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001371/0.1464, allocations: 7.922 kB / 0.6802 GB, free: 464 kB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.476e-06/0.1464, allocations: 0 / 0.6802 GB, free: 464 kB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 3.78e-05/0.1465, allocations: 4 kB / 0.6802 GB, free: 460 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.482e-05/0.1465, allocations: 0 / 0.6802 GB, free: 460 kB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.965e-05/0.1466, allocations: 4 kB / 0.6802 GB, free: 456 kB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.959e-05/0.1466, allocations: 1.781 kB / 0.6802 GB, free: 456 kB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.273e-05/0.1466, allocations: 0 / 0.6802 GB, free: 456 kB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.141e-06/0.1466, allocations: 0 / 0.6802 GB, free: 456 kB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.401e-05/0.1466, allocations: 7.922 kB / 0.6802 GB, free: 448 kB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 1.263e-05/0.1467, allocations: 0 / 0.6802 GB, free: 448 kB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 3.464e-05/0.1467, allocations: 12.64 kB / 0.6802 GB, free: 436 kB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.1467, allocations: 0 / 0.6802 GB, free: 436 kB / 478.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.1467, allocations: 0.875 kB / 0.6802 GB, free: 436 kB / 478.1 MB Notification: Performance of Transformations before backend: time 3.938e-06/0.1467, allocations: 0 / 0.6802 GB, free: 436 kB / 478.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.0002498/0.147, allocations: 312.2 kB / 0.6805 GB, free: 72 kB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.074e-05/0.147, allocations: 13.38 kB / 0.6805 GB, free: 60 kB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.533e-05/0.147, allocations: 8.922 kB / 0.6806 GB, free: 52 kB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001035/0.1472, allocations: 164.6 kB / 0.6807 GB, free: 15.85 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.528e-06/0.1472, allocations: 1.031 kB / 0.6807 GB, free: 15.85 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.046e-05/0.1472, allocations: 4.359 kB / 0.6807 GB, free: 15.85 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.825e-05/0.1473, allocations: 47.98 kB / 0.6808 GB, free: 15.79 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.733e-06/0.1473, allocations: 192 / 0.6808 GB, free: 15.79 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.1473, allocations: 3.938 kB / 0.6808 GB, free: 15.79 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.044e-06/0.1473, allocations: 3.938 kB / 0.6808 GB, free: 15.78 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.141e-05/0.1473, allocations: 11.92 kB / 0.6808 GB, free: 15.77 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000135/0.1475, allocations: 154.6 kB / 0.6809 GB, free: 15.57 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.564e-05/0.1475, allocations: 37.28 kB / 0.681 GB, free: 15.51 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.067e-05/0.1476, allocations: 17.66 kB / 0.681 GB, free: 15.49 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.306e-05/0.1476, allocations: 3.984 kB / 0.681 GB, free: 15.48 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.29e-05/0.1476, allocations: 38.56 kB / 0.681 GB, free: 15.44 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.1476, allocations: 0 / 0.681 GB, free: 15.44 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001212/0.1478, allocations: 45.58 kB / 0.6811 GB, free: 15.39 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.889e-05/0.1478, allocations: 77.11 kB / 0.6811 GB, free: 15.29 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.641e-05/0.1479, allocations: 101.8 kB / 0.6812 GB, free: 15.18 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.199e-05/0.1479, allocations: 25.7 kB / 0.6813 GB, free: 15.15 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.502e-05/0.1479, allocations: 80.14 kB / 0.6813 GB, free: 15.07 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.043e-05/0.148, allocations: 3.906 kB / 0.6813 GB, free: 15.07 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.474e-05/0.148, allocations: 13.72 kB / 0.6814 GB, free: 15.05 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.617e-05/0.1481, allocations: 319.2 kB / 0.6817 GB, free: 14.73 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.497e-06/0.1481, allocations: 0 / 0.6817 GB, free: 14.73 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.438e-05/0.1481, allocations: 13.72 kB / 0.6817 GB, free: 14.71 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.252e-05/0.1482, allocations: 25.64 kB / 0.6817 GB, free: 14.68 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.1482, allocations: 0 / 0.6817 GB, free: 14.68 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.543e-05/0.1482, allocations: 33.8 kB / 0.6817 GB, free: 14.64 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.1482, allocations: 12.03 kB / 0.6817 GB, free: 14.62 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.1483, allocations: 7.875 kB / 0.6817 GB, free: 14.62 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.034e-05/0.1483, allocations: 0 / 0.6817 GB, free: 14.62 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.717e-05/0.1483, allocations: 7.984 kB / 0.6818 GB, free: 14.61 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.79e-06/0.1483, allocations: 4 kB / 0.6818 GB, free: 14.61 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.478e-05/0.1484, allocations: 0 / 0.6818 GB, free: 14.61 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.354e-06/0.1484, allocations: 4 kB / 0.6818 GB, free: 14.6 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 6.681e-05/0.1484, allocations: 111.2 kB / 0.6819 GB, free: 14.48 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.835e-06/0.1485, allocations: 3.938 kB / 0.6819 GB, free: 14.48 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001025/0.1486, allocations: 64.59 kB / 0.6819 GB, free: 14.41 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.532e-06/0.1486, allocations: 0 / 0.6819 GB, free: 14.41 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.1486, allocations: 0 / 0.6819 GB, free: 14.41 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.974e-06/0.1486, allocations: 0 / 0.6819 GB, free: 14.41 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.099e-05/0.1487, allocations: 149.7 kB / 0.6821 GB, free: 14.21 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.1487, allocations: 0 / 0.6821 GB, free: 14.21 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.218e-05/0.1487, allocations: 7.938 kB / 0.6821 GB, free: 14.21 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.1487, allocations: 0 / 0.6821 GB, free: 14.21 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.204e-06/0.1487, allocations: 8 kB / 0.6821 GB, free: 14.2 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.1487, allocations: 0 / 0.6821 GB, free: 14.2 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.1488, allocations: 0 / 0.6821 GB, free: 14.2 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.865e-05/0.1488, allocations: 73.92 kB / 0.6822 GB, free: 14.11 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.368e-05/0.1489, allocations: 77.11 kB / 0.6822 GB, free: 14.01 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.074e-05/0.1489, allocations: 3.938 kB / 0.6822 GB, free: 14.01 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.59e-05/0.1489, allocations: 4.031 kB / 0.6822 GB, free: 14 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.258e-05/0.1489, allocations: 11.98 kB / 0.6823 GB, free: 13.99 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.255e-06/0.149, allocations: 0 / 0.6823 GB, free: 13.99 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.645e-05/0.149, allocations: 75.28 kB / 0.6823 GB, free: 13.92 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.149, allocations: 4 kB / 0.6823 GB, free: 13.91 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001753/0.1492, allocations: 0 / 0.6823 GB, free: 13.91 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.888e-05/0.1493, allocations: 95.25 kB / 0.6824 GB, free: 13.81 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 6.411e-05/0.1493, allocations: 12.03 kB / 0.6824 GB, free: 13.8 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.312e-06/0.1493, allocations: 0 / 0.6824 GB, free: 13.8 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 9.708e-06/0.1494, allocations: 8 kB / 0.6824 GB, free: 13.79 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001324/0.1495, allocations: 7.984 kB / 0.6825 GB, free: 13.78 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001656/0.1497, allocations: 89.94 kB / 0.6825 GB, free: 13.66 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002368/0.1499, allocations: 0.6768 MB / 0.6832 GB, free: 12.96 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.851e-05/0.1499, allocations: 8.188 kB / 0.6832 GB, free: 12.95 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.702e-05/0.15, allocations: 7.438 kB / 0.6832 GB, free: 12.95 MB / 494.1 MB Notification: Performance of SimCode: time 2.3e-07/0.15, allocations: 0 / 0.6832 GB, free: 12.95 MB / 494.1 MB Notification: Performance of Templates: time 0.001684/0.1517, allocations: 202.8 kB / 0.6834 GB, free: 12.75 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)