Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.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.TraceSubstanceConservationSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState") translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8413/0.8413, allocations: 140 MB / 156 MB, free: 8.41 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.001293/0.001293, allocations: 187 kB / 188.5 MB, free: 8.984 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.819/1.819, allocations: 205.4 MB / 426.3 MB, free: 8.137 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.0009557/0.0009562, allocations: 90.34 kB / 0.4945 GB, free: 8.062 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001706/0.001706, allocations: 259.3 kB / 0.5728 GB, free: 66.14 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005882/0.0005883, allocations: 16 kB / 0.662 GB, free: 6.73 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4477/0.4483, allocations: 79.3 MB / 0.7395 GB, free: 46.3 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.005/5.453, allocations: 2.054 GB / 2.794 GB, free: 234.8 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000316/5.453, allocations: 95.95 kB / 2.794 GB, free: 234.7 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.018/7.471, allocations: 0.6065 GB / 3.4 GB, free: 140.8 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.312e-06/7.471, allocations: 0 / 3.4 GB, free: 140.8 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.771e-05/7.471, allocations: 21.36 kB / 3.4 GB, free: 140.8 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.003031/7.474, allocations: 1.123 MB / 3.401 GB, free: 140.1 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/7.474, allocations: 6.469 kB / 3.401 GB, free: 140.1 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001138/7.476, allocations: 190.7 kB / 3.401 GB, free: 140 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001384/7.477, allocations: 0.554 MB / 3.402 GB, free: 139.7 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003273/7.477, allocations: 116 kB / 3.402 GB, free: 139.7 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001433/7.477, allocations: 57.88 kB / 3.402 GB, free: 139.6 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001312/7.479, allocations: 0.7636 MB / 3.403 GB, free: 139.2 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.706e-05/7.479, allocations: 7.125 kB / 3.403 GB, free: 139.2 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.726e-05/7.479, allocations: 23.84 kB / 3.403 GB, free: 139.1 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.182e-05/7.479, allocations: 20.03 kB / 3.403 GB, free: 139.1 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009755/7.48, allocations: 468.2 kB / 3.403 GB, free: 139 MB / 0.6823 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003819/7.484, allocations: 4.21 MB / 3.408 GB, free: 135.5 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001343/7.484, allocations: 106.2 kB / 3.408 GB, free: 135.4 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.444e-05/7.484, allocations: 72.77 kB / 3.408 GB, free: 135.3 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000168/7.484, allocations: 94.05 kB / 3.408 GB, free: 135.2 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.03e-05/7.484, allocations: 41.81 kB / 3.408 GB, free: 135.2 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=10): time 3.417e-06/7.484, allocations: 1.938 kB / 3.408 GB, free: 135.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=10): time 0.0007525/7.485, allocations: 237.7 kB / 3.408 GB, free: 135.1 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.811e-05/7.485, allocations: 135.8 kB / 3.408 GB, free: 134.9 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001132/7.486, allocations: 0.8349 MB / 3.409 GB, free: 134.6 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.384e-05/7.486, allocations: 35.45 kB / 3.409 GB, free: 134.6 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002515/7.486, allocations: 395.8 kB / 3.409 GB, free: 134.3 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.326e-05/7.487, allocations: 42.36 kB / 3.409 GB, free: 134.2 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.438e-05/7.487, allocations: 7.938 kB / 3.409 GB, free: 134.2 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.232e-05/7.487, allocations: 326.6 kB / 3.41 GB, free: 133.9 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002714/7.487, allocations: 116.8 kB / 3.41 GB, free: 133.9 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003818/7.487, allocations: 368.4 kB / 3.41 GB, free: 133.5 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005456/7.488, allocations: 417.4 kB / 3.411 GB, free: 133.2 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.376e-06/7.488, allocations: 3.875 kB / 3.411 GB, free: 133.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0009632/7.489, allocations: 0.495 MB / 3.411 GB, free: 133 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.256e-05/7.489, allocations: 10.59 kB / 3.411 GB, free: 133 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.406e-05/7.489, allocations: 13.88 kB / 3.411 GB, free: 133 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.513e-05/7.489, allocations: 6.406 kB / 3.411 GB, free: 133 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003162/7.489, allocations: 99.34 kB / 3.411 GB, free: 133 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.569e-05/7.489, allocations: 17.53 kB / 3.411 GB, free: 133 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008165/7.49, allocations: 133.2 kB / 3.411 GB, free: 132.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.704e-05/7.49, allocations: 25.59 kB / 3.411 GB, free: 132.9 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (44): * Single equations (assignments): 44 * 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.0003293/7.491, allocations: 227.4 kB / 3.412 GB, free: 132.8 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001809/7.491, allocations: 69.5 kB / 3.412 GB, free: 132.7 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001313/7.491, allocations: 76.53 kB / 3.412 GB, free: 132.7 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.576e-06/7.491, allocations: 0 / 3.412 GB, free: 132.7 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/7.491, allocations: 7.531 kB / 3.412 GB, free: 132.7 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/7.491, allocations: 0 / 3.412 GB, free: 132.7 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001312/7.492, allocations: 1.13 MB / 3.413 GB, free: 131.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/7.492, allocations: 3.906 kB / 3.413 GB, free: 131.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.705e-05/7.492, allocations: 14.5 kB / 3.413 GB, free: 131.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/7.492, allocations: 3.125 kB / 3.413 GB, free: 131.8 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/7.492, allocations: 3.969 kB / 3.413 GB, free: 131.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/7.492, allocations: 3.188 kB / 3.413 GB, free: 131.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.688e-06/7.492, allocations: 10.22 kB / 3.413 GB, free: 131.8 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002536/7.493, allocations: 264.2 kB / 3.413 GB, free: 131.6 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002253/7.493, allocations: 169.6 kB / 3.413 GB, free: 131.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001105/7.493, allocations: 7.688 kB / 3.413 GB, free: 131.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003241/7.493, allocations: 19.95 kB / 3.413 GB, free: 131.5 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.716e-05/7.493, allocations: 19.86 kB / 3.413 GB, free: 131.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.518e-06/7.493, allocations: 10.12 kB / 3.413 GB, free: 131.5 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0007729/7.494, allocations: 0.5774 MB / 3.414 GB, free: 131.2 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.4e-07/7.494, allocations: 0 / 3.414 GB, free: 131.2 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001226/7.495, allocations: 332.2 kB / 3.414 GB, free: 131.1 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (10): * Single equations (assignments): 10 * 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.002755/7.498, allocations: 1.72 MB / 3.416 GB, free: 130.5 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.000566/7.499, allocations: 243.9 kB / 3.416 GB, free: 130.4 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/7.499, allocations: 3.188 kB / 3.416 GB, free: 130.4 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 6.602e-05/7.499, allocations: 45.09 kB / 3.416 GB, free: 130.4 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001928/7.501, allocations: 372 kB / 3.417 GB, free: 130.3 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001781/7.503, allocations: 1.255 MB / 3.418 GB, free: 129.1 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004188/7.503, allocations: 0.9379 MB / 3.419 GB, free: 128.1 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0005993/7.504, allocations: 143.8 kB / 3.419 GB, free: 128 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001032/7.504, allocations: 51.42 kB / 3.419 GB, free: 127.9 MB / 0.6823 GB Notification: Performance of SimCode: time 1.473e-06/7.504, allocations: 0 / 3.419 GB, free: 127.9 MB / 0.6823 GB Notification: Performance of Templates: time 0.04223/7.546, allocations: 31.88 MB / 3.45 GB, free: 96.63 MB / 0.6823 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.sim & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1)