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.001621/0.001621, allocations: 111.3 kB / 16.38 MB, free: 6.484 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.001652/0.001652, allocations: 190.7 kB / 17.32 MB, free: 5.82 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.329/1.329, allocations: 205.1 MB / 223.2 MB, free: 12.27 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.759/1.759, allocations: 292.3 MB / 0.5496 GB, free: 17.47 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.001527/0.001527, allocations: 72.11 kB / 0.6729 GB, free: 5.836 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2012/0.2028, allocations: 114.6 MB / 0.7848 GB, free: 3.168 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.5292/0.732, allocations: 187.3 MB / 0.9677 GB, free: 14.71 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01493/0.747, allocations: 13.03 MB / 0.9804 GB, free: 1.652 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001029/0.748, allocations: 31.81 kB / 0.9804 GB, free: 1.621 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.001347/0.7494, allocations: 429.2 kB / 0.9808 GB, free: 1.199 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.002742/0.7522, allocations: 1.151 MB / 0.982 GB, free: 44 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.001734/0.7539, allocations: 0.699 MB / 0.9827 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.002498/0.7564, allocations: 2.006 MB / 0.9846 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001174/0.7576, allocations: 0.8366 MB / 0.9854 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003769/0.7614, allocations: 1.809 MB / 0.9872 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001723/0.7631, allocations: 0.6652 MB / 0.9878 GB, free: 10.01 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0002208/0.7634, allocations: 80 kB / 0.9879 GB, free: 9.934 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001886/0.7653, allocations: 0.8652 MB / 0.9888 GB, free: 9.066 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.000489/0.7658, allocations: 379 kB / 0.9891 GB, free: 8.695 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0007574/0.7665, allocations: 0.4976 MB / 0.9896 GB, free: 8.195 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.002039/0.7686, allocations: 1.501 MB / 0.9911 GB, free: 6.691 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.7686, allocations: 4 kB / 0.9911 GB, free: 6.688 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.563e-06/0.7686, allocations: 0 / 0.9911 GB, free: 6.688 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.571e-05/0.7687, allocations: 0 / 0.9911 GB, free: 6.688 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.002213/0.7709, allocations: 1.226 MB / 0.9923 GB, free: 5.41 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.7709, allocations: 8.031 kB / 0.9923 GB, free: 5.402 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001272/0.7722, allocations: 222.6 kB / 0.9925 GB, free: 5.184 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001134/0.7733, allocations: 0.6676 MB / 0.9932 GB, free: 4.473 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.238e-05/0.7734, allocations: 58 kB / 0.9932 GB, free: 4.414 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001168/0.7735, allocations: 79.94 kB / 0.9933 GB, free: 4.336 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0014/0.7749, allocations: 0.9327 MB / 0.9942 GB, free: 3.32 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.354e-05/0.775, allocations: 0 / 0.9942 GB, free: 3.32 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.863e-05/0.7751, allocations: 35.94 kB / 0.9942 GB, free: 3.285 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.812e-05/0.7751, allocations: 29.31 kB / 0.9943 GB, free: 3.258 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001015/0.7761, allocations: 0.6177 MB / 0.9949 GB, free: 2.641 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.004277/0.7804, allocations: 4.574 MB / 0.9993 GB, free: 13.77 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007099/0.7811, allocations: 0.5325 MB / 0.9999 GB, free: 13.19 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003386/0.7815, allocations: 252.5 kB / 1 GB, free: 12.94 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001806/0.7817, allocations: 105.6 kB / 1 GB, free: 12.82 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.19e-05/0.7817, allocations: 46.62 kB / 1 GB, free: 12.77 MB / 0.795 GB Notification: Performance of pre-optimization done (n=43): time 2.335e-06/0.7817, allocations: 0 / 1 GB, free: 12.77 MB / 0.795 GB Notification: Performance of matching and sorting (n=45): time 0.002838/0.7846, allocations: 1.585 MB / 1.002 GB, free: 11.12 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.957e-05/0.7846, allocations: 111.1 kB / 1.002 GB, free: 10.99 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008/0.7855, allocations: 0.7115 MB / 1.003 GB, free: 10.27 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 4.651e-05/0.7855, allocations: 38.27 kB / 1.003 GB, free: 10.23 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002818/0.7858, allocations: 415.7 kB / 1.003 GB, free: 9.816 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001352/0.7859, allocations: 157.8 kB / 1.003 GB, free: 9.66 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001719/0.7861, allocations: 114.2 kB / 1.003 GB, free: 9.543 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.000158/0.7863, allocations: 386.8 kB / 1.004 GB, free: 9.156 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003117/0.7866, allocations: 189.2 kB / 1.004 GB, free: 8.969 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004401/0.7871, allocations: 413.6 kB / 1.004 GB, free: 8.473 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.002147/0.7892, allocations: 1.16 MB / 1.005 GB, free: 7.211 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.953e-06/0.7892, allocations: 4 kB / 1.005 GB, free: 7.207 MB / 0.795 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009725/0.7902, allocations: 0.6674 MB / 1.006 GB, free: 6.531 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.7902, allocations: 13.19 kB / 1.006 GB, free: 6.52 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.177e-05/0.7903, allocations: 8 kB / 1.006 GB, free: 6.512 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.874e-05/0.7903, allocations: 13.25 kB / 1.006 GB, free: 6.5 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004808/0.7908, allocations: 127.8 kB / 1.006 GB, free: 6.375 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.391e-05/0.7908, allocations: 15.94 kB / 1.006 GB, free: 6.359 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005336/0.7913, allocations: 23.98 kB / 1.006 GB, free: 6.336 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.157e-05/0.7914, allocations: 28 kB / 1.006 GB, free: 6.309 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.0003356/0.7917, allocations: 270.2 kB / 1.006 GB, free: 6.035 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001539/0.7919, allocations: 87.09 kB / 1.007 GB, free: 5.949 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001631/0.7921, allocations: 91.56 kB / 1.007 GB, free: 5.859 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000687/0.7928, allocations: 0.7115 MB / 1.007 GB, free: 5.062 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.7928, allocations: 0 / 1.007 GB, free: 5.062 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002499/0.793, allocations: 204.1 kB / 1.008 GB, free: 4.844 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.707e-05/0.7931, allocations: 16.55 kB / 1.008 GB, free: 4.828 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004608/0.7936, allocations: 11.94 kB / 1.008 GB, free: 4.816 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.435e-05/0.7937, allocations: 27.97 kB / 1.008 GB, free: 4.789 MB / 0.795 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001096/0.7948, allocations: 0.7216 MB / 1.008 GB, free: 4.059 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001269/0.796, allocations: 1.063 MB / 1.009 GB, free: 2.98 MB / 0.795 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004404/0.7965, allocations: 208.6 kB / 1.01 GB, free: 2.777 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0009803/0.7975, allocations: 499.7 kB / 1.01 GB, free: 2.293 MB / 0.795 GB Notification: Performance of Backend: time 6.71e-07/0.7975, allocations: 4.062 kB / 1.01 GB, free: 2.289 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.002567/0.8001, allocations: 0.6054 MB / 1.011 GB, free: 1.703 MB / 0.795 GB Notification: Performance of SimCode: time 0.005479/0.8056, allocations: 2.234 MB / 1.013 GB, free: 15.47 MB / 0.8106 GB Notification: Performance of Templates: time 0.03595/0.8416, allocations: 16.4 MB / 1.029 GB, free: 15.41 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 -lv LOG_STATS > Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1)