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.8141/0.8141, allocations: 143.4 MB / 158.3 MB, free: 5.777 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.001119/0.001119, allocations: 173.1 kB / 191.5 MB, free: 5.758 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.475/1.475, allocations: 223.2 MB / 447.7 MB, free: 4.789 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.00111/0.001111, allocations: 84.34 kB / 0.5188 GB, free: 1.156 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001745/0.001744, allocations: 283.6 kB / 0.6005 GB, free: 48.77 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004624/0.0004624, allocations: 15.38 kB / 0.6929 GB, free: 59.54 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1713/0.1718, allocations: 82.8 MB / 0.7737 GB, free: 13.88 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2278/0.3996, allocations: 107.8 MB / 0.879 GB, free: 1.973 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002953/0.3999, allocations: 69.98 kB / 0.879 GB, free: 1.906 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.0009384/0.4009, allocations: 419.6 kB / 0.8794 GB, free: 1.492 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.534e-06/0.4009, allocations: 0 / 0.8794 GB, free: 1.492 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 5.631e-06/0.4009, allocations: 0 / 0.8794 GB, free: 1.492 MB / 0.5417 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.0003203/0.4013, allocations: 315.5 kB / 0.8797 GB, free: 1.137 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.634e-05/0.4013, allocations: 8.031 kB / 0.8797 GB, free: 1.129 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.954e-05/0.4014, allocations: 0 / 0.8797 GB, free: 1.129 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001284/0.4015, allocations: 167.1 kB / 0.8799 GB, free: 0.9258 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.234e-05/0.4016, allocations: 3.953 kB / 0.8799 GB, free: 0.9219 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.297e-05/0.4016, allocations: 0 / 0.8799 GB, free: 0.9219 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001381/0.4017, allocations: 39.42 kB / 0.8799 GB, free: 0.8711 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.4018, allocations: 0 / 0.8799 GB, free: 0.8711 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.4018, allocations: 4 kB / 0.8799 GB, free: 0.8672 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.4018, allocations: 0 / 0.8799 GB, free: 0.8672 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.712e-05/0.4019, allocations: 7.938 kB / 0.8799 GB, free: 0.8594 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002144/0.4021, allocations: 154.5 kB / 0.8801 GB, free: 0.6562 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 8.226e-05/0.4022, allocations: 41.16 kB / 0.8801 GB, free: 0.5977 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.939e-05/0.4022, allocations: 3.953 kB / 0.8801 GB, free: 0.5938 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.035e-05/0.4023, allocations: 38.69 kB / 0.8802 GB, free: 0.5469 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=2): time 1.743e-06/0.4023, allocations: 0 / 0.8802 GB, free: 0.5469 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2): time 0.0002025/0.4025, allocations: 45.62 kB / 0.8802 GB, free: 0.4961 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.756e-05/0.4026, allocations: 77.11 kB / 0.8803 GB, free: 412 kB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.164e-05/0.4026, allocations: 85 kB / 0.8804 GB, free: 320 kB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.714e-05/0.4027, allocations: 25.7 kB / 0.8804 GB, free: 288 kB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.112e-05/0.4027, allocations: 84.39 kB / 0.8805 GB, free: 200 kB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 4.059e-05/0.4028, allocations: 7.906 kB / 0.8805 GB, free: 192 kB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.046e-06/0.4028, allocations: 0 / 0.8805 GB, free: 192 kB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.4492/0.852, allocations: 310.8 kB / 0.8808 GB, free: 109.2 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.015e-05/0.8521, allocations: 3.469 kB / 0.8808 GB, free: 109.2 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.556e-05/0.8522, allocations: 17.03 kB / 0.8808 GB, free: 109.2 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.61e-05/0.8522, allocations: 3.141 kB / 0.8808 GB, free: 109.2 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.8522, allocations: 2.75 kB / 0.8808 GB, free: 109.2 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001348/0.8524, allocations: 41.69 kB / 0.8808 GB, free: 109.2 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.897e-05/0.8524, allocations: 6.625 kB / 0.8808 GB, free: 109.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.8524, allocations: 3.547 kB / 0.8809 GB, free: 109.2 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.538e-05/0.8525, allocations: 1.25 kB / 0.8809 GB, free: 109.2 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.602e-05/0.8526, allocations: 6.531 kB / 0.8809 GB, free: 109.2 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.798e-06/0.8526, allocations: 1.5 kB / 0.8809 GB, free: 109.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.383e-05/0.8526, allocations: 6.25 kB / 0.8809 GB, free: 109.2 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.026e-05/0.8526, allocations: 1.438 kB / 0.8809 GB, free: 109.2 MB / 0.5417 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.57e-05/0.8527, allocations: 110.5 kB / 0.881 GB, free: 109.1 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.531e-05/0.8528, allocations: 5.484 kB / 0.881 GB, free: 109 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001363/0.8529, allocations: 53.83 kB / 0.881 GB, free: 109 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.8529, allocations: 2.047 kB / 0.881 GB, free: 109 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.8529, allocations: 1.625 kB / 0.881 GB, free: 109 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.8529, allocations: 2.406 kB / 0.881 GB, free: 109 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.884e-05/0.853, allocations: 149 kB / 0.8812 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.853, allocations: 1.875 kB / 0.8812 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.396e-05/0.8531, allocations: 3.875 kB / 0.8812 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.8531, allocations: 5.219 kB / 0.8812 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.201e-05/0.8531, allocations: 5.516 kB / 0.8812 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/0.8531, allocations: 1.484 kB / 0.8812 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.8531, allocations: 2.078 kB / 0.8812 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.598e-05/0.8532, allocations: 82.36 kB / 0.8813 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 2.969e-05/0.8533, allocations: 87.48 kB / 0.8814 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.461e-05/0.8533, allocations: 0.6094 kB / 0.8814 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.738e-05/0.8533, allocations: 1.938 kB / 0.8814 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.807e-05/0.8533, allocations: 2.219 kB / 0.8814 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-06/0.8534, allocations: 1.938 kB / 0.8814 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 2.426e-05/0.8534, allocations: 83.02 kB / 0.8814 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of sort global known variables: time 9.1e-08/0.8534, allocations: 0 / 0.8814 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002379/0.8536, allocations: 1.75 kB / 0.8814 GB, free: 108.6 MB / 0.5417 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001583/0.8538, allocations: 103.2 kB / 0.8815 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 9.277e-05/0.8539, allocations: 10.3 kB / 0.8816 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.8539, allocations: 0.9375 kB / 0.8816 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 1.053e-05/0.8539, allocations: 3.844 kB / 0.8816 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001172/0.854, allocations: 2.75 kB / 0.8816 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002454/0.8543, allocations: 94.97 kB / 0.8817 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001575/0.8545, allocations: 0.679 MB / 0.8823 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 2.531e-05/0.8545, allocations: 3.906 kB / 0.8823 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.819e-05/0.8545, allocations: 8.5 kB / 0.8823 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of SimCode: time 7.81e-07/0.8545, allocations: 0 / 0.8823 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of Templates: time 0.002213/0.8568, allocations: 182.6 kB / 0.8825 GB, free: 107.6 MB / 0.5417 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)