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.001158/0.001158, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001152/0.001152, allocations: 191 kB / 16.25 MB, free: 6.621 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.419/1.419, allocations: 222.9 MB / 239.9 MB, free: 4.496 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002688/0.002688, allocations: 278.5 kB / 290.4 MB, free: 2.117 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9698/0.9698, allocations: 169.2 MB / 0.4978 GB, free: 14.04 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003166/0.003166, allocations: 94.27 kB / 0.5947 GB, free: 28.2 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1852/0.1884, allocations: 86.98 MB / 0.6796 GB, free: 1.031 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.4821/0.6705, allocations: 168.5 MB / 0.8441 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005516/0.6761, allocations: 3.358 MB / 0.8474 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007886/0.6769, allocations: 19 kB / 0.8474 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0009207/0.6778, allocations: 270.3 kB / 0.8477 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002442/0.6803, allocations: 0.9577 MB / 0.8486 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001547/0.6819, allocations: 0.6156 MB / 0.8492 GB, free: 13.22 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001868/0.6837, allocations: 1.532 MB / 0.8507 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006161/0.6844, allocations: 470.2 kB / 0.8512 GB, free: 12.13 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009045/0.6853, allocations: 0.5599 MB / 0.8517 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009086/0.6862, allocations: 498.5 kB / 0.8522 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.165e-05/0.6863, allocations: 52.78 kB / 0.8523 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001438/0.6877, allocations: 0.8705 MB / 0.8531 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000255/0.688, allocations: 247.6 kB / 0.8533 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003126/0.6883, allocations: 336.5 kB / 0.8537 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001393/0.6897, allocations: 1.189 MB / 0.8548 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.6897, allocations: 0 / 0.8548 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of FrontEnd: time 4.389e-06/0.6897, allocations: 0 / 0.8548 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.668e-06/0.6898, allocations: 3.938 kB / 0.8548 GB, free: 10.18 MB / 0.5762 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.001278/0.691, allocations: 0.9094 MB / 0.8557 GB, free: 9.445 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.257e-05/0.6911, allocations: 10.06 kB / 0.8557 GB, free: 9.445 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001112/0.6922, allocations: 174.1 kB / 0.8559 GB, free: 9.371 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006498/0.6929, allocations: 0.4961 MB / 0.8564 GB, free: 8.957 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.602e-05/0.6929, allocations: 34.81 kB / 0.8564 GB, free: 8.941 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.006e-05/0.693, allocations: 47.47 kB / 0.8565 GB, free: 8.922 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000695/0.6937, allocations: 473.9 kB / 0.8569 GB, free: 8.648 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.616e-05/0.6937, allocations: 2.781 kB / 0.8569 GB, free: 8.648 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.349e-05/0.6938, allocations: 16.66 kB / 0.8569 GB, free: 8.637 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.52e-05/0.6938, allocations: 21.25 kB / 0.8569 GB, free: 8.629 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005524/0.6944, allocations: 413.9 kB / 0.8573 GB, free: 8.434 MB / 0.5762 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.00223/0.6966, allocations: 1.746 MB / 0.859 GB, free: 6.996 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004395/0.697, allocations: 287.3 kB / 0.8593 GB, free: 6.844 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002326/0.6973, allocations: 179 kB / 0.8595 GB, free: 6.754 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001875/0.6975, allocations: 103.7 kB / 0.8596 GB, free: 6.648 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.552e-05/0.6975, allocations: 45.69 kB / 0.8596 GB, free: 6.598 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=31): time 1.433e-06/0.6975, allocations: 0 / 0.8596 GB, free: 6.598 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33): time 0.001853/0.6994, allocations: 1.051 MB / 0.8607 GB, free: 5.914 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.601e-05/0.6994, allocations: 58.02 kB / 0.8607 GB, free: 5.848 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004278/0.6999, allocations: 451.8 kB / 0.8611 GB, free: 5.574 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.375e-05/0.6999, allocations: 34.98 kB / 0.8612 GB, free: 5.539 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001591/0.7001, allocations: 249.1 kB / 0.8614 GB, free: 5.316 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.985e-05/0.7002, allocations: 123.1 kB / 0.8615 GB, free: 5.215 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001029/0.7003, allocations: 68.61 kB / 0.8616 GB, free: 5.168 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001405/0.7004, allocations: 359.4 kB / 0.8619 GB, free: 4.82 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001761/0.7006, allocations: 127.6 kB / 0.8621 GB, free: 4.758 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002271/0.7009, allocations: 194.2 kB / 0.8622 GB, free: 4.625 MB / 0.5762 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.001778/0.7026, allocations: 0.8664 MB / 0.8631 GB, free: 4.098 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.7027, allocations: 0.625 kB / 0.8631 GB, free: 4.098 MB / 0.5762 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005491/0.7032, allocations: 415.1 kB / 0.8635 GB, free: 3.879 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.7032, allocations: 7.938 kB / 0.8635 GB, free: 3.879 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.7032, allocations: 4 kB / 0.8635 GB, free: 3.875 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.7033, allocations: 9.188 kB / 0.8635 GB, free: 3.871 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002792/0.7035, allocations: 66.62 kB / 0.8636 GB, free: 3.859 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.695e-06/0.7036, allocations: 6.781 kB / 0.8636 GB, free: 3.855 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004005/0.704, allocations: 33.33 kB / 0.8636 GB, free: 3.84 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.88e-05/0.704, allocations: 14.19 kB / 0.8636 GB, free: 3.836 MB / 0.5762 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.000221/0.7042, allocations: 211 kB / 0.8638 GB, free: 3.66 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.507e-05/0.7043, allocations: 54.75 kB / 0.8639 GB, free: 3.633 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001066/0.7044, allocations: 60.45 kB / 0.8639 GB, free: 3.59 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.7044, allocations: 2.094 kB / 0.8639 GB, free: 3.59 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.7045, allocations: 0 / 0.8639 GB, free: 3.59 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004377/0.7049, allocations: 418.9 kB / 0.8643 GB, free: 3.293 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001599/0.7065, allocations: 1.239 MB / 0.8656 GB, free: 2.344 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.172e-06/0.7065, allocations: 8.594 kB / 0.8656 GB, free: 2.34 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003133/0.7068, allocations: 71.5 kB / 0.8656 GB, free: 2.324 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.011e-06/0.7069, allocations: 7.531 kB / 0.8656 GB, free: 2.324 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.779e-05/0.7069, allocations: 13.33 kB / 0.8656 GB, free: 2.316 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.398e-05/0.7069, allocations: 9.219 kB / 0.8657 GB, free: 2.312 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.7069, allocations: 8.812 kB / 0.8657 GB, free: 2.309 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007707/0.7077, allocations: 0.7108 MB / 0.8664 GB, free: 1.777 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001992/0.7079, allocations: 166.8 kB / 0.8665 GB, free: 1.629 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.872e-05/0.708, allocations: 15.33 kB / 0.8665 GB, free: 1.621 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004277/0.7084, allocations: 33.38 kB / 0.8666 GB, free: 1.605 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.11e-05/0.7085, allocations: 36.09 kB / 0.8666 GB, free: 1.582 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.99e-05/0.7085, allocations: 19.06 kB / 0.8666 GB, free: 1.578 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003327/0.7089, allocations: 333 kB / 0.8669 GB, free: 1.375 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7089, allocations: 0 / 0.8669 GB, free: 1.375 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0005222/0.7094, allocations: 142.3 kB / 0.8671 GB, free: 1.363 MB / 0.5762 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.00039/0.7098, allocations: 162.6 kB / 0.8672 GB, free: 1.25 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0005303/0.7103, allocations: 343.8 kB / 0.8676 GB, free: 1.098 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.069e-06/0.7103, allocations: 2.688 kB / 0.8676 GB, free: 1.098 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001911/0.7105, allocations: 158.5 kB / 0.8677 GB, free: 1.027 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001558/0.7121, allocations: 364.5 kB / 0.8681 GB, free: 0.8555 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001703/0.7138, allocations: 1.313 MB / 0.8693 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004807/0.7143, allocations: 0.8927 MB / 0.8702 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0005492/0.7149, allocations: 132.5 kB / 0.8703 GB, free: 15 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000117/0.715, allocations: 42.72 kB / 0.8704 GB, free: 15 MB / 0.5919 GB Notification: Performance of SimCode: time 2.5e-07/0.715, allocations: 0 / 0.8704 GB, free: 15 MB / 0.5919 GB Notification: Performance of Templates: time 0.01856/0.7336, allocations: 11.01 MB / 0.8811 GB, free: 8.633 MB / 0.5919 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)