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.001357/0.001357, allocations: 115 kB / 16.37 MB, free: 6 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.001362/0.001362, allocations: 189.3 kB / 17.3 MB, free: 5.617 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.528/1.528, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.818/1.818, allocations: 292.3 MB / 0.5496 GB, free: 17.61 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.001481/0.001481, allocations: 71.91 kB / 0.6729 GB, free: 5.883 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2383/0.2398, allocations: 114.6 MB / 0.7848 GB, free: 3.215 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.5781/0.818, allocations: 187.3 MB / 0.9677 GB, free: 14.75 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01728/0.8353, allocations: 13.03 MB / 0.9804 GB, free: 1.691 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001401/0.8367, allocations: 35.81 kB / 0.9804 GB, free: 1.656 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.001587/0.8384, allocations: 425.1 kB / 0.9808 GB, free: 1.238 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.00349/0.8419, allocations: 1.151 MB / 0.982 GB, free: 84 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.002135/0.8441, allocations: 0.6937 MB / 0.9826 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.003054/0.8471, allocations: 2.009 MB / 0.9846 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001504/0.8487, allocations: 0.8356 MB / 0.9854 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004472/0.8532, allocations: 1.809 MB / 0.9872 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001895/0.8551, allocations: 0.656 MB / 0.9878 GB, free: 10.06 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0002822/0.8554, allocations: 83.94 kB / 0.9879 GB, free: 9.977 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002146/0.8575, allocations: 0.8686 MB / 0.9888 GB, free: 9.109 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0005648/0.8581, allocations: 383 kB / 0.9891 GB, free: 8.734 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0009069/0.859, allocations: 0.4976 MB / 0.9896 GB, free: 8.234 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.002604/0.8616, allocations: 1.496 MB / 0.9911 GB, free: 6.734 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.8617, allocations: 0 / 0.9911 GB, free: 6.734 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.953e-06/0.8617, allocations: 0 / 0.9911 GB, free: 6.734 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.487e-05/0.8617, allocations: 0 / 0.9911 GB, free: 6.734 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.002256/0.864, allocations: 1.238 MB / 0.9923 GB, free: 5.445 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.738e-05/0.864, allocations: 8.031 kB / 0.9923 GB, free: 5.438 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001332/0.8654, allocations: 218.6 kB / 0.9925 GB, free: 5.223 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001241/0.8666, allocations: 0.6715 MB / 0.9932 GB, free: 4.508 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.562e-05/0.8667, allocations: 58 kB / 0.9932 GB, free: 4.449 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001262/0.8668, allocations: 79.98 kB / 0.9933 GB, free: 4.371 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001403/0.8682, allocations: 0.9288 MB / 0.9942 GB, free: 3.359 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.613e-05/0.8683, allocations: 7.938 kB / 0.9942 GB, free: 3.352 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.943e-05/0.8683, allocations: 33.25 kB / 0.9942 GB, free: 3.32 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.893e-05/0.8684, allocations: 29.25 kB / 0.9943 GB, free: 3.293 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000999/0.8694, allocations: 0.6255 MB / 0.9949 GB, free: 2.668 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.004486/0.8739, allocations: 4.562 MB / 0.9993 GB, free: 13.81 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007023/0.8746, allocations: 0.5373 MB / 0.9999 GB, free: 13.23 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003233/0.875, allocations: 252.5 kB / 1 GB, free: 12.97 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001848/0.8751, allocations: 97.09 kB / 1 GB, free: 12.86 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.596e-05/0.8752, allocations: 43.19 kB / 1 GB, free: 12.81 MB / 0.795 GB Notification: Performance of pre-optimization done (n=43): time 1.964e-06/0.8752, allocations: 0 / 1 GB, free: 12.81 MB / 0.795 GB Notification: Performance of matching and sorting (n=45): time 0.002842/0.878, allocations: 1.586 MB / 1.002 GB, free: 11.16 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.833e-05/0.8781, allocations: 106.8 kB / 1.002 GB, free: 11.04 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008468/0.879, allocations: 0.7154 MB / 1.003 GB, free: 10.31 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 4.763e-05/0.879, allocations: 33.7 kB / 1.003 GB, free: 10.27 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.000291/0.8793, allocations: 419.7 kB / 1.003 GB, free: 9.855 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001315/0.8795, allocations: 157.8 kB / 1.003 GB, free: 9.699 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001629/0.8796, allocations: 122.3 kB / 1.003 GB, free: 9.574 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001492/0.8798, allocations: 386.8 kB / 1.004 GB, free: 9.188 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002913/0.8801, allocations: 185.2 kB / 1.004 GB, free: 9.004 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004463/0.8806, allocations: 413 kB / 1.004 GB, free: 8.508 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.002126/0.8827, allocations: 1.162 MB / 1.005 GB, free: 7.246 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.8827, allocations: 4 kB / 1.005 GB, free: 7.242 MB / 0.795 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001005/0.8837, allocations: 0.6725 MB / 1.006 GB, free: 6.562 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/0.8838, allocations: 15.88 kB / 1.006 GB, free: 6.547 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.396e-05/0.8838, allocations: 8 kB / 1.006 GB, free: 6.539 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.598e-05/0.8838, allocations: 8 kB / 1.006 GB, free: 6.531 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004673/0.8843, allocations: 131.8 kB / 1.006 GB, free: 6.402 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.763e-05/0.8843, allocations: 11.94 kB / 1.006 GB, free: 6.391 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000606/0.8849, allocations: 25.95 kB / 1.006 GB, free: 6.367 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.916e-05/0.885, allocations: 28 kB / 1.006 GB, free: 6.34 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.0003962/0.8854, allocations: 273.7 kB / 1.006 GB, free: 6.062 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001721/0.8856, allocations: 83 kB / 1.007 GB, free: 5.98 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001844/0.8858, allocations: 91.58 kB / 1.007 GB, free: 5.891 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.784e-06/0.8858, allocations: 4 kB / 1.007 GB, free: 5.887 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.071e-05/0.8858, allocations: 0 / 1.007 GB, free: 5.887 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007193/0.8865, allocations: 0.7037 MB / 1.007 GB, free: 5.098 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002426/0.889, allocations: 1.644 MB / 1.009 GB, free: 3.348 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/0.889, allocations: 4 kB / 1.009 GB, free: 3.344 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000445/0.8894, allocations: 102 kB / 1.009 GB, free: 3.246 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.043e-05/0.8895, allocations: 7.938 kB / 1.009 GB, free: 3.238 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.74e-05/0.8895, allocations: 16 kB / 1.009 GB, free: 3.223 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.087e-05/0.8895, allocations: 16.42 kB / 1.009 GB, free: 3.207 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.031e-06/0.8895, allocations: 8.703 kB / 1.009 GB, free: 3.199 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001081/0.8906, allocations: 0.8848 MB / 1.01 GB, free: 2.254 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003066/0.8909, allocations: 204.1 kB / 1.01 GB, free: 2.035 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001291/0.8911, allocations: 19.94 kB / 1.01 GB, free: 2.016 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004654/0.8915, allocations: 12 kB / 1.01 GB, free: 2.004 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.807e-05/0.8916, allocations: 44.39 kB / 1.01 GB, free: 1.961 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.622e-05/0.8917, allocations: 24 kB / 1.01 GB, free: 1.938 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0006209/0.8923, allocations: 0.5068 MB / 1.011 GB, free: 1.434 MB / 0.795 GB Notification: Performance of sort global known variables: time 2.81e-07/0.8923, allocations: 0 / 1.011 GB, free: 1.434 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0007864/0.8931, allocations: 200 kB / 1.011 GB, free: 1.238 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.0004989/0.8936, allocations: 209.3 kB / 1.011 GB, free: 1.055 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0008274/0.8944, allocations: 488.7 kB / 1.012 GB, free: 0.5781 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/0.8945, allocations: 0 / 1.012 GB, free: 0.5781 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0002813/0.8947, allocations: 209.9 kB / 1.012 GB, free: 384 kB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002188/0.8969, allocations: 491.5 kB / 1.012 GB, free: 15.95 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002644/0.8996, allocations: 1.691 MB / 1.014 GB, free: 14.17 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006372/0.9003, allocations: 1.028 MB / 1.015 GB, free: 13.11 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000208/0.9005, allocations: 71.42 kB / 1.015 GB, free: 13.04 MB / 0.8106 GB Notification: Performance of SimCode: time 1.042e-06/0.9005, allocations: 0 / 1.015 GB, free: 13.04 MB / 0.8106 GB Notification: Performance of Templates: time 0.02177/0.9223, allocations: 12.86 MB / 1.028 GB, free: 432 kB / 0.8106 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 -lv LOG_STATS > Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1)