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.001323/0.001323, allocations: 103.5 kB / 16.39 MB, free: 6.383 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.001313/0.001313, allocations: 192.6 kB / 17.33 MB, free: 5.844 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.435/1.435, 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.002577/0.002577, allocations: 291.4 kB / 291.5 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.104/1.104, allocations: 169.3 MB / 0.499 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002838/0.002838, allocations: 95.84 kB / 0.6821 GB, free: 6.996 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4379/0.4408, allocations: 86.98 MB / 0.767 GB, free: 3.949 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.2045/0.6452, allocations: 171.2 MB / 0.9343 GB, free: 8.055 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.006182/0.6514, allocations: 3.39 MB / 0.9376 GB, free: 4.656 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000592/0.652, allocations: 23.81 kB / 0.9376 GB, free: 4.633 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0009146/0.6529, allocations: 330.1 kB / 0.9379 GB, free: 4.309 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.002522/0.6554, allocations: 1.058 MB / 0.9389 GB, free: 3.246 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.001709/0.6571, allocations: 0.6732 MB / 0.9396 GB, free: 2.578 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.002216/0.6594, allocations: 1.517 MB / 0.9411 GB, free: 1.059 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006457/0.66, allocations: 417.5 kB / 0.9415 GB, free: 0.6484 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009682/0.661, allocations: 0.5911 MB / 0.9421 GB, free: 60 kB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001095/0.6621, allocations: 462.2 kB / 0.9425 GB, free: 15.61 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001032/0.6622, allocations: 55.94 kB / 0.9426 GB, free: 15.55 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001957/0.6641, allocations: 0.8302 MB / 0.9434 GB, free: 14.72 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002992/0.6644, allocations: 255.2 kB / 0.9436 GB, free: 14.47 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0004063/0.6648, allocations: 338.5 kB / 0.9439 GB, free: 14.14 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001682/0.6665, allocations: 1.128 MB / 0.945 GB, free: 13.01 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.6665, allocations: 0 / 0.945 GB, free: 13.01 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.723e-06/0.6665, allocations: 7.938 kB / 0.945 GB, free: 13 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.396e-05/0.6665, allocations: 4 kB / 0.945 GB, free: 13 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.001709/0.6682, allocations: 0.9224 MB / 0.9459 GB, free: 12.02 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/0.6683, allocations: 8.031 kB / 0.946 GB, free: 12.01 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001243/0.6695, allocations: 187.3 kB / 0.9461 GB, free: 11.83 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009052/0.6704, allocations: 0.5251 MB / 0.9466 GB, free: 11.27 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.269e-05/0.6705, allocations: 29 kB / 0.9467 GB, free: 11.24 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.334e-05/0.6706, allocations: 40 kB / 0.9467 GB, free: 11.2 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008244/0.6714, allocations: 486.3 kB / 0.9472 GB, free: 10.72 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.591e-05/0.6714, allocations: 0 / 0.9472 GB, free: 10.72 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.48e-05/0.6715, allocations: 20 kB / 0.9472 GB, free: 10.7 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.873e-05/0.6715, allocations: 16.98 kB / 0.9472 GB, free: 10.68 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007659/0.6722, allocations: 419.7 kB / 0.9476 GB, free: 10.27 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.002996/0.6752, allocations: 1.724 MB / 0.9493 GB, free: 8.418 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005353/0.6758, allocations: 290.6 kB / 0.9496 GB, free: 8.125 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002671/0.676, allocations: 168.7 kB / 0.9497 GB, free: 7.957 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002032/0.6762, allocations: 105 kB / 0.9498 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.039e-05/0.6763, allocations: 42.48 kB / 0.9499 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=31): time 1.873e-06/0.6763, allocations: 4 kB / 0.9499 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of matching and sorting (n=33): time 0.002424/0.6787, allocations: 1.058 MB / 0.9509 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.948e-05/0.6788, allocations: 59.41 kB / 0.951 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006117/0.6794, allocations: 453.9 kB / 0.9514 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.678e-05/0.6794, allocations: 37.64 kB / 0.9514 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002506/0.6797, allocations: 260.5 kB / 0.9517 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.000129/0.6798, allocations: 119 kB / 0.9518 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000123/0.6799, allocations: 65.7 kB / 0.9519 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001929/0.6801, allocations: 354.8 kB / 0.9522 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002205/0.6803, allocations: 131.9 kB / 0.9523 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002945/0.6806, allocations: 194.6 kB / 0.9525 GB, free: 4.965 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.002107/0.6827, allocations: 0.8667 MB / 0.9534 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.6827, allocations: 0 / 0.9534 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007154/0.6835, allocations: 414.7 kB / 0.9538 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.6835, allocations: 7.125 kB / 0.9538 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/0.6835, allocations: 7.938 kB / 0.9538 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.855e-05/0.6835, allocations: 4 kB / 0.9538 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003273/0.6838, allocations: 71.91 kB / 0.9538 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.204e-05/0.6838, allocations: 4 kB / 0.9538 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004127/0.6843, allocations: 20.17 kB / 0.9539 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.312e-05/0.6843, allocations: 8 kB / 0.9539 GB, free: 3.535 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.0002932/0.6846, allocations: 220.6 kB / 0.9541 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001088/0.6847, allocations: 59.61 kB / 0.9541 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001394/0.6848, allocations: 64.75 kB / 0.9542 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.203e-06/0.6848, allocations: 4 kB / 0.9542 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.6848, allocations: 0 / 0.9542 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000537/0.6854, allocations: 409 kB / 0.9546 GB, free: 2.758 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002267/0.6876, allocations: 1.241 MB / 0.9558 GB, free: 1.41 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.576e-06/0.6876, allocations: 4 kB / 0.9558 GB, free: 1.406 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003703/0.688, allocations: 79.89 kB / 0.9559 GB, free: 1.328 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.734e-06/0.688, allocations: 4.5 kB / 0.9559 GB, free: 1.324 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.359e-05/0.6881, allocations: 16 kB / 0.9559 GB, free: 1.309 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.482e-06/0.6881, allocations: 7.938 kB / 0.9559 GB, free: 1.301 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/0.6881, allocations: 7.938 kB / 0.9559 GB, free: 1.293 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001022/0.6891, allocations: 0.7077 MB / 0.9566 GB, free: 0.5195 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000275/0.6894, allocations: 176.7 kB / 0.9568 GB, free: 336 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.046e-05/0.6894, allocations: 12 kB / 0.9568 GB, free: 324 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004383/0.6899, allocations: 20.53 kB / 0.9568 GB, free: 304 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.978e-05/0.6899, allocations: 39.91 kB / 0.9568 GB, free: 264 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.475e-05/0.69, allocations: 16 kB / 0.9569 GB, free: 248 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.364/1.054, allocations: 328.6 kB / 0.9572 GB, free: 190.9 MB / 0.7169 GB Notification: Performance of sort global known variables: time 3.51e-07/1.054, allocations: 0 / 0.9572 GB, free: 190.9 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0009117/1.055, allocations: 140.5 kB / 0.9573 GB, free: 190.9 MB / 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.0004291/1.055, allocations: 166 kB / 0.9575 GB, free: 190.8 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0007111/1.056, allocations: 313.6 kB / 0.9578 GB, free: 190.8 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.181e-06/1.056, allocations: 5.125 kB / 0.9578 GB, free: 190.8 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000277/1.056, allocations: 157.7 kB / 0.9579 GB, free: 190.8 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001879/1.058, allocations: 366.8 kB / 0.9583 GB, free: 190.8 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001982/1.06, allocations: 1.135 MB / 0.9594 GB, free: 190.2 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004559/1.061, allocations: 0.8882 MB / 0.9602 GB, free: 189.4 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0005643/1.061, allocations: 143.6 kB / 0.9604 GB, free: 189.4 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001221/1.061, allocations: 42.23 kB / 0.9604 GB, free: 189.4 MB / 0.7169 GB Notification: Performance of SimCode: time 9.72e-07/1.061, allocations: 1.094 kB / 0.9604 GB, free: 189.4 MB / 0.7169 GB Notification: Performance of Templates: time 0.01845/1.08, allocations: 11.17 MB / 0.9713 GB, free: 184.7 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1)