Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.conf.json 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/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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) Running command: translateModel(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") translateModel(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008195/0.0008195, allocations: 97.8 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007901/0.007901, allocations: 169.2 kB / 16.26 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.6/1.6, allocations: 205.4 MB / 222.4 MB, free: 5.801 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.637/1.637, allocations: 252 MB / 0.5105 GB, free: 4.707 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005565/0.0005566, allocations: 12 kB / 0.6249 GB, free: 0.7578 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6056/0.6061, allocations: 106.3 MB / 0.7287 GB, free: 11.3 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.2289/0.8351, allocations: 182.8 MB / 0.9072 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.6492/1.484, allocations: 13.01 MB / 0.9199 GB, free: 2.02 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001643/1.486, allocations: 30.94 kB / 0.92 GB, free: 2.016 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001516/1.488, allocations: 347.8 kB / 0.9203 GB, free: 2.016 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.004284/1.492, allocations: 1.099 MB / 0.9214 GB, free: 1.961 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002631/1.495, allocations: 0.656 MB / 0.922 GB, free: 1.938 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.006515/1.501, allocations: 2.824 MB / 0.9248 GB, free: 1.934 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002213/1.503, allocations: 0.7252 MB / 0.9255 GB, free: 1.809 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007526/1.511, allocations: 1.641 MB / 0.9271 GB, free: 1.766 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002475/1.513, allocations: 0.6552 MB / 0.9277 GB, free: 1.766 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001317/1.514, allocations: 34.44 kB / 0.9278 GB, free: 1.766 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002931/1.516, allocations: 0.9696 MB / 0.9287 GB, free: 1.758 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.000549/1.517, allocations: 348.4 kB / 0.929 GB, free: 1.754 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001096/1.518, allocations: 479.3 kB / 0.9295 GB, free: 17.72 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002139/1.52, allocations: 1.492 MB / 0.931 GB, free: 17.63 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/1.52, allocations: 0 / 0.931 GB, free: 17.63 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.565e-06/1.52, allocations: 0 / 0.931 GB, free: 17.63 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.371e-05/1.52, allocations: 0 / 0.931 GB, free: 17.63 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.001738/1.522, allocations: 1.053 MB / 0.932 GB, free: 16.96 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/1.522, allocations: 6.375 kB / 0.932 GB, free: 16.96 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001141/1.523, allocations: 214 kB / 0.9322 GB, free: 16.9 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009267/1.524, allocations: 0.6459 MB / 0.9328 GB, free: 16.6 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.421e-05/1.524, allocations: 62.86 kB / 0.9329 GB, free: 16.6 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001146/1.524, allocations: 72.66 kB / 0.933 GB, free: 16.6 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001348/1.526, allocations: 0.9426 MB / 0.9339 GB, free: 16.34 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.72e-05/1.526, allocations: 6.594 kB / 0.9339 GB, free: 16.34 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.199e-05/1.526, allocations: 33.78 kB / 0.9339 GB, free: 16.34 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-05/1.526, allocations: 29.97 kB / 0.9339 GB, free: 16.34 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001172/1.527, allocations: 0.6177 MB / 0.9345 GB, free: 16.33 MB / 0.7325 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.004426/1.532, allocations: 4.608 MB / 0.939 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006362/1.532, allocations: 0.5289 MB / 0.9396 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003037/1.532, allocations: 239.6 kB / 0.9398 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001795/1.533, allocations: 109.4 kB / 0.9399 GB, free: 12.85 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.253e-05/1.533, allocations: 42.8 kB / 0.9399 GB, free: 12.81 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=43): time 2.044e-06/1.533, allocations: 0 / 0.9399 GB, free: 12.81 MB / 0.7325 GB Notification: Performance of matching and sorting (n=45): time 0.002815/1.536, allocations: 1.578 MB / 0.9415 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.659e-05/1.536, allocations: 108.2 kB / 0.9416 GB, free: 12.08 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007944/1.536, allocations: 0.7189 MB / 0.9423 GB, free: 11.94 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.633e-05/1.536, allocations: 36.02 kB / 0.9423 GB, free: 11.91 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002883/1.537, allocations: 416.6 kB / 0.9427 GB, free: 11.72 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001278/1.537, allocations: 156.7 kB / 0.9429 GB, free: 11.62 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.041e-05/1.537, allocations: 57.2 kB / 0.9429 GB, free: 11.61 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001629/1.537, allocations: 386.5 kB / 0.9433 GB, free: 11.29 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002579/1.537, allocations: 189.2 kB / 0.9435 GB, free: 11.29 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004442/1.538, allocations: 418.4 kB / 0.9439 GB, free: 11.03 MB / 0.7325 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.002018/1.54, allocations: 1.153 MB / 0.945 GB, free: 10.68 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.257e-06/1.54, allocations: 0 / 0.945 GB, free: 10.68 MB / 0.7325 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.000958/1.541, allocations: 0.6708 MB / 0.9456 GB, free: 10.59 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.234e-05/1.541, allocations: 8.031 kB / 0.9457 GB, free: 10.59 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.184e-05/1.541, allocations: 6.281 kB / 0.9457 GB, free: 10.59 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.558e-05/1.541, allocations: 10.89 kB / 0.9457 GB, free: 10.59 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004428/1.541, allocations: 127 kB / 0.9458 GB, free: 10.59 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.569e-05/1.541, allocations: 15.34 kB / 0.9458 GB, free: 10.59 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006838/1.542, allocations: 51.61 kB / 0.9459 GB, free: 10.58 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.504e-05/1.542, allocations: 29.36 kB / 0.9459 GB, free: 10.58 MB / 0.7325 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004331/1.543, allocations: 284.8 kB / 0.9462 GB, free: 10.46 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001504/1.543, allocations: 83.47 kB / 0.9462 GB, free: 10.41 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001777/1.543, allocations: 94.28 kB / 0.9463 GB, free: 10.4 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.123e-06/1.543, allocations: 5.719 kB / 0.9463 GB, free: 10.4 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/1.543, allocations: 64 / 0.9463 GB, free: 10.4 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007613/1.544, allocations: 0.696 MB / 0.947 GB, free: 9.953 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00238/1.546, allocations: 1.641 MB / 0.9486 GB, free: 9.355 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.243e-06/1.546, allocations: 5.875 kB / 0.9486 GB, free: 9.355 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004176/1.547, allocations: 100.2 kB / 0.9487 GB, free: 9.355 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.889e-06/1.547, allocations: 5.812 kB / 0.9487 GB, free: 9.355 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.161e-05/1.547, allocations: 18.28 kB / 0.9487 GB, free: 9.355 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.416e-06/1.547, allocations: 17.41 kB / 0.9487 GB, free: 9.348 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.481e-06/1.547, allocations: 8 kB / 0.9488 GB, free: 9.348 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001038/1.548, allocations: 0.8826 MB / 0.9496 GB, free: 9.023 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003043/1.548, allocations: 212 kB / 0.9498 GB, free: 8.887 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.1e-05/1.548, allocations: 18.98 kB / 0.9498 GB, free: 8.887 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005069/1.549, allocations: 46.2 kB / 0.9499 GB, free: 8.875 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.254e-05/1.549, allocations: 36.66 kB / 0.9499 GB, free: 8.871 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.537e-05/1.549, allocations: 21.44 kB / 0.9499 GB, free: 8.871 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0006491/1.549, allocations: 0.5058 MB / 0.9504 GB, free: 8.777 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/1.549, allocations: 0 / 0.9504 GB, free: 8.777 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0008202/1.55, allocations: 212.2 kB / 0.9506 GB, free: 8.77 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004711/1.551, allocations: 192.4 kB / 0.9508 GB, free: 8.664 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0007596/1.552, allocations: 465.1 kB / 0.9513 GB, free: 8.66 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/1.552, allocations: 4.734 kB / 0.9513 GB, free: 8.66 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002759/1.552, allocations: 212 kB / 0.9515 GB, free: 8.652 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0025/1.554, allocations: 472.5 kB / 0.9519 GB, free: 8.609 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002715/1.557, allocations: 2.021 MB / 0.9539 GB, free: 7.48 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006116/1.558, allocations: 1.028 MB / 0.9549 GB, free: 6.77 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0007566/1.558, allocations: 196.9 kB / 0.9551 GB, free: 6.734 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001654/1.559, allocations: 61.3 kB / 0.9551 GB, free: 6.727 MB / 0.7325 GB Notification: Performance of SimCode: time 1.362e-06/1.559, allocations: 0 / 0.9551 GB, free: 6.727 MB / 0.7325 GB Notification: Performance of Templates: time 0.02814/1.587, allocations: 14.55 MB / 0.9693 GB, free: 3.598 MB / 0.7325 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1) Environment - environmentSimulation: