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.849/0.849, allocations: 141.8 MB / 149.3 MB, free: 9.23 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.002035/0.002035, allocations: 167.8 kB / 182.2 MB, free: 9.484 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.688/1.688, 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.001079/0.001079, allocations: 80.17 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.001773/0.001773, allocations: 286.8 kB / 0.5889 GB, free: 54.67 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.967e-05/1.968e-05, allocations: 4 kB / 0.6765 GB, free: 12.84 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.459/0.459, allocations: 82.76 MB / 0.7574 GB, free: 32.05 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.144/0.6031, allocations: 107.1 MB / 0.8619 GB, free: 4.828 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002184/0.6033, allocations: 75.83 kB / 0.862 GB, free: 4.758 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.001049/0.6044, allocations: 491.1 kB / 0.8625 GB, free: 4.281 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.435e-06/0.6044, allocations: 0 / 0.8625 GB, free: 4.281 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.352e-06/0.6044, 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.0002679/0.6047, allocations: 319.6 kB / 0.8628 GB, free: 3.926 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.6048, allocations: 8.031 kB / 0.8628 GB, free: 3.918 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.105e-05/0.6048, allocations: 0 / 0.8628 GB, free: 3.918 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002405/0.605, allocations: 179 kB / 0.8629 GB, free: 3.703 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.299e-05/0.6051, allocations: 7.953 kB / 0.863 GB, free: 3.695 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.197e-05/0.6051, allocations: 7.906 kB / 0.863 GB, free: 3.688 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.683e-05/0.6051, allocations: 3.984 kB / 0.863 GB, free: 3.684 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.329e-05/0.6052, allocations: 29.7 kB / 0.863 GB, free: 3.648 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.415e-06/0.6052, allocations: 0 / 0.863 GB, free: 3.648 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.957e-06/0.6052, allocations: 0 / 0.863 GB, free: 3.648 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.68e-06/0.6052, allocations: 0 / 0.863 GB, free: 3.648 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001424/0.6054, allocations: 138.2 kB / 0.8631 GB, free: 3.477 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 3.819e-05/0.6054, allocations: 22.61 kB / 0.8631 GB, free: 3.445 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.925e-05/0.6055, allocations: 12.91 kB / 0.8632 GB, free: 3.43 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.708e-05/0.6055, allocations: 3.938 kB / 0.8632 GB, free: 3.426 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.332e-05/0.6055, allocations: 34.52 kB / 0.8632 GB, free: 3.383 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=1): time 1.162e-06/0.6055, allocations: 0 / 0.8632 GB, free: 3.383 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1): time 0.0001286/0.6057, allocations: 41.67 kB / 0.8632 GB, free: 3.336 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.903e-05/0.6057, allocations: 51.41 kB / 0.8633 GB, free: 3.273 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8e-05/0.6058, allocations: 101 kB / 0.8634 GB, free: 3.168 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.21e-05/0.6058, allocations: 29.64 kB / 0.8634 GB, free: 3.133 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.377e-05/0.6059, allocations: 88.12 kB / 0.8635 GB, free: 3.043 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.9e-05/0.6059, allocations: 4 kB / 0.8635 GB, free: 3.039 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.545e-06/0.6059, allocations: 0 / 0.8635 GB, free: 3.039 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001116/0.606, allocations: 310.8 kB / 0.8638 GB, free: 2.727 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.004e-05/0.606, allocations: 8 kB / 0.8638 GB, free: 2.719 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.163e-05/0.6061, allocations: 21.7 kB / 0.8638 GB, free: 2.691 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.913e-05/0.6061, allocations: 3.938 kB / 0.8638 GB, free: 2.688 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.6061, allocations: 4 kB / 0.8638 GB, free: 2.684 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.44e-05/0.6062, allocations: 41.59 kB / 0.8639 GB, free: 2.637 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.6062, allocations: 9.25 kB / 0.8639 GB, free: 2.629 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.6062, allocations: 0 / 0.8639 GB, free: 2.629 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.6062, allocations: 3.953 kB / 0.8639 GB, free: 2.625 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.729e-05/0.6063, allocations: 4 kB / 0.8639 GB, free: 2.621 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.6063, allocations: 0 / 0.8639 GB, free: 2.621 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.165e-05/0.6063, allocations: 4.125 kB / 0.8639 GB, free: 2.617 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.033e-05/0.6063, allocations: 7.984 kB / 0.8639 GB, free: 2.609 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 6.659e-05/0.6064, allocations: 108.9 kB / 0.864 GB, free: 2.496 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.053e-06/0.6064, allocations: 0 / 0.864 GB, free: 2.496 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001012/0.6065, allocations: 49.44 kB / 0.864 GB, free: 2.441 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.6065, allocations: 3.953 kB / 0.8641 GB, free: 2.438 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.6066, allocations: 0 / 0.8641 GB, free: 2.438 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.185e-06/0.6066, allocations: 0 / 0.8641 GB, free: 2.438 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.153e-05/0.6067, allocations: 142.2 kB / 0.8642 GB, free: 2.262 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.6067, allocations: 0 / 0.8642 GB, free: 2.262 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.061e-05/0.6067, allocations: 4 kB / 0.8642 GB, free: 2.258 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.6067, allocations: 3.938 kB / 0.8642 GB, free: 2.254 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.327e-06/0.6067, allocations: 3.984 kB / 0.8642 GB, free: 2.25 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/0.6068, allocations: 4.25 kB / 0.8642 GB, free: 2.246 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.6068, allocations: 0 / 0.8642 GB, free: 2.246 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001213/0.6069, allocations: 80.92 kB / 0.8643 GB, free: 2.148 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.804e-05/0.6069, allocations: 85.2 kB / 0.8644 GB, free: 2.047 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.31e-05/0.607, allocations: 0 / 0.8644 GB, free: 2.047 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.174e-05/0.607, allocations: 4.016 kB / 0.8644 GB, free: 2.043 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.326e-05/0.607, allocations: 4 kB / 0.8644 GB, free: 2.039 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.364e-06/0.607, allocations: 0 / 0.8644 GB, free: 2.039 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.224e-05/0.6071, allocations: 87.28 kB / 0.8645 GB, free: 1.953 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6071, allocations: 0 / 0.8645 GB, free: 1.953 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001761/0.6072, allocations: 7.953 kB / 0.8645 GB, free: 1.945 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.0001266/0.6074, allocations: 103.2 kB / 0.8646 GB, free: 1.836 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 6.628e-05/0.6074, allocations: 8 kB / 0.8646 GB, free: 1.828 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.6075, allocations: 0 / 0.8646 GB, free: 1.828 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 1.187e-05/0.6075, allocations: 15.86 kB / 0.8646 GB, free: 1.812 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001065/0.6076, allocations: 4 kB / 0.8646 GB, free: 1.809 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002304/0.6078, allocations: 73.95 kB / 0.8647 GB, free: 1.707 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002707/0.6081, allocations: 0.6807 MB / 0.8653 GB, free: 1 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 1.597e-05/0.6081, allocations: 192 / 0.8653 GB, free: 1 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.688e-05/0.6082, allocations: 11.44 kB / 0.8653 GB, free: 0.9883 MB / 0.5261 GB Notification: Performance of SimCode: time 2.4e-07/0.6082, allocations: 4 kB / 0.8653 GB, free: 0.9844 MB / 0.5261 GB Notification: Performance of Templates: time 0.001856/0.61, allocations: 268.1 kB / 0.8656 GB, free: 0.7227 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)