Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.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.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8432/0.8433, allocations: 141.8 MB / 149.3 MB, free: 9.195 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.001059/0.001059, allocations: 180.9 kB / 182.2 MB, free: 9.445 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.423/1.423, allocations: 221.5 MB / 436.4 MB, free: 13.34 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.0008948/0.0008947, allocations: 84.11 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.001746/0.001746, allocations: 284 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.182e-05/2.185e-05, allocations: 4 kB / 0.6765 GB, free: 12.83 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4428/0.4428, allocations: 82.78 MB / 0.7574 GB, free: 32.01 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.746/5.189, allocations: 1.89 GB / 2.647 GB, free: 168.5 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003394/5.189, allocations: 87.83 kB / 2.648 GB, free: 168.5 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.114/7.303, allocations: 0.5888 GB / 3.236 GB, free: 110.9 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.483e-06/7.303, allocations: 0 / 3.236 GB, free: 110.9 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.369e-05/7.303, allocations: 28 kB / 3.236 GB, free: 110.9 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: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.002712/7.306, allocations: 1.124 MB / 3.237 GB, free: 109.7 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/7.306, allocations: 12.03 kB / 3.237 GB, free: 109.7 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001382/7.307, allocations: 206.7 kB / 3.238 GB, free: 109.5 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001331/7.308, allocations: 0.6531 MB / 3.238 GB, free: 108.8 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.013e-05/7.308, allocations: 24 kB / 3.238 GB, free: 108.8 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001411/7.309, allocations: 48 kB / 3.238 GB, free: 108.8 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008967/7.31, allocations: 0.5076 MB / 3.239 GB, free: 108.3 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001076/7.311, allocations: 0.7862 MB / 3.24 GB, free: 107.4 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.562e-05/7.311, allocations: 8 kB / 3.24 GB, free: 107.4 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.14e-05/7.311, allocations: 0 / 3.24 GB, free: 107.4 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.975e-05/7.311, allocations: 29.31 kB / 3.24 GB, free: 107.4 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.003495/7.314, allocations: 4.382 MB / 3.244 GB, free: 102.7 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004867/7.315, allocations: 426 kB / 3.244 GB, free: 102.3 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002494/7.315, allocations: 216.4 kB / 3.245 GB, free: 102.1 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001736/7.315, allocations: 102.1 kB / 3.245 GB, free: 102 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.114e-05/7.315, allocations: 42.56 kB / 3.245 GB, free: 101.9 MB / 0.698 GB Notification: Performance of pre-optimization done (n=43): time 1.854e-06/7.315, allocations: 0 / 3.245 GB, free: 101.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=45): time 0.002215/7.317, allocations: 1.309 MB / 3.246 GB, free: 100.5 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.632e-05/7.318, allocations: 114.9 kB / 3.246 GB, free: 100.4 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000419/7.318, allocations: 434.3 kB / 3.246 GB, free: 99.97 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.732e-05/7.318, allocations: 25.7 kB / 3.247 GB, free: 99.94 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001952/7.318, allocations: 431 kB / 3.247 GB, free: 99.51 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.53e-05/7.318, allocations: 157.7 kB / 3.247 GB, free: 99.35 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.16e-05/7.318, allocations: 0 / 3.247 GB, free: 99.35 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.328e-05/7.318, allocations: 366.8 kB / 3.247 GB, free: 98.98 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002152/7.319, allocations: 165.5 kB / 3.248 GB, free: 98.82 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00029/7.319, allocations: 395.3 kB / 3.248 GB, free: 98.33 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: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.001402/7.32, allocations: 0.6343 MB / 3.249 GB, free: 97.68 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.069e-06/7.32, allocations: 7.953 kB / 3.249 GB, free: 97.67 MB / 0.698 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0007226/7.321, allocations: 0.5665 MB / 3.249 GB, free: 97.1 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/7.321, allocations: 9.406 kB / 3.249 GB, free: 97.09 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.868e-06/7.321, allocations: 8 kB / 3.249 GB, free: 97.08 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.16e-05/7.321, allocations: 8 kB / 3.249 GB, free: 97.07 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004348/7.322, allocations: 132.4 kB / 3.249 GB, free: 96.95 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.541e-05/7.322, allocations: 12 kB / 3.249 GB, free: 96.93 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005668/7.322, allocations: 35.81 kB / 3.249 GB, free: 96.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.052e-05/7.322, allocations: 32 kB / 3.249 GB, free: 96.87 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: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 (intTraSubOut.local_reset,intTraSubIn.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 74 * 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.0001245/7.322, allocations: 132.7 kB / 3.249 GB, free: 96.73 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001183/7.323, allocations: 67.2 kB / 3.25 GB, free: 96.66 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001423/7.323, allocations: 70.19 kB / 3.25 GB, free: 96.6 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/7.323, allocations: 8 kB / 3.25 GB, free: 96.59 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.555e-06/7.323, allocations: 0 / 3.25 GB, free: 96.59 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005019/7.323, allocations: 0.6569 MB / 3.25 GB, free: 95.85 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001895/7.325, allocations: 1.482 MB / 3.252 GB, free: 94.29 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.201e-06/7.325, allocations: 4 kB / 3.252 GB, free: 94.29 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004296/7.326, allocations: 103.9 kB / 3.252 GB, free: 94.18 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.384e-06/7.326, allocations: 4 kB / 3.252 GB, free: 94.18 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.05e-05/7.326, allocations: 8 kB / 3.252 GB, free: 94.17 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.264e-06/7.326, allocations: 11.89 kB / 3.252 GB, free: 94.16 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/7.326, allocations: 8 kB / 3.252 GB, free: 94.15 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008804/7.327, allocations: 0.9876 MB / 3.253 GB, free: 93.01 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002225/7.327, allocations: 188.3 kB / 3.253 GB, free: 92.8 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.416e-05/7.327, allocations: 8 kB / 3.253 GB, free: 92.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000449/7.327, allocations: 31.91 kB / 3.253 GB, free: 92.77 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.047e-05/7.327, allocations: 35.86 kB / 3.253 GB, free: 92.73 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.29e-05/7.327, allocations: 24.08 kB / 3.253 GB, free: 92.71 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002973/7.328, allocations: 322.9 kB / 3.253 GB, free: 92.39 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/7.328, allocations: 0 / 3.253 GB, free: 92.39 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001058/7.329, allocations: 300 kB / 3.254 GB, free: 92.1 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 5 (vol.dynBal.U,vol.dynBal.mXi[1],vol.dynBal.mC[1],intTraSubIn.y,intTraSubOut.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 45 * 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.002315/7.331, allocations: 1.876 MB / 3.256 GB, free: 90.35 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005821/7.332, allocations: 414.5 kB / 3.256 GB, free: 89.95 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/7.332, allocations: 4 kB / 3.256 GB, free: 89.95 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002251/7.332, allocations: 191.7 kB / 3.256 GB, free: 89.76 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001364/7.333, allocations: 303.2 kB / 3.256 GB, free: 89.47 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001771/7.335, allocations: 1.244 MB / 3.258 GB, free: 88.14 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003952/7.336, allocations: 1.043 MB / 3.259 GB, free: 87.07 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0005686/7.336, allocations: 172.6 kB / 3.259 GB, free: 86.91 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001177/7.336, allocations: 51.42 kB / 3.259 GB, free: 86.86 MB / 0.698 GB Notification: Performance of SimCode: time 2.41e-07/7.336, allocations: 0 / 3.259 GB, free: 86.86 MB / 0.698 GB Notification: Performance of Templates: time 0.02685/7.363, allocations: 19.65 MB / 3.278 GB, free: 67.39 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1)