Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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.Media.Antifreeze.Validation.PropyleneGlycolWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater") translateModel(BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8172/0.8172, allocations: 140 MB / 156 MB, free: 8.43 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002233/0.002233, allocations: 180.5 kB / 188.5 MB, free: 9.027 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.586/1.586, allocations: 205.4 MB / 426.3 MB, free: 8.078 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007687/0.0007687, allocations: 92.36 kB / 0.4945 GB, free: 8.004 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001707/0.001707, allocations: 274.2 kB / 0.5728 GB, free: 66.15 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004829/0.000483, allocations: 16 kB / 0.662 GB, free: 6.75 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3374/0.3379, allocations: 79.3 MB / 0.7394 GB, free: 46.32 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6211/0.959, allocations: 399.7 MB / 1.13 GB, free: 10.46 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000219/0.9593, allocations: 75.97 kB / 1.13 GB, free: 10.41 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.02789/0.9872, allocations: 13.14 MB / 1.143 GB, free: 15.4 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.695e-06/0.9873, allocations: 0 / 1.143 GB, free: 15.4 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.258e-05/0.9873, allocations: 4 kB / 1.143 GB, free: 15.39 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0007763/0.9881, allocations: 0.5285 MB / 1.143 GB, free: 14.82 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.9881, allocations: 8.031 kB / 1.143 GB, free: 14.82 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.726e-05/0.9882, allocations: 20.75 kB / 1.143 GB, free: 14.8 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002405/0.9885, allocations: 238.6 kB / 1.143 GB, free: 14.54 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.573e-05/0.9885, allocations: 23.42 kB / 1.144 GB, free: 14.52 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.846e-05/0.9885, allocations: 19.31 kB / 1.144 GB, free: 14.51 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006017/0.9892, allocations: 312.4 kB / 1.144 GB, free: 14.23 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.9892, allocations: 4.125 kB / 1.144 GB, free: 14.23 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.365e-05/0.9892, allocations: 7.375 kB / 1.144 GB, free: 14.23 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.164e-06/0.9892, allocations: 7.938 kB / 1.144 GB, free: 14.22 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001358/0.9906, allocations: 0.8096 MB / 1.145 GB, free: 13.48 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003511/0.9909, allocations: 312.8 kB / 1.145 GB, free: 13.16 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00158/0.9925, allocations: 0.7735 MB / 1.146 GB, free: 12.5 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004845/0.993, allocations: 257.7 kB / 1.146 GB, free: 12.28 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003681/0.9934, allocations: 384 kB / 1.146 GB, free: 11.84 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.778e-05/0.9935, allocations: 39.17 kB / 1.146 GB, free: 11.79 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=37): time 1.423e-06/0.9935, allocations: 0 / 1.146 GB, free: 11.79 MB / 0.6823 GB Notification: Performance of matching and sorting (n=37): time 0.001536/0.995, allocations: 0.7437 MB / 1.147 GB, free: 11.12 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.341e-05/0.995, allocations: 59.34 kB / 1.147 GB, free: 11.05 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001028/0.9952, allocations: 122.5 kB / 1.147 GB, free: 10.93 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.941e-05/0.9952, allocations: 33.52 kB / 1.147 GB, free: 10.9 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.944e-05/0.9952, allocations: 88.23 kB / 1.147 GB, free: 10.81 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001085/0.9954, allocations: 125.1 kB / 1.147 GB, free: 10.7 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.85e-05/0.9954, allocations: 11.81 kB / 1.147 GB, free: 10.7 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001236/0.9955, allocations: 322.5 kB / 1.148 GB, free: 10.38 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004575/0.996, allocations: 226.9 kB / 1.148 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004487/0.9964, allocations: 232 kB / 1.148 GB, free: 9.984 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008295/0.9973, allocations: 416.7 kB / 1.149 GB, free: 9.621 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.9973, allocations: 0 / 1.149 GB, free: 9.621 MB / 0.6823 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0009885/0.9983, allocations: 0.5081 MB / 1.149 GB, free: 9.164 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.9983, allocations: 7.984 kB / 1.149 GB, free: 9.156 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.9983, allocations: 3.938 kB / 1.149 GB, free: 9.152 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.9983, allocations: 4 kB / 1.149 GB, free: 9.148 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003508/0.9987, allocations: 111.3 kB / 1.149 GB, free: 9.043 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.9987, allocations: 4 kB / 1.149 GB, free: 9.039 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001912/0.9989, allocations: 67.67 kB / 1.149 GB, free: 8.977 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.562e-05/0.9989, allocations: 15.8 kB / 1.149 GB, free: 8.965 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (37): * Single equations (assignments): 37 * 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 0.0001104/0.9991, allocations: 138.6 kB / 1.149 GB, free: 8.828 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.908e-05/0.9991, allocations: 15.81 kB / 1.149 GB, free: 8.812 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001154/1, allocations: 0.5768 MB / 1.15 GB, free: 8.328 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/1, allocations: 4 kB / 1.15 GB, free: 8.324 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/1, allocations: 4 kB / 1.15 GB, free: 8.32 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.261e-06/1, allocations: 3.984 kB / 1.15 GB, free: 8.316 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002987/1.001, allocations: 314.7 kB / 1.15 GB, free: 7.992 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/1.001, allocations: 0 / 1.15 GB, free: 7.992 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003314/1.001, allocations: 115.8 kB / 1.15 GB, free: 7.879 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/1.001, allocations: 4 kB / 1.15 GB, free: 7.875 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.059e-05/1.001, allocations: 11.75 kB / 1.15 GB, free: 7.867 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/1.001, allocations: 4 kB / 1.15 GB, free: 7.863 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/1.001, allocations: 0 / 1.15 GB, free: 7.863 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009964/1.002, allocations: 0.5481 MB / 1.151 GB, free: 7.359 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.107e-05/1.002, allocations: 104.7 kB / 1.151 GB, free: 7.242 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.465e-05/1.002, allocations: 15.73 kB / 1.151 GB, free: 7.23 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001724/1.002, allocations: 43.78 kB / 1.151 GB, free: 7.191 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002087/1.002, allocations: 115.6 kB / 1.151 GB, free: 7.082 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.389e-05/1.003, allocations: 19.8 kB / 1.151 GB, free: 7.066 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.834e-05/1.003, allocations: 99.45 kB / 1.151 GB, free: 6.973 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.3e-07/1.003, allocations: 0 / 1.151 GB, free: 6.973 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003886/1.003, allocations: 130.2 kB / 1.152 GB, free: 6.863 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (37): * Single equations (assignments): 37 * 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.0004167/1.003, allocations: 225.2 kB / 1.152 GB, free: 6.637 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001026/1.004, allocations: 0.5141 MB / 1.152 GB, free: 6.18 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/1.004, allocations: 0 / 1.152 GB, free: 6.18 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005085/1.005, allocations: 292 kB / 1.153 GB, free: 5.934 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003717/1.005, allocations: 70.05 kB / 1.153 GB, free: 5.879 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000702/1.006, allocations: 0.4988 MB / 1.153 GB, free: 5.375 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002673/1.006, allocations: 0.737 MB / 1.154 GB, free: 4.613 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0004138/1.007, allocations: 178.1 kB / 1.154 GB, free: 4.441 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.366e-05/1.007, allocations: 39.22 kB / 1.154 GB, free: 4.406 MB / 0.6823 GB Notification: Performance of SimCode: time 3.71e-07/1.007, allocations: 0 / 1.154 GB, free: 4.406 MB / 0.6823 GB Notification: Performance of Templates: time 0.2698/1.277, allocations: 5.362 MB / 1.159 GB, free: 271.1 MB / 0.6823 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater.makefile (rm -f BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater.sim & ./BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe 2>&1)