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.8495/0.8495, allocations: 141.8 MB / 149.3 MB, free: 9.242 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.001007/0.001007, allocations: 179.8 kB / 182.2 MB, free: 9.473 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.478/1.478, allocations: 221.5 MB / 436.4 MB, free: 13.3 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.0009565/0.0009565, allocations: 90.47 kB / 0.5074 GB, free: 10.13 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001747/0.001747, allocations: 279.4 kB / 0.5889 GB, free: 54.68 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.884e-05/1.907e-05, allocations: 0 / 0.6765 GB, free: 12.86 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4567/0.4567, allocations: 82.77 MB / 0.7573 GB, free: 32.05 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1452/0.602, allocations: 107.1 MB / 0.8619 GB, free: 4.832 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000229/0.6023, allocations: 75.81 kB / 0.862 GB, free: 4.762 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.0012/0.6035, allocations: 489.3 kB / 0.8625 GB, free: 4.285 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.164e-06/0.6036, allocations: 3.938 kB / 0.8625 GB, free: 4.281 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.739e-06/0.6036, allocations: 0 / 0.8625 GB, free: 4.281 MB / 0.5261 GB 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.0003302/0.6039, allocations: 315.4 kB / 0.8628 GB, free: 3.93 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.994e-05/0.604, allocations: 12.03 kB / 0.8628 GB, free: 3.918 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.971e-05/0.604, allocations: 0 / 0.8628 GB, free: 3.918 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002765/0.6043, allocations: 179.1 kB / 0.8629 GB, free: 3.703 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.438e-05/0.6044, allocations: 3.953 kB / 0.863 GB, free: 3.699 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.852e-05/0.6044, allocations: 3.906 kB / 0.863 GB, free: 3.695 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.58e-05/0.6044, allocations: 4 kB / 0.863 GB, free: 3.691 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.793e-05/0.6045, allocations: 33.69 kB / 0.863 GB, free: 3.652 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.6045, allocations: 3.938 kB / 0.863 GB, free: 3.648 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.407e-06/0.6045, allocations: 0 / 0.863 GB, free: 3.648 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-06/0.6046, allocations: 4 kB / 0.863 GB, free: 3.645 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001638/0.6047, allocations: 134.2 kB / 0.8631 GB, free: 3.477 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 4.236e-05/0.6048, allocations: 22.58 kB / 0.8631 GB, free: 3.445 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.877e-05/0.6048, allocations: 4.859 kB / 0.8632 GB, free: 3.438 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.877e-05/0.6048, allocations: 0 / 0.8632 GB, free: 3.438 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.756e-05/0.6049, allocations: 42.56 kB / 0.8632 GB, free: 3.387 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=1): time 7.32e-07/0.6049, allocations: 0 / 0.8632 GB, free: 3.387 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1): time 0.0001414/0.605, allocations: 37.7 kB / 0.8632 GB, free: 3.344 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.944e-05/0.6051, allocations: 51.41 kB / 0.8633 GB, free: 3.281 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.581e-05/0.6052, allocations: 101 kB / 0.8634 GB, free: 3.176 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.751e-05/0.6052, allocations: 25.7 kB / 0.8634 GB, free: 3.145 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.364e-05/0.6052, allocations: 84.08 kB / 0.8635 GB, free: 3.059 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.341e-05/0.6053, allocations: 4 kB / 0.8635 GB, free: 3.055 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.337e-06/0.6053, allocations: 0 / 0.8635 GB, free: 3.055 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001222/0.6054, allocations: 318.8 kB / 0.8638 GB, free: 2.734 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.297e-05/0.6054, allocations: 4.031 kB / 0.8638 GB, free: 2.73 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.237e-05/0.6055, allocations: 13.72 kB / 0.8638 GB, free: 2.711 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.972e-05/0.6055, allocations: 7.984 kB / 0.8638 GB, free: 2.703 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.6055, allocations: 0 / 0.8638 GB, free: 2.703 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.08e-05/0.6056, allocations: 49.59 kB / 0.8639 GB, free: 2.648 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.6056, allocations: 4 kB / 0.8639 GB, free: 2.645 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.6056, allocations: 7.938 kB / 0.8639 GB, free: 2.637 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.6057, allocations: 8.078 kB / 0.8639 GB, free: 2.629 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.054e-05/0.6057, allocations: 7.938 kB / 0.8639 GB, free: 2.621 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.6057, allocations: 0 / 0.8639 GB, free: 2.621 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.468e-05/0.6058, allocations: 0 / 0.8639 GB, free: 2.621 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.925e-06/0.6058, allocations: 0 / 0.8639 GB, free: 2.621 MB / 0.5261 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 () * 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 7.026e-05/0.6059, allocations: 108.9 kB / 0.864 GB, free: 2.508 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.317e-06/0.6059, allocations: 0 / 0.864 GB, free: 2.508 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000132/0.606, allocations: 53.42 kB / 0.864 GB, free: 2.449 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.606, allocations: 7.984 kB / 0.864 GB, free: 2.441 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.606, allocations: 0 / 0.864 GB, free: 2.441 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.6061, allocations: 0 / 0.864 GB, free: 2.441 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.067e-05/0.6061, allocations: 130.2 kB / 0.8642 GB, free: 2.277 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.6062, allocations: 0 / 0.8642 GB, free: 2.277 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.906e-05/0.6062, allocations: 7.938 kB / 0.8642 GB, free: 2.27 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.6062, allocations: 0 / 0.8642 GB, free: 2.27 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.125e-06/0.6062, allocations: 0 / 0.8642 GB, free: 2.27 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.6063, allocations: 256 / 0.8642 GB, free: 2.27 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.6063, allocations: 4 kB / 0.8642 GB, free: 2.266 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000134/0.6064, allocations: 96.92 kB / 0.8643 GB, free: 2.152 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.948e-05/0.6065, allocations: 77.11 kB / 0.8644 GB, free: 2.059 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.409e-05/0.6065, allocations: 0 / 0.8644 GB, free: 2.059 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.301e-05/0.6065, allocations: 4 kB / 0.8644 GB, free: 2.055 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.466e-05/0.6065, allocations: 4 kB / 0.8644 GB, free: 2.051 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.528e-06/0.6065, allocations: 3.984 kB / 0.8644 GB, free: 2.047 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.165e-05/0.6066, allocations: 79.28 kB / 0.8644 GB, free: 1.969 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6066, allocations: 0 / 0.8644 GB, free: 1.969 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001945/0.6068, allocations: 12.05 kB / 0.8644 GB, free: 1.957 MB / 0.5261 GB 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 () * 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.0001336/0.6069, allocations: 99.25 kB / 0.8645 GB, free: 1.852 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 8.108e-05/0.607, allocations: 19.92 kB / 0.8646 GB, free: 1.832 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.607, allocations: 0 / 0.8646 GB, free: 1.832 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 1.124e-05/0.607, allocations: 4 kB / 0.8646 GB, free: 1.828 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001178/0.6072, allocations: 0.6875 kB / 0.8646 GB, free: 1.828 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002579/0.6074, allocations: 86.08 kB / 0.8646 GB, free: 1.715 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002606/0.6077, allocations: 0.6806 MB / 0.8653 GB, free: 1.008 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 2.117e-05/0.6077, allocations: 4 kB / 0.8653 GB, free: 1.004 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.087e-05/0.6078, allocations: 7.438 kB / 0.8653 GB, free: 0.9961 MB / 0.5261 GB Notification: Performance of SimCode: time 2.31e-07/0.6078, allocations: 0 / 0.8653 GB, free: 0.9961 MB / 0.5261 GB Notification: Performance of Templates: time 0.00193/0.6097, allocations: 271.8 kB / 0.8656 GB, free: 0.7344 MB / 0.5261 GB 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)