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.001348/0.001348, allocations: 106.6 kB / 16.41 MB, free: 6.453 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.001438/0.001438, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.374/1.374, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002098/0.002098, allocations: 284.2 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9399/0.9399, allocations: 169.3 MB / 0.499 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00197/0.00197, allocations: 99.84 kB / 0.6821 GB, free: 6.949 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4567/0.4587, allocations: 86.97 MB / 0.767 GB, free: 3.793 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.1873/0.6461, allocations: 170.8 MB / 0.9338 GB, free: 8.359 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.005649/0.6518, allocations: 3.383 MB / 0.9371 GB, free: 4.969 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007334/0.6525, allocations: 27.88 kB / 0.9371 GB, free: 4.941 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.001014/0.6536, allocations: 314 kB / 0.9374 GB, free: 4.633 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.002632/0.6562, allocations: 1.023 MB / 0.9384 GB, free: 3.605 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.001767/0.658, allocations: 0.6643 MB / 0.9391 GB, free: 2.945 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.002081/0.6601, allocations: 1.524 MB / 0.9406 GB, free: 1.422 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007943/0.6609, allocations: 477.4 kB / 0.941 GB, free: 0.9531 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001135/0.6621, allocations: 0.5784 MB / 0.9416 GB, free: 384 kB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001273/0.6634, allocations: 458.2 kB / 0.942 GB, free: 15.93 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001502/0.6635, allocations: 56 kB / 0.9421 GB, free: 15.87 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0017/0.6652, allocations: 0.834 MB / 0.9429 GB, free: 15.04 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003433/0.6656, allocations: 247.3 kB / 0.9431 GB, free: 14.79 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0005615/0.6662, allocations: 330.6 kB / 0.9435 GB, free: 14.47 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001903/0.6681, allocations: 1.133 MB / 0.9446 GB, free: 13.33 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.6681, allocations: 0 / 0.9446 GB, free: 13.33 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.723e-06/0.6681, allocations: 4 kB / 0.9446 GB, free: 13.33 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.141e-05/0.6681, allocations: 0 / 0.9446 GB, free: 13.33 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.001599/0.6697, allocations: 0.9176 MB / 0.9455 GB, free: 12.36 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.6698, allocations: 8.031 kB / 0.9455 GB, free: 12.35 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001231/0.671, allocations: 175 kB / 0.9456 GB, free: 12.18 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008279/0.6718, allocations: 0.5325 MB / 0.9462 GB, free: 11.61 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.88e-05/0.6719, allocations: 29 kB / 0.9462 GB, free: 11.58 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.448e-05/0.672, allocations: 44 kB / 0.9462 GB, free: 11.54 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007723/0.6727, allocations: 470.4 kB / 0.9467 GB, free: 11.07 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.559e-05/0.6728, allocations: 0 / 0.9467 GB, free: 11.07 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.912e-05/0.6728, allocations: 20 kB / 0.9467 GB, free: 11.05 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.744e-05/0.6729, allocations: 13 kB / 0.9467 GB, free: 11.04 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006489/0.6735, allocations: 423.7 kB / 0.9471 GB, free: 10.63 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.002491/0.676, allocations: 1.731 MB / 0.9488 GB, free: 8.77 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004811/0.6765, allocations: 302.5 kB / 0.9491 GB, free: 8.465 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002593/0.6768, allocations: 192.7 kB / 0.9493 GB, free: 8.273 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001826/0.677, allocations: 93.09 kB / 0.9494 GB, free: 8.164 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.321e-05/0.677, allocations: 42.5 kB / 0.9494 GB, free: 8.113 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=31): time 1.873e-06/0.6771, allocations: 0 / 0.9494 GB, free: 8.113 MB / 0.7169 GB Notification: Performance of matching and sorting (n=33): time 0.00214/0.6792, allocations: 1.049 MB / 0.9504 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.711e-05/0.6793, allocations: 55.41 kB / 0.9505 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004981/0.6798, allocations: 461.8 kB / 0.9509 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.259e-05/0.6798, allocations: 33.7 kB / 0.951 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001834/0.68, allocations: 252.1 kB / 0.9512 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001066/0.6801, allocations: 114.4 kB / 0.9513 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001143/0.6802, allocations: 73.59 kB / 0.9514 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0002294/0.6805, allocations: 354.8 kB / 0.9517 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000199/0.6807, allocations: 131.9 kB / 0.9518 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002709/0.681, allocations: 190.6 kB / 0.952 GB, free: 5.312 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.001912/0.6829, allocations: 0.8661 MB / 0.9529 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.6829, allocations: 4 kB / 0.9529 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006519/0.6835, allocations: 413.9 kB / 0.9533 GB, free: 4 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.6836, allocations: 8.188 kB / 0.9533 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.6836, allocations: 4 kB / 0.9533 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.6836, allocations: 0 / 0.9533 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003042/0.6839, allocations: 71.91 kB / 0.9533 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.244e-05/0.6839, allocations: 7.984 kB / 0.9534 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003817/0.6843, allocations: 8 kB / 0.9534 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.4e-05/0.6844, allocations: 19.94 kB / 0.9534 GB, free: 3.883 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.000259/0.6846, allocations: 208.7 kB / 0.9536 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.967e-05/0.6847, allocations: 59.38 kB / 0.9536 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001368/0.6849, allocations: 60.75 kB / 0.9537 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.6849, allocations: 3.938 kB / 0.9537 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-05/0.6849, allocations: 4 kB / 0.9537 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004846/0.6854, allocations: 409.1 kB / 0.9541 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001789/0.6872, allocations: 1.249 MB / 0.9553 GB, free: 1.762 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/0.6872, allocations: 4 kB / 0.9553 GB, free: 1.758 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003416/0.6876, allocations: 67.91 kB / 0.9554 GB, free: 1.691 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.567e-06/0.6876, allocations: 8 kB / 0.9554 GB, free: 1.684 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.943e-05/0.6876, allocations: 12 kB / 0.9554 GB, free: 1.672 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.156e-06/0.6876, allocations: 7.984 kB / 0.9554 GB, free: 1.664 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.87e-06/0.6876, allocations: 7.938 kB / 0.9554 GB, free: 1.656 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008909/0.6885, allocations: 0.7114 MB / 0.9561 GB, free: 0.8789 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002169/0.6888, allocations: 164.5 kB / 0.9563 GB, free: 0.6992 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.769e-05/0.6889, allocations: 15.98 kB / 0.9563 GB, free: 0.6836 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004177/0.6893, allocations: 25.19 kB / 0.9563 GB, free: 0.6602 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.095e-05/0.6893, allocations: 35.78 kB / 0.9563 GB, free: 0.625 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.663e-05/0.6894, allocations: 19.98 kB / 0.9564 GB, free: 0.6055 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.000366/0.6898, allocations: 331.1 kB / 0.9567 GB, free: 292 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6898, allocations: 0 / 0.9567 GB, free: 292 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0005596/0.6903, allocations: 144 kB / 0.9568 GB, free: 148 kB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 2 (vol.dynBal.medium.Xi[1],vol.dynBal.U) * 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 (33): * Single equations (assignments): 33 * 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.3234/1.014, allocations: 162.1 kB / 0.957 GB, free: 191.3 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0008494/1.015, allocations: 328 kB / 0.9573 GB, free: 191.3 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 7.474e-06/1.015, allocations: 1.531 kB / 0.9573 GB, free: 191.3 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002691/1.015, allocations: 160.7 kB / 0.9574 GB, free: 191.3 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002797/1.018, allocations: 366.3 kB / 0.9578 GB, free: 191.2 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00237/1.02, allocations: 1.148 MB / 0.9589 GB, free: 190.7 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004601/1.021, allocations: 0.8823 MB / 0.9598 GB, free: 189.9 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001843/1.021, allocations: 45.11 kB / 0.9598 GB, free: 189.9 MB / 0.7169 GB Notification: Performance of SimCode: time 4.51e-07/1.021, allocations: 0 / 0.9598 GB, free: 189.9 MB / 0.7169 GB Notification: Performance of Templates: time 0.01202/1.033, allocations: 8.679 MB / 0.9683 GB, free: 187.3 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)