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 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.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.8635/0.8635, allocations: 141.8 MB / 149.3 MB, free: 9.238 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.001161/0.001161, allocations: 187.8 kB / 182.2 MB, free: 9.469 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.564/1.564, allocations: 221.5 MB / 436.4 MB, free: 13.35 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.0009007/0.0009008, allocations: 92.03 kB / 0.5074 GB, free: 10.18 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001598/0.001598, allocations: 267.6 kB / 0.5889 GB, free: 54.67 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.994e-05/2.022e-05, allocations: 4 kB / 0.6765 GB, free: 12.84 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4395/0.4395, allocations: 82.77 MB / 0.7574 GB, free: 32.04 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.999/5.438, allocations: 1.889 GB / 2.646 GB, free: 130.2 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003271/5.439, allocations: 94.77 kB / 2.647 GB, free: 130.2 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.163/7.602, allocations: 0.608 GB / 3.255 GB, free: 65.35 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.432e-06/7.602, allocations: 0 / 3.255 GB, free: 65.35 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.386e-05/7.602, allocations: 19.98 kB / 3.255 GB, free: 65.33 MB / 0.698 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.002537/7.604, allocations: 1.03 MB / 3.256 GB, free: 64.26 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/7.605, allocations: 8.031 kB / 3.256 GB, free: 64.25 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001094/7.606, allocations: 186.9 kB / 3.256 GB, free: 64.07 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001348/7.607, allocations: 0.5345 MB / 3.256 GB, free: 63.49 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003391/7.607, allocations: 97.17 kB / 3.256 GB, free: 63.39 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001301/7.607, allocations: 36 kB / 3.256 GB, free: 63.36 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007414/7.608, allocations: 318.5 kB / 3.257 GB, free: 63.05 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009685/7.609, allocations: 0.6328 MB / 3.257 GB, free: 62.32 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.177e-05/7.609, allocations: 7.938 kB / 3.257 GB, free: 62.31 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.756e-05/7.609, allocations: 4 kB / 3.257 GB, free: 62.3 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-05/7.609, allocations: 20.78 kB / 3.257 GB, free: 62.29 MB / 0.698 GB Warning: The model contains alias variables with conflicting start and/or 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.00392/7.613, allocations: 4.013 MB / 3.261 GB, free: 58.05 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001116/7.613, allocations: 98.36 kB / 3.261 GB, free: 57.92 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.159e-05/7.614, allocations: 67.58 kB / 3.261 GB, free: 57.84 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001935/7.614, allocations: 97.09 kB / 3.261 GB, free: 57.73 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/7.614, allocations: 42.5 kB / 3.262 GB, free: 57.68 MB / 0.698 GB Notification: Performance of pre-optimization done (n=10): time 3.206e-06/7.614, allocations: 0 / 3.262 GB, free: 57.68 MB / 0.698 GB Notification: Performance of matching and sorting (n=10): time 0.000588/7.614, allocations: 164.9 kB / 3.262 GB, free: 57.51 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.035e-05/7.614, allocations: 132.6 kB / 3.262 GB, free: 57.35 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004975/7.615, allocations: 450.2 kB / 3.262 GB, free: 56.9 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.109e-05/7.615, allocations: 33.64 kB / 3.262 GB, free: 56.86 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002304/7.615, allocations: 418.7 kB / 3.263 GB, free: 56.45 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.799e-05/7.615, allocations: 35.55 kB / 3.263 GB, free: 56.41 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.544e-05/7.615, allocations: 0 / 3.263 GB, free: 56.41 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.066e-05/7.615, allocations: 362 kB / 3.263 GB, free: 56.05 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001064/7.615, allocations: 71.97 kB / 3.263 GB, free: 55.98 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002206/7.616, allocations: 311.6 kB / 3.263 GB, free: 55.57 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002818/7.616, allocations: 139.8 kB / 3.264 GB, free: 55.43 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.079e-06/7.616, allocations: 0 / 3.264 GB, free: 55.43 MB / 0.698 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.000546/7.617, allocations: 368.7 kB / 3.264 GB, free: 55.06 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.375e-05/7.617, allocations: 8.781 kB / 3.264 GB, free: 55.05 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.269e-05/7.617, allocations: 8 kB / 3.264 GB, free: 55.05 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.425e-05/7.617, allocations: 12 kB / 3.264 GB, free: 55.04 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002991/7.617, allocations: 96.47 kB / 3.264 GB, free: 54.94 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.434e-05/7.617, allocations: 19.92 kB / 3.264 GB, free: 54.92 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005876/7.618, allocations: 95.59 kB / 3.264 GB, free: 54.83 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.685e-05/7.618, allocations: 20 kB / 3.264 GB, free: 54.81 MB / 0.698 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * 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 8.905e-05/7.618, allocations: 124.8 kB / 3.264 GB, free: 54.68 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001154/7.618, allocations: 51.34 kB / 3.264 GB, free: 54.63 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.812e-05/7.618, allocations: 48.25 kB / 3.264 GB, free: 54.58 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/7.618, allocations: 4 kB / 3.264 GB, free: 54.57 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/7.618, allocations: 3.953 kB / 3.264 GB, free: 54.57 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/7.618, allocations: 4 kB / 3.264 GB, free: 54.57 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001005/7.619, allocations: 1.027 MB / 3.265 GB, free: 53.46 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.583e-06/7.619, allocations: 4.312 kB / 3.265 GB, free: 53.46 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.369e-05/7.619, allocations: 19.98 kB / 3.265 GB, free: 53.44 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.12e-06/7.619, allocations: 4 kB / 3.265 GB, free: 53.43 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.096e-05/7.619, allocations: 4 kB / 3.265 GB, free: 53.43 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.107e-06/7.619, allocations: 7.938 kB / 3.265 GB, free: 53.42 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/7.619, allocations: 80 / 3.265 GB, free: 53.42 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002273/7.619, allocations: 343.5 kB / 3.266 GB, free: 52.98 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001374/7.62, allocations: 144.4 kB / 3.266 GB, free: 52.82 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.368e-05/7.62, allocations: 0 / 3.266 GB, free: 52.82 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002359/7.62, allocations: 31.8 kB / 3.266 GB, free: 52.8 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.815e-05/7.62, allocations: 16.08 kB / 3.266 GB, free: 52.78 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.488e-05/7.62, allocations: 4 kB / 3.266 GB, free: 52.78 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003152/7.62, allocations: 339 kB / 3.266 GB, free: 52.45 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.6e-07/7.62, allocations: 7.938 kB / 3.266 GB, free: 52.44 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001001/7.621, allocations: 287.4 kB / 3.267 GB, free: 52.16 MB / 0.698 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 () * 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.002857/7.624, allocations: 1.952 MB / 3.268 GB, free: 50.14 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003365/7.624, allocations: 179.6 kB / 3.269 GB, free: 49.96 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/7.624, allocations: 0 / 3.269 GB, free: 49.96 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 5.465e-05/7.625, allocations: 49.67 kB / 3.269 GB, free: 49.91 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009434/7.625, allocations: 185.1 kB / 3.269 GB, free: 49.74 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001319/7.627, allocations: 0.7006 MB / 3.27 GB, free: 48.98 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003755/7.627, allocations: 0.9517 MB / 3.27 GB, free: 48 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004107/7.628, allocations: 104.5 kB / 3.271 GB, free: 47.9 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.064e-05/7.628, allocations: 35.44 kB / 3.271 GB, free: 47.86 MB / 0.698 GB Notification: Performance of SimCode: time 2.3e-07/7.628, allocations: 0 / 3.271 GB, free: 47.86 MB / 0.698 GB Notification: Performance of Templates: time 0.02426/7.652, allocations: 16.38 MB / 3.287 GB, free: 31.56 MB / 0.698 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)