Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.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.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8267/0.8267, allocations: 141.8 MB / 149.3 MB, free: 9.207 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.001144/0.001144, allocations: 180.9 kB / 182.2 MB, free: 9.441 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.591/1.591, allocations: 221.5 MB / 436.4 MB, free: 13.32 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.0009763/0.0009764, allocations: 96.11 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.001981/0.001981, allocations: 266.2 kB / 0.5889 GB, free: 54.64 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.031e-05/2.034e-05, allocations: 8 kB / 0.6765 GB, free: 12.8 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4739/0.474, allocations: 82.78 MB / 0.7574 GB, free: 31.96 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.683/5.157, allocations: 1.879 GB / 2.637 GB, free: 139.3 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002281/5.157, allocations: 83.08 kB / 2.637 GB, free: 139.2 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.13/7.287, allocations: 0.5651 GB / 3.202 GB, free: 113.2 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.363e-06/7.287, allocations: 0 / 3.202 GB, free: 113.2 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001282/7.287, allocations: 26.11 kB / 3.202 GB, free: 113.2 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.003491/7.29, allocations: 1.254 MB / 3.203 GB, free: 111.9 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.634e-05/7.29, allocations: 8.031 kB / 3.203 GB, free: 111.9 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002039/7.292, allocations: 324.1 kB / 3.204 GB, free: 111.6 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001395/7.294, allocations: 0.7762 MB / 3.204 GB, free: 110.8 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003279/7.294, allocations: 100.4 kB / 3.204 GB, free: 110.7 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.827e-05/7.294, allocations: 55.88 kB / 3.204 GB, free: 110.6 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001113/7.295, allocations: 0.6825 MB / 3.205 GB, free: 110 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001227/7.297, allocations: 0.8675 MB / 3.206 GB, free: 109.1 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.668e-05/7.297, allocations: 7.953 kB / 3.206 GB, free: 109 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.267e-05/7.297, allocations: 3.938 kB / 3.206 GB, free: 109 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.286e-05/7.297, allocations: 30 kB / 3.206 GB, free: 109 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.004641/7.302, allocations: 3.806 MB / 3.21 GB, free: 105 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004301/7.302, allocations: 354.4 kB / 3.21 GB, free: 104.7 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000237/7.302, allocations: 196.9 kB / 3.21 GB, free: 104.5 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001797/7.302, allocations: 104.4 kB / 3.21 GB, free: 104.4 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.999e-05/7.302, allocations: 42.56 kB / 3.21 GB, free: 104.3 MB / 0.698 GB Notification: Performance of pre-optimization done (n=36): time 2.264e-06/7.302, allocations: 4 kB / 3.21 GB, free: 104.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=38): time 0.001941/7.304, allocations: 1.084 MB / 3.211 GB, free: 103.2 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.385e-05/7.304, allocations: 59.16 kB / 3.212 GB, free: 103.1 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000567/7.305, allocations: 0.5544 MB / 3.212 GB, free: 102.5 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.016e-05/7.305, allocations: 29.7 kB / 3.212 GB, free: 102.5 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002282/7.305, allocations: 0.4944 MB / 3.213 GB, free: 102 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 8.977e-05/7.305, allocations: 134 kB / 3.213 GB, free: 101.9 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.541e-05/7.305, allocations: 0 / 3.213 GB, free: 101.9 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001003/7.306, allocations: 378.7 kB / 3.213 GB, free: 101.5 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002363/7.306, allocations: 189.5 kB / 3.213 GB, free: 101.3 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003151/7.306, allocations: 368.7 kB / 3.214 GB, free: 100.9 MB / 0.698 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.001588/7.308, allocations: 0.6862 MB / 3.214 GB, free: 100.2 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/7.308, allocations: 7.938 kB / 3.214 GB, free: 100.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0008131/7.309, allocations: 0.6131 MB / 3.215 GB, free: 99.53 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/7.309, allocations: 8 kB / 3.215 GB, free: 99.52 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.437e-06/7.309, allocations: 4.625 kB / 3.215 GB, free: 99.52 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.258e-05/7.309, allocations: 12 kB / 3.215 GB, free: 99.51 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005265/7.309, allocations: 139.8 kB / 3.215 GB, free: 99.37 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/7.309, allocations: 11.94 kB / 3.215 GB, free: 99.36 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008592/7.31, allocations: 83.91 kB / 3.215 GB, free: 99.28 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.893e-05/7.31, allocations: 31.94 kB / 3.215 GB, free: 99.25 MB / 0.698 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 71 * 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.0001333/7.31, allocations: 121.8 kB / 3.215 GB, free: 99.12 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.952e-05/7.31, allocations: 75.16 kB / 3.215 GB, free: 99.05 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001471/7.31, allocations: 71.22 kB / 3.215 GB, free: 98.97 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/7.31, allocations: 8 kB / 3.215 GB, free: 98.96 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.817e-06/7.311, allocations: 7.984 kB / 3.215 GB, free: 98.96 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004738/7.311, allocations: 0.6322 MB / 3.216 GB, free: 98.24 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00183/7.313, allocations: 1.436 MB / 3.217 GB, free: 96.72 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/7.313, allocations: 4 kB / 3.217 GB, free: 96.72 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003722/7.313, allocations: 83.89 kB / 3.218 GB, free: 96.64 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.943e-06/7.313, allocations: 7.938 kB / 3.218 GB, free: 96.63 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.902e-05/7.313, allocations: 12 kB / 3.218 GB, free: 96.62 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.871e-06/7.313, allocations: 7.938 kB / 3.218 GB, free: 96.61 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/7.313, allocations: 4 kB / 3.218 GB, free: 96.61 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007973/7.314, allocations: 0.9734 MB / 3.218 GB, free: 95.46 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002387/7.314, allocations: 208.2 kB / 3.219 GB, free: 95.24 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.46e-05/7.314, allocations: 15.94 kB / 3.219 GB, free: 95.22 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006571/7.315, allocations: 51.81 kB / 3.219 GB, free: 95.17 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.919e-05/7.315, allocations: 27.95 kB / 3.219 GB, free: 95.14 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.4e-05/7.315, allocations: 35.94 kB / 3.219 GB, free: 95.11 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004117/7.316, allocations: 431.1 kB / 3.219 GB, free: 94.7 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.9e-07/7.316, allocations: 0 / 3.219 GB, free: 94.7 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001067/7.317, allocations: 319.9 kB / 3.22 GB, free: 94.38 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (volDyn.dynBal.U,volDyn.dynBal.mXi[1],volDyn.dynBal.mC[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 38 * 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.001775/7.319, allocations: 1.513 MB / 3.221 GB, free: 93.02 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.000609/7.319, allocations: 417.1 kB / 3.221 GB, free: 92.61 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.88e-06/7.319, allocations: 8 kB / 3.221 GB, free: 92.61 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001844/7.319, allocations: 174.2 kB / 3.222 GB, free: 92.44 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001711/7.321, allocations: 399.9 kB / 3.222 GB, free: 92.05 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002215/7.323, allocations: 1.349 MB / 3.223 GB, free: 90.62 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005967/7.324, allocations: 1.121 MB / 3.224 GB, free: 89.48 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0007784/7.325, allocations: 202.2 kB / 3.225 GB, free: 89.28 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001412/7.325, allocations: 63.44 kB / 3.225 GB, free: 89.21 MB / 0.698 GB Notification: Performance of SimCode: time 5.91e-07/7.325, allocations: 0 / 3.225 GB, free: 89.21 MB / 0.698 GB Notification: Performance of Templates: time 0.03155/7.356, allocations: 20.44 MB / 3.245 GB, free: 68.95 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1)