Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow") translateModel(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.0007767/0.0007767, allocations: 93.73 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001054/0.001054, allocations: 172.8 kB / 16.91 MB, free: 6.68 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.532/1.532, allocations: 223.2 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7001/0.7001, allocations: 115.5 MB / 407.6 MB, free: 2.676 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002968/0.0002968, allocations: 8 kB / 495.9 MB, free: 6.355 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1413/0.1416, allocations: 77.53 MB / 0.5599 GB, free: 9.039 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.4965/0.6381, allocations: 166.3 MB / 0.7224 GB, free: 496 kB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.007902/0.6461, allocations: 3.383 MB / 0.7257 GB, free: 13.09 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000725/0.6468, allocations: 23.81 kB / 0.7257 GB, free: 13.07 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001136/0.648, allocations: 274.6 kB / 0.726 GB, free: 12.8 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003263/0.6513, allocations: 0.9493 MB / 0.7269 GB, free: 11.85 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002272/0.6536, allocations: 0.61 MB / 0.7275 GB, free: 11.25 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003479/0.6571, allocations: 2.11 MB / 0.7295 GB, free: 9.129 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009431/0.658, allocations: 405.3 kB / 0.7299 GB, free: 8.738 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001334/0.6594, allocations: 481.8 kB / 0.7304 GB, free: 8.266 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001462/0.6608, allocations: 464.7 kB / 0.7308 GB, free: 7.812 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.815e-05/0.6609, allocations: 20 kB / 0.7308 GB, free: 7.793 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002797/0.6638, allocations: 0.9468 MB / 0.7318 GB, free: 6.844 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003597/0.6641, allocations: 211.4 kB / 0.732 GB, free: 6.637 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0005182/0.6647, allocations: 316.2 kB / 0.7323 GB, free: 6.32 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002198/0.6669, allocations: 1.141 MB / 0.7334 GB, free: 5.176 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.6669, allocations: 0 / 0.7334 GB, free: 5.176 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.515e-06/0.6669, allocations: 0 / 0.7334 GB, free: 5.176 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.256e-05/0.6669, allocations: 0 / 0.7334 GB, free: 5.176 MB / 0.545 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.001693/0.6686, allocations: 0.7992 MB / 0.7342 GB, free: 4.328 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.919e-05/0.6687, allocations: 8.031 kB / 0.7342 GB, free: 4.32 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001858/0.6706, allocations: 175.2 kB / 0.7343 GB, free: 4.148 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009889/0.6716, allocations: 0.5013 MB / 0.7348 GB, free: 3.609 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.299e-05/0.6716, allocations: 29 kB / 0.7349 GB, free: 3.582 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001043/0.6717, allocations: 40 kB / 0.7349 GB, free: 3.543 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001113/0.6729, allocations: 482.3 kB / 0.7354 GB, free: 3.066 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.284e-05/0.6729, allocations: 0 / 0.7354 GB, free: 3.066 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.122e-05/0.673, allocations: 16 kB / 0.7354 GB, free: 3.051 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.966e-05/0.673, allocations: 17 kB / 0.7354 GB, free: 3.031 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000946/0.674, allocations: 415.7 kB / 0.7358 GB, free: 2.629 MB / 0.545 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.003562/0.6776, allocations: 1.743 MB / 0.7375 GB, free: 0.75 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007337/0.6783, allocations: 294.6 kB / 0.7378 GB, free: 464 kB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004066/0.6787, allocations: 184.6 kB / 0.7379 GB, free: 280 kB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002319/0.679, allocations: 105.1 kB / 0.738 GB, free: 156 kB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.621e-05/0.679, allocations: 38.5 kB / 0.7381 GB, free: 108 kB / 0.545 GB Notification: Performance of pre-optimization done (n=31): time 2.805e-06/0.679, allocations: 0 / 0.7381 GB, free: 108 kB / 0.545 GB Notification: Performance of matching and sorting (n=33): time 0.003063/0.6821, allocations: 1.062 MB / 0.7391 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.912e-05/0.6822, allocations: 55.41 kB / 0.7392 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007949/0.683, allocations: 453.9 kB / 0.7396 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.706e-05/0.6831, allocations: 33.7 kB / 0.7396 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002635/0.6834, allocations: 248.1 kB / 0.7399 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.00015/0.6835, allocations: 118.3 kB / 0.74 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.922e-05/0.6836, allocations: 37.7 kB / 0.74 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001852/0.6838, allocations: 354.8 kB / 0.7404 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003303/0.6842, allocations: 127.9 kB / 0.7405 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004152/0.6846, allocations: 205.6 kB / 0.7407 GB, free: 13.32 MB / 0.5606 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.002822/0.6874, allocations: 0.8592 MB / 0.7415 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.6874, allocations: 0 / 0.7415 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009419/0.6884, allocations: 422.2 kB / 0.7419 GB, free: 12 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.608e-05/0.6884, allocations: 10.03 kB / 0.7419 GB, free: 12 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.258e-06/0.6884, allocations: 0 / 0.7419 GB, free: 12 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.024e-05/0.6885, allocations: 4 kB / 0.7419 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004563/0.6889, allocations: 71.91 kB / 0.742 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.384e-05/0.689, allocations: 4 kB / 0.742 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006694/0.6896, allocations: 32.09 kB / 0.742 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.011e-05/0.6897, allocations: 16 kB / 0.7421 GB, free: 11.87 MB / 0.5606 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: 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.0004096/0.6901, allocations: 205.7 kB / 0.7422 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001452/0.6903, allocations: 55.38 kB / 0.7423 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001949/0.6905, allocations: 64.75 kB / 0.7424 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.667e-06/0.6905, allocations: 0 / 0.7424 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.438e-06/0.6905, allocations: 7.938 kB / 0.7424 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007576/0.6913, allocations: 408.5 kB / 0.7428 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002752/0.6941, allocations: 1.245 MB / 0.744 GB, free: 9.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.206e-05/0.6941, allocations: 4.812 kB / 0.744 GB, free: 9.746 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003738/0.6945, allocations: 76.34 kB / 0.7441 GB, free: 9.672 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.397e-06/0.6945, allocations: 12 kB / 0.7441 GB, free: 9.66 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.637e-05/0.6945, allocations: 12 kB / 0.7441 GB, free: 9.648 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.031e-06/0.6946, allocations: 4 kB / 0.7441 GB, free: 9.645 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.492e-06/0.6946, allocations: 11.94 kB / 0.7441 GB, free: 9.633 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008254/0.6954, allocations: 0.6997 MB / 0.7448 GB, free: 8.867 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002178/0.6956, allocations: 172.5 kB / 0.7449 GB, free: 8.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.485e-05/0.6957, allocations: 12 kB / 0.7449 GB, free: 8.668 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004523/0.6962, allocations: 39.88 kB / 0.745 GB, free: 8.629 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.899e-05/0.6962, allocations: 27.86 kB / 0.745 GB, free: 8.602 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.959e-05/0.6963, allocations: 23.98 kB / 0.745 GB, free: 8.578 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003467/0.6966, allocations: 327.1 kB / 0.7453 GB, free: 8.266 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.31e-07/0.6966, allocations: 0 / 0.7453 GB, free: 8.266 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0005533/0.6972, allocations: 136 kB / 0.7455 GB, free: 8.133 MB / 0.5606 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.0003819/0.6976, allocations: 173.5 kB / 0.7456 GB, free: 7.965 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005461/0.6981, allocations: 315.5 kB / 0.7459 GB, free: 7.656 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/0.6982, allocations: 4 kB / 0.7459 GB, free: 7.652 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00023/0.6984, allocations: 168.6 kB / 0.7461 GB, free: 7.488 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001978/0.7004, allocations: 350.3 kB / 0.7464 GB, free: 7.16 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001779/0.7022, allocations: 1.37 MB / 0.7478 GB, free: 5.711 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004317/0.7026, allocations: 0.8862 MB / 0.7486 GB, free: 4.797 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0005129/0.7031, allocations: 140.6 kB / 0.7488 GB, free: 4.656 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001148/0.7033, allocations: 47.42 kB / 0.7488 GB, free: 4.609 MB / 0.5606 GB Notification: Performance of SimCode: time 3.91e-07/0.7033, allocations: 0 / 0.7488 GB, free: 4.609 MB / 0.5606 GB Notification: Performance of Templates: time 0.01896/0.7222, allocations: 10.53 MB / 0.7591 GB, free: 10.26 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.makefile (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.sim & ./IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1)