Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow") translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001391/0.001391, allocations: 114.4 kB / 16.42 MB, free: 6.016 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.001239/0.001239, allocations: 183.7 kB / 17.35 MB, free: 5.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.311/1.311, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002259/0.002259, allocations: 282.1 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9661/0.9661, allocations: 169.2 MB / 0.499 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001781/0.001781, allocations: 103.8 kB / 0.6821 GB, free: 6.969 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3773/0.3791, allocations: 86.98 MB / 0.7671 GB, free: 3.914 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.1627/0.5418, allocations: 170.8 MB / 0.9338 GB, free: 8.465 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.005188/0.5471, allocations: 3.375 MB / 0.9371 GB, free: 5.082 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006197/0.5477, allocations: 27.81 kB / 0.9372 GB, free: 5.055 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0008779/0.5486, allocations: 330.1 kB / 0.9375 GB, free: 4.73 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.002291/0.5509, allocations: 1.05 MB / 0.9385 GB, free: 3.676 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.001546/0.5525, allocations: 0.6695 MB / 0.9392 GB, free: 3.012 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.001773/0.5543, allocations: 1.529 MB / 0.9406 GB, free: 1.48 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006807/0.555, allocations: 481.5 kB / 0.9411 GB, free: 1.008 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009591/0.5559, allocations: 0.5823 MB / 0.9417 GB, free: 436 kB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001062/0.557, allocations: 477.1 kB / 0.9421 GB, free: 15.96 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001311/0.5572, allocations: 52 kB / 0.9422 GB, free: 15.91 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001434/0.5586, allocations: 0.834 MB / 0.943 GB, free: 15.07 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002693/0.5589, allocations: 251.3 kB / 0.9432 GB, free: 14.83 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0004009/0.5593, allocations: 334.5 kB / 0.9436 GB, free: 14.5 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001488/0.5608, allocations: 1.133 MB / 0.9447 GB, free: 13.36 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.5608, allocations: 4 kB / 0.9447 GB, free: 13.36 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.172e-06/0.5608, allocations: 0 / 0.9447 GB, free: 13.36 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.68e-05/0.5608, allocations: 0 / 0.9447 GB, free: 13.36 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001441/0.5623, allocations: 0.9077 MB / 0.9455 GB, free: 12.4 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.432e-05/0.5623, allocations: 8.031 kB / 0.9456 GB, free: 12.39 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001268/0.5636, allocations: 191 kB / 0.9457 GB, free: 12.2 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000844/0.5645, allocations: 0.5208 MB / 0.9462 GB, free: 11.64 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.383e-05/0.5645, allocations: 29 kB / 0.9463 GB, free: 11.62 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.587e-05/0.5646, allocations: 44 kB / 0.9463 GB, free: 11.57 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007698/0.5653, allocations: 470.4 kB / 0.9468 GB, free: 11.11 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.501e-05/0.5654, allocations: 0 / 0.9468 GB, free: 11.11 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.235e-05/0.5654, allocations: 20 kB / 0.9468 GB, free: 11.09 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.373e-05/0.5655, allocations: 16.98 kB / 0.9468 GB, free: 11.07 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006372/0.5661, allocations: 415.8 kB / 0.9472 GB, free: 10.67 MB / 0.7169 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.002517/0.5686, allocations: 1.735 MB / 0.9489 GB, free: 8.801 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004653/0.5691, allocations: 294.6 kB / 0.9492 GB, free: 8.504 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002623/0.5694, allocations: 184.7 kB / 0.9493 GB, free: 8.32 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001651/0.5696, allocations: 93.09 kB / 0.9494 GB, free: 8.211 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.755e-05/0.5696, allocations: 46.48 kB / 0.9495 GB, free: 8.156 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=31): time 1.623e-06/0.5696, allocations: 0 / 0.9495 GB, free: 8.156 MB / 0.7169 GB Notification: Performance of matching and sorting (n=33): time 0.001894/0.5715, allocations: 1.049 MB / 0.9505 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.655e-05/0.5715, allocations: 55.41 kB / 0.9506 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004709/0.572, allocations: 461.8 kB / 0.951 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.795e-05/0.5721, allocations: 29.7 kB / 0.951 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.000168/0.5722, allocations: 256.1 kB / 0.9513 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 9.153e-05/0.5723, allocations: 110.4 kB / 0.9514 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001045/0.5724, allocations: 69.61 kB / 0.9514 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001198/0.5726, allocations: 358.8 kB / 0.9518 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002002/0.5728, allocations: 135.9 kB / 0.9519 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002471/0.573, allocations: 190.5 kB / 0.9521 GB, free: 5.355 MB / 0.7169 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 (bou.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.001874/0.5749, allocations: 0.8598 MB / 0.9529 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.5749, allocations: 0 / 0.9529 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005874/0.5755, allocations: 413.8 kB / 0.9533 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.5755, allocations: 12.19 kB / 0.9533 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.5756, allocations: 0 / 0.9533 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.5756, allocations: 4 kB / 0.9533 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003105/0.5759, allocations: 71.91 kB / 0.9534 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/0.5759, allocations: 8 kB / 0.9534 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003879/0.5763, allocations: 11.98 kB / 0.9534 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.123e-05/0.5763, allocations: 16 kB / 0.9535 GB, free: 3.926 MB / 0.7169 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: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 42 * 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.0002314/0.5766, allocations: 212.7 kB / 0.9537 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.405e-05/0.5767, allocations: 59.38 kB / 0.9537 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001291/0.5768, allocations: 60.69 kB / 0.9538 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004715/0.5773, allocations: 421 kB / 0.9542 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.5773, allocations: 0 / 0.9542 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002197/0.5775, allocations: 160.5 kB / 0.9543 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.848e-05/0.5776, allocations: 4 kB / 0.9543 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003851/0.578, allocations: 25.67 kB / 0.9544 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.348e-05/0.5781, allocations: 15.97 kB / 0.9544 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007776/0.5788, allocations: 468.6 kB / 0.9548 GB, free: 2.469 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008235/0.5797, allocations: 0.7018 MB / 0.9555 GB, free: 1.75 MB / 0.7169 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001974/0.5799, allocations: 152.1 kB / 0.9556 GB, free: 1.602 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0003364/0.5802, allocations: 327.1 kB / 0.956 GB, free: 1.285 MB / 0.7169 GB Notification: Performance of Backend: time 4.11e-07/0.5802, allocations: 0 / 0.956 GB, free: 1.285 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001191/0.5814, allocations: 460.3 kB / 0.9564 GB, free: 0.8398 MB / 0.7169 GB Notification: Performance of SimCode: time 0.3458/0.9273, allocations: 1.628 MB / 0.958 GB, free: 42.7 MB / 0.7169 GB Notification: Performance of Templates: time 0.01911/0.9464, allocations: 12.44 MB / 0.9701 GB, free: 42.35 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.sim & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1)