Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.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) 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 Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") translateModel(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.627/1.627, allocations: 297.8 MB / 313.7 MB, free: 68 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001051/0.001051, allocations: 179 kB / 384.6 MB, free: 10.79 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.428/1.428, allocations: 223.2 MB / 0.6626 GB, free: 4.297 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008096/0.0008095, allocations: 97.28 kB / 0.7808 GB, free: 50.27 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006276/0.0006276, allocations: 16 kB / 0.9088 GB, free: 2.844 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8967/0.8973, allocations: 120.3 MB / 1.026 GB, free: 55.87 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.199/6.097, allocations: 1.922 GB / 2.949 GB, free: 282 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003058/6.097, allocations: 94.78 kB / 2.949 GB, free: 282 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 1.982/8.079, allocations: 0.5943 GB / 3.543 GB, free: 82.23 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.613e-06/8.079, allocations: 0 / 3.543 GB, free: 82.23 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0001169/8.079, allocations: 27.98 kB / 3.543 GB, free: 82.21 MB / 0.9792 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.003858/8.083, allocations: 1.228 MB / 3.544 GB, free: 80.92 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/8.083, allocations: 8.031 kB / 3.544 GB, free: 80.91 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001494/8.085, allocations: 215.5 kB / 3.544 GB, free: 80.7 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00162/8.086, allocations: 0.6768 MB / 3.545 GB, free: 79.99 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.911e-05/8.087, allocations: 62.38 kB / 3.545 GB, free: 79.93 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002034/8.087, allocations: 80.36 kB / 3.545 GB, free: 79.85 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001473/8.088, allocations: 0.9098 MB / 3.546 GB, free: 78.86 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.278e-05/8.088, allocations: 11.81 kB / 3.546 GB, free: 78.84 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.157e-05/8.088, allocations: 32 kB / 3.546 GB, free: 78.81 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.518e-05/8.088, allocations: 33.25 kB / 3.546 GB, free: 78.78 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001026/8.089, allocations: 0.5865 MB / 3.547 GB, free: 78.2 MB / 0.9792 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.004195/8.094, allocations: 4.562 MB / 3.551 GB, free: 73.34 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005696/8.094, allocations: 451.3 kB / 3.552 GB, free: 72.88 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002878/8.095, allocations: 231.8 kB / 3.552 GB, free: 72.64 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001798/8.095, allocations: 101 kB / 3.552 GB, free: 72.52 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.547e-05/8.095, allocations: 42.56 kB / 3.552 GB, free: 72.47 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=43): time 2.705e-06/8.095, allocations: 0 / 3.552 GB, free: 72.47 MB / 0.9792 GB Notification: Performance of matching and sorting (n=45): time 0.002732/8.098, allocations: 1.545 MB / 3.554 GB, free: 70.87 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.283e-05/8.098, allocations: 123 kB / 3.554 GB, free: 70.72 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006747/8.098, allocations: 0.6921 MB / 3.554 GB, free: 70.02 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 3.673e-05/8.098, allocations: 37.7 kB / 3.554 GB, free: 69.98 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002243/8.099, allocations: 427.7 kB / 3.555 GB, free: 69.55 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 9.512e-05/8.099, allocations: 161.7 kB / 3.555 GB, free: 69.39 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.105e-05/8.099, allocations: 8 kB / 3.555 GB, free: 69.38 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001095/8.099, allocations: 390.8 kB / 3.555 GB, free: 68.99 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002346/8.099, allocations: 181.2 kB / 3.555 GB, free: 68.82 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000342/8.099, allocations: 419.6 kB / 3.556 GB, free: 68.3 MB / 0.9792 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.001785/8.101, allocations: 1.156 MB / 3.557 GB, free: 67.04 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/8.101, allocations: 4 kB / 3.557 GB, free: 67.04 MB / 0.9792 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0008046/8.102, allocations: 0.6557 MB / 3.558 GB, free: 66.38 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 2.215e-05/8.102, allocations: 8 kB / 3.558 GB, free: 66.37 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/8.102, allocations: 8.781 kB / 3.558 GB, free: 66.36 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.129e-05/8.102, allocations: 8 kB / 3.558 GB, free: 66.35 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004319/8.103, allocations: 135.7 kB / 3.558 GB, free: 66.22 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.476e-05/8.103, allocations: 15.92 kB / 3.558 GB, free: 66.2 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000583/8.103, allocations: 47.88 kB / 3.558 GB, free: 66.16 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.906e-05/8.103, allocations: 36 kB / 3.558 GB, free: 66.12 MB / 0.9792 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 () * Number of clocked 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.000368/8.104, allocations: 277.9 kB / 3.558 GB, free: 65.84 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001234/8.104, allocations: 82.97 kB / 3.558 GB, free: 65.76 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000624/8.104, allocations: 482 kB / 3.559 GB, free: 65.28 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.172e-06/8.104, allocations: 4 kB / 3.559 GB, free: 65.28 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/8.104, allocations: 4 kB / 3.559 GB, free: 65.27 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005082/8.105, allocations: 0.6952 MB / 3.559 GB, free: 64.49 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001906/8.107, allocations: 1.606 MB / 3.561 GB, free: 62.78 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/8.107, allocations: 4 kB / 3.561 GB, free: 62.78 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004026/8.107, allocations: 103.9 kB / 3.561 GB, free: 62.68 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.141e-06/8.107, allocations: 4 kB / 3.561 GB, free: 62.67 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.956e-05/8.107, allocations: 12.47 kB / 3.561 GB, free: 62.66 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.802e-06/8.107, allocations: 12 kB / 3.561 GB, free: 62.65 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.83e-06/8.107, allocations: 11.97 kB / 3.561 GB, free: 62.64 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008977/8.108, allocations: 0.8854 MB / 3.562 GB, free: 61.68 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002353/8.108, allocations: 200.2 kB / 3.562 GB, free: 61.47 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.55e-05/8.109, allocations: 16 kB / 3.562 GB, free: 61.45 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004468/8.109, allocations: 39.81 kB / 3.562 GB, free: 61.41 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.954e-05/8.109, allocations: 43.84 kB / 3.562 GB, free: 61.37 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.795e-05/8.109, allocations: 19.98 kB / 3.562 GB, free: 61.35 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0005065/8.11, allocations: 0.499 MB / 3.563 GB, free: 60.86 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1.2e-07/8.11, allocations: 0 / 3.563 GB, free: 60.86 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.001327/8.111, allocations: 360 kB / 3.563 GB, free: 60.5 MB / 0.9792 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 () * Number of clocked 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.002125/8.113, allocations: 1.679 MB / 3.565 GB, free: 58.77 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0006641/8.114, allocations: 463.9 kB / 3.565 GB, free: 58.32 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/8.114, allocations: 0 / 3.565 GB, free: 58.32 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0002285/8.114, allocations: 206.2 kB / 3.565 GB, free: 58.12 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002172/8.116, allocations: 466.7 kB / 3.566 GB, free: 57.68 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002424/8.119, allocations: 2.038 MB / 3.568 GB, free: 55.56 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004375/8.119, allocations: 1.028 MB / 3.569 GB, free: 54.5 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0006878/8.12, allocations: 198.9 kB / 3.569 GB, free: 54.3 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001467/8.12, allocations: 67.42 kB / 3.569 GB, free: 54.24 MB / 0.9792 GB Notification: Performance of SimCode: time 8.02e-07/8.12, allocations: 0 / 3.569 GB, free: 54.24 MB / 0.9792 GB Notification: Performance of Templates: time 0.04571/8.166, allocations: 34.23 MB / 3.602 GB, free: 20.24 MB / 0.9792 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1)