Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") translateModel(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001474/0.001474, allocations: 104.7 kB / 16.36 MB, free: 6.426 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.001653/0.001653, allocations: 195.7 kB / 17.3 MB, free: 5.801 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.401/1.401, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.797/1.797, allocations: 292.3 MB / 0.5496 GB, free: 17.46 MB / 462.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.001442/0.001442, allocations: 75.89 kB / 0.6729 GB, free: 5.863 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2253/0.2267, allocations: 114.5 MB / 0.7848 GB, free: 3.199 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.5886/0.8154, allocations: 187.3 MB / 0.9677 GB, free: 14.74 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01568/0.8311, allocations: 13.04 MB / 0.9804 GB, free: 1.668 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001039/0.8322, allocations: 27.88 kB / 0.9804 GB, free: 1.641 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.001215/0.8334, allocations: 429.1 kB / 0.9808 GB, free: 1.219 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.002749/0.8362, allocations: 1.147 MB / 0.982 GB, free: 68 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.001723/0.8379, allocations: 0.7006 MB / 0.9826 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.002373/0.8403, allocations: 2.008 MB / 0.9846 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001049/0.8414, allocations: 0.8417 MB / 0.9854 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004484/0.8459, allocations: 1.809 MB / 0.9872 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002144/0.8481, allocations: 0.66 MB / 0.9878 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0002077/0.8483, allocations: 84 kB / 0.9879 GB, free: 9.949 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002446/0.8507, allocations: 0.8692 MB / 0.9888 GB, free: 9.078 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0004401/0.8512, allocations: 379 kB / 0.9891 GB, free: 8.707 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0005755/0.8518, allocations: 0.4976 MB / 0.9896 GB, free: 8.207 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.002042/0.8538, allocations: 1.497 MB / 0.9911 GB, free: 6.707 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.633e-06/0.8538, allocations: 0 / 0.9911 GB, free: 6.707 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.264e-06/0.8538, allocations: 0 / 0.9911 GB, free: 6.707 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.635e-05/0.8539, allocations: 0 / 0.9911 GB, free: 6.707 MB / 0.7794 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.001993/0.8559, allocations: 1.226 MB / 0.9923 GB, free: 5.43 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.8559, allocations: 15.12 kB / 0.9923 GB, free: 5.418 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001218/0.8571, allocations: 222.6 kB / 0.9925 GB, free: 5.199 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001068/0.8582, allocations: 0.6325 MB / 0.9931 GB, free: 4.523 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.003e-05/0.8583, allocations: 59.25 kB / 0.9932 GB, free: 4.465 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001127/0.8584, allocations: 76 kB / 0.9932 GB, free: 4.391 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001373/0.8598, allocations: 0.9326 MB / 0.9941 GB, free: 3.375 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.492e-05/0.8598, allocations: 0 / 0.9941 GB, free: 3.375 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.535e-05/0.8599, allocations: 39.94 kB / 0.9942 GB, free: 3.336 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.63e-05/0.8599, allocations: 25.31 kB / 0.9942 GB, free: 3.312 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009609/0.8609, allocations: 0.6216 MB / 0.9948 GB, free: 2.691 MB / 0.7794 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.00453/0.8654, allocations: 4.566 MB / 0.9993 GB, free: 13.83 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000729/0.8662, allocations: 0.5403 MB / 0.9998 GB, free: 13.24 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003228/0.8665, allocations: 248.4 kB / 1 GB, free: 12.99 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000184/0.8667, allocations: 101.1 kB / 1 GB, free: 12.88 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.376e-05/0.8668, allocations: 46.48 kB / 1 GB, free: 12.82 MB / 0.795 GB Notification: Performance of pre-optimization done (n=43): time 1.944e-06/0.8668, allocations: 0 / 1 GB, free: 12.82 MB / 0.795 GB Notification: Performance of matching and sorting (n=45): time 0.002805/0.8696, allocations: 1.591 MB / 1.002 GB, free: 11.18 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.719e-05/0.8697, allocations: 106.8 kB / 1.002 GB, free: 11.05 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008322/0.8705, allocations: 0.7076 MB / 1.003 GB, free: 10.33 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 5.163e-05/0.8706, allocations: 37.7 kB / 1.003 GB, free: 10.29 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003117/0.8709, allocations: 423.7 kB / 1.003 GB, free: 9.867 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001363/0.871, allocations: 153.8 kB / 1.003 GB, free: 9.715 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001754/0.8712, allocations: 122.3 kB / 1.003 GB, free: 9.59 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001821/0.8714, allocations: 386.7 kB / 1.004 GB, free: 9.203 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000293/0.8717, allocations: 191.2 kB / 1.004 GB, free: 9.016 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004483/0.8721, allocations: 405 kB / 1.004 GB, free: 8.527 MB / 0.795 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.002213/0.8744, allocations: 1.164 MB / 1.005 GB, free: 7.262 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.8744, allocations: 0 / 1.005 GB, free: 7.262 MB / 0.795 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001037/0.8754, allocations: 0.6759 MB / 1.006 GB, free: 6.578 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.264e-05/0.8755, allocations: 15.97 kB / 1.006 GB, free: 6.562 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/0.8755, allocations: 4 kB / 1.006 GB, free: 6.559 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.307e-05/0.8755, allocations: 12 kB / 1.006 GB, free: 6.547 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004763/0.876, allocations: 123.8 kB / 1.006 GB, free: 6.426 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.769e-05/0.876, allocations: 16.5 kB / 1.006 GB, free: 6.41 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005381/0.8766, allocations: 28.67 kB / 1.006 GB, free: 6.383 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.709e-05/0.8766, allocations: 24 kB / 1.006 GB, free: 6.359 MB / 0.795 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: 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.0003609/0.877, allocations: 273.6 kB / 1.006 GB, free: 6.082 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001574/0.8772, allocations: 85.25 kB / 1.007 GB, free: 6 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001617/0.8773, allocations: 95.58 kB / 1.007 GB, free: 5.906 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/0.8773, allocations: 4 kB / 1.007 GB, free: 5.902 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.644e-06/0.8773, allocations: 3.938 kB / 1.007 GB, free: 5.898 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007131/0.8781, allocations: 0.7007 MB / 1.007 GB, free: 5.113 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002401/0.8805, allocations: 1.64 MB / 1.009 GB, free: 3.367 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.742e-06/0.8805, allocations: 4 kB / 1.009 GB, free: 3.363 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004597/0.881, allocations: 99.83 kB / 1.009 GB, free: 3.266 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.15e-05/0.881, allocations: 11.94 kB / 1.009 GB, free: 3.254 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.314e-05/0.881, allocations: 16 kB / 1.009 GB, free: 3.238 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.918e-06/0.881, allocations: 13.98 kB / 1.009 GB, free: 3.227 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.881, allocations: 4.406 kB / 1.009 GB, free: 3.223 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001123/0.8822, allocations: 0.8887 MB / 1.01 GB, free: 2.273 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003287/0.8825, allocations: 212 kB / 1.01 GB, free: 2.047 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.291e-05/0.8826, allocations: 19.98 kB / 1.01 GB, free: 2.027 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004416/0.8831, allocations: 12 kB / 1.01 GB, free: 2.016 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.583e-05/0.8831, allocations: 39.89 kB / 1.01 GB, free: 1.977 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.13e-05/0.8832, allocations: 16 kB / 1.01 GB, free: 1.961 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0005979/0.8838, allocations: 0.5146 MB / 1.011 GB, free: 1.449 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.522e-06/0.8838, allocations: 0 / 1.011 GB, free: 1.449 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.000702/0.8845, allocations: 203.9 kB / 1.011 GB, free: 1.25 MB / 0.795 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.0004263/0.8849, allocations: 196.9 kB / 1.011 GB, free: 1.074 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0007915/0.8857, allocations: 485.2 kB / 1.012 GB, free: 0.6016 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.8857, allocations: 0 / 1.012 GB, free: 0.6016 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0003171/0.8861, allocations: 209.2 kB / 1.012 GB, free: 408 kB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001896/0.888, allocations: 484 kB / 1.012 GB, free: 15.97 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002509/0.8905, allocations: 1.63 MB / 1.014 GB, free: 14.27 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006843/0.8912, allocations: 1.035 MB / 1.015 GB, free: 13.2 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.000643/0.8918, allocations: 195.2 kB / 1.015 GB, free: 13.01 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001644/0.892, allocations: 63.42 kB / 1.015 GB, free: 12.95 MB / 0.8106 GB Notification: Performance of SimCode: time 8.82e-07/0.892, allocations: 0 / 1.015 GB, free: 12.95 MB / 0.8106 GB Notification: Performance of Templates: time 0.02461/0.9166, allocations: 15.06 MB / 1.03 GB, free: 14.23 MB / 0.8262 GB make -j1 -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.makefile (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & ./Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1)