Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.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.Fluid.MixingVolumes.Validation.MixingVolumeInitialization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeInitialization") translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeInitialization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeInitialization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8111/0.8111, allocations: 140.1 MB / 156 MB, free: 5.145 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.001012/0.001011, allocations: 185.2 kB / 188.5 MB, free: 15.81 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.842/1.842, allocations: 205.4 MB / 426.3 MB, free: 8.465 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.000869/0.0008689, allocations: 90.3 kB / 0.4945 GB, free: 8.402 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001719/0.001719, allocations: 269.6 kB / 0.5728 GB, free: 66.21 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007728/0.0007731, allocations: 16 kB / 0.662 GB, free: 6.805 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4699/0.4707, allocations: 79.3 MB / 0.7395 GB, free: 46.35 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.492/5.963, allocations: 2.074 GB / 2.813 GB, free: 214.3 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003044/5.964, allocations: 90.44 kB / 2.813 GB, free: 214.2 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.407/7.37, allocations: 468.5 MB / 3.271 GB, free: 14.1 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.422e-06/7.37, allocations: 0 / 3.271 GB, free: 14.1 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001257/7.37, allocations: 24 kB / 3.271 GB, free: 14.08 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: 173 * Number of variables: 173 Notification: Performance of Generate backend data structure: time 0.005263/7.376, allocations: 1.62 MB / 3.272 GB, free: 12.41 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/7.376, allocations: 8.031 kB / 3.272 GB, free: 12.4 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002185/7.378, allocations: 295.4 kB / 3.273 GB, free: 12.11 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002278/7.38, allocations: 0.852 MB / 3.274 GB, free: 11.21 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.964e-05/7.38, allocations: 54.23 kB / 3.274 GB, free: 11.16 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002542/7.381, allocations: 75.98 kB / 3.274 GB, free: 11.09 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001791/7.382, allocations: 0.982 MB / 3.275 GB, free: 10.08 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.721e-05/7.383, allocations: 0 / 3.275 GB, free: 10.08 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.874e-05/7.383, allocations: 27.98 kB / 3.275 GB, free: 10.05 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.427e-05/7.383, allocations: 73.94 kB / 3.275 GB, free: 9.98 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001675/7.384, allocations: 0.976 MB / 3.276 GB, free: 9.008 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006051/7.39, allocations: 3.598 MB / 3.279 GB, free: 5.176 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009121/7.391, allocations: 0.646 MB / 3.28 GB, free: 4.52 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004654/7.392, allocations: 374.3 kB / 3.28 GB, free: 4.152 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002356/7.392, allocations: 194.8 kB / 3.28 GB, free: 3.926 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.828e-05/7.392, allocations: 43.12 kB / 3.28 GB, free: 3.875 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=62): time 3.957e-06/7.392, allocations: 4 kB / 3.28 GB, free: 3.871 MB / 0.6823 GB Notification: Performance of matching and sorting (n=62): time 0.001863/7.394, allocations: 1.009 MB / 3.281 GB, free: 2.859 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.876e-05/7.394, allocations: 111.4 kB / 3.281 GB, free: 2.727 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009904/7.395, allocations: 0.794 MB / 3.282 GB, free: 1.922 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 8.535e-05/7.395, allocations: 37.7 kB / 3.282 GB, free: 1.879 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002535/7.395, allocations: 420.1 kB / 3.283 GB, free: 1.465 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001872/7.396, allocations: 216.9 kB / 3.283 GB, free: 1.25 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.016e-05/7.396, allocations: 23.94 kB / 3.283 GB, free: 1.227 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.306e-05/7.396, allocations: 337.9 kB / 3.283 GB, free: 0.8906 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004627/7.396, allocations: 321.8 kB / 3.284 GB, free: 0.5781 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005426/7.397, allocations: 457.6 kB / 3.284 GB, free: 96 kB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.4251/7.822, allocations: 0.7247 MB / 3.285 GB, free: 131.1 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.235e-06/7.822, allocations: 0.8125 kB / 3.285 GB, free: 131.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001877/7.824, allocations: 0.8924 MB / 3.286 GB, free: 131 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 8.202e-05/7.824, allocations: 139.5 kB / 3.286 GB, free: 130.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/7.824, allocations: 5.5 kB / 3.286 GB, free: 130.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.769e-05/7.824, allocations: 8.688 kB / 3.286 GB, free: 130.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007814/7.825, allocations: 146.5 kB / 3.286 GB, free: 130.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.554e-05/7.825, allocations: 5 kB / 3.286 GB, free: 130.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00105/7.826, allocations: 104 kB / 3.286 GB, free: 130.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.113e-05/7.826, allocations: 30.92 kB / 3.286 GB, free: 130.9 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.908e-06/7.826, allocations: 3.969 kB / 3.286 GB, free: 130.9 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001383/7.827, allocations: 0.754 MB / 3.287 GB, free: 130.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/7.827, allocations: 1.625 kB / 3.287 GB, free: 130.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.228e-06/7.827, allocations: 8.656 kB / 3.287 GB, free: 130.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006551/7.828, allocations: 144.1 kB / 3.287 GB, free: 130.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.015e-05/7.828, allocations: 8.359 kB / 3.287 GB, free: 130.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008766/7.829, allocations: 98.16 kB / 3.287 GB, free: 130.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.476e-05/7.829, allocations: 29.75 kB / 3.287 GB, free: 130.9 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (86): * Single equations (assignments): 86 * 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.0006643/7.83, allocations: 369.1 kB / 3.287 GB, free: 130.7 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001934/7.83, allocations: 94.33 kB / 3.287 GB, free: 130.7 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001495/7.832, allocations: 0.801 MB / 3.288 GB, free: 130.6 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.234e-05/7.832, allocations: 6.594 kB / 3.288 GB, free: 130.6 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/7.832, allocations: 0 / 3.288 GB, free: 130.6 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001113/7.833, allocations: 0.7409 MB / 3.289 GB, free: 130.5 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003169/7.836, allocations: 2.081 MB / 3.291 GB, free: 130 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.022e-06/7.836, allocations: 6.531 kB / 3.291 GB, free: 130 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005912/7.836, allocations: 132.8 kB / 3.291 GB, free: 130 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.041e-05/7.837, allocations: 7.688 kB / 3.291 GB, free: 130 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.454e-05/7.837, allocations: 21.77 kB / 3.291 GB, free: 130 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.715e-06/7.837, allocations: 8.375 kB / 3.291 GB, free: 130 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.626e-06/7.837, allocations: 3.938 kB / 3.291 GB, free: 130 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001709/7.838, allocations: 1.393 MB / 3.293 GB, free: 129.7 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004492/7.839, allocations: 259.7 kB / 3.293 GB, free: 129.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001164/7.839, allocations: 20.92 kB / 3.293 GB, free: 129.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006052/7.839, allocations: 44.91 kB / 3.293 GB, free: 129.6 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.842e-05/7.84, allocations: 51.2 kB / 3.293 GB, free: 129.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.621e-05/7.84, allocations: 25.31 kB / 3.293 GB, free: 129.6 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0007321/7.84, allocations: 0.551 MB / 3.293 GB, free: 129.5 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.5e-07/7.84, allocations: 0 / 3.293 GB, free: 129.5 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003428/7.844, allocations: 0.9271 MB / 3.294 GB, free: 129.5 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 3 (vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mXi[1]) * 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 (64): * Single equations (assignments): 64 * 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.003462/7.847, allocations: 1.79 MB / 3.296 GB, free: 129.1 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001888/7.849, allocations: 1.148 MB / 3.297 GB, free: 129.1 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/7.849, allocations: 0 / 3.297 GB, free: 129.1 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005191/7.85, allocations: 366.9 kB / 3.298 GB, free: 129.1 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003059/7.853, allocations: 0.5031 MB / 3.298 GB, free: 129.1 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003033/7.856, allocations: 2.245 MB / 3.3 GB, free: 128.1 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004971/7.856, allocations: 1.077 MB / 3.301 GB, free: 127.4 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001441/7.858, allocations: 408.9 kB / 3.302 GB, free: 127.4 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002366/7.858, allocations: 75.88 kB / 3.302 GB, free: 127.4 MB / 0.6823 GB Notification: Performance of SimCode: time 8.52e-07/7.858, allocations: 3.969 kB / 3.302 GB, free: 127.4 MB / 0.6823 GB Notification: Performance of Templates: time 0.05252/7.911, allocations: 37.91 MB / 3.339 GB, free: 126.4 MB / 0.6823 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.sim & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeInitialization -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe 2>&1)