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.0009818/0.0009818, allocations: 112.6 kB / 16.37 MB, free: 6 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.001023/0.001023, allocations: 196 kB / 17.31 MB, free: 5.613 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.241/1.241, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001992/0.001992, allocations: 283.9 kB / 291.4 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.8982/0.8982, allocations: 169.3 MB / 0.4989 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001659/0.001659, allocations: 93.72 kB / 0.5967 GB, free: 14.45 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1483/0.15, allocations: 86.97 MB / 0.6816 GB, free: 7.465 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.417/0.5671, allocations: 170.8 MB / 0.8484 GB, free: 3.734 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.005369/0.5725, allocations: 3.381 MB / 0.8517 GB, free: 356 kB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007172/0.5732, allocations: 23.88 kB / 0.8517 GB, free: 332 kB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0009531/0.5742, allocations: 318.1 kB / 0.852 GB, free: 12 kB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.002299/0.5766, allocations: 1.015 MB / 0.853 GB, free: 14.99 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001587/0.5782, allocations: 0.6677 MB / 0.8536 GB, free: 14.33 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001917/0.5801, allocations: 1.529 MB / 0.8551 GB, free: 12.8 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007429/0.5808, allocations: 485.4 kB / 0.8556 GB, free: 12.32 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009957/0.5819, allocations: 0.555 MB / 0.8561 GB, free: 11.77 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001035/0.5829, allocations: 468.7 kB / 0.8566 GB, free: 11.31 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001128/0.583, allocations: 52 kB / 0.8566 GB, free: 11.26 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001394/0.5844, allocations: 0.8301 MB / 0.8574 GB, free: 10.43 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0002675/0.5847, allocations: 247.3 kB / 0.8577 GB, free: 10.19 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0004199/0.5851, allocations: 342.6 kB / 0.858 GB, free: 9.852 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001468/0.5866, allocations: 1.137 MB / 0.8591 GB, free: 8.711 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.5866, allocations: 0 / 0.8591 GB, free: 8.711 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.412e-06/0.5866, allocations: 0 / 0.8591 GB, free: 8.711 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.561e-05/0.5867, allocations: 0 / 0.8591 GB, free: 8.711 MB / 0.6231 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.001449/0.5881, allocations: 0.9096 MB / 0.86 GB, free: 7.754 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/0.5881, allocations: 8.031 kB / 0.86 GB, free: 7.746 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001194/0.5893, allocations: 175.1 kB / 0.8602 GB, free: 7.574 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008436/0.5902, allocations: 0.5209 MB / 0.8607 GB, free: 7.016 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.031e-05/0.5902, allocations: 36.94 kB / 0.8607 GB, free: 6.98 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.375e-05/0.5903, allocations: 43.91 kB / 0.8608 GB, free: 6.938 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007367/0.5911, allocations: 474.4 kB / 0.8612 GB, free: 6.469 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.8e-05/0.5911, allocations: 0.875 kB / 0.8612 GB, free: 6.469 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.904e-05/0.5911, allocations: 20 kB / 0.8612 GB, free: 6.449 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.471e-05/0.5912, allocations: 17 kB / 0.8612 GB, free: 6.434 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006236/0.5918, allocations: 415.7 kB / 0.8616 GB, free: 6.027 MB / 0.6231 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.002479/0.5943, allocations: 1.72 MB / 0.8633 GB, free: 4.172 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004576/0.5948, allocations: 298.6 kB / 0.8636 GB, free: 3.871 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002442/0.595, allocations: 176.7 kB / 0.8638 GB, free: 3.695 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001786/0.5952, allocations: 109.1 kB / 0.8639 GB, free: 3.57 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.053e-05/0.5953, allocations: 42.5 kB / 0.8639 GB, free: 3.52 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=31): time 1.573e-06/0.5953, allocations: 0 / 0.8639 GB, free: 3.52 MB / 0.6231 GB Notification: Performance of matching and sorting (n=33): time 0.001868/0.5971, allocations: 1.045 MB / 0.8649 GB, free: 2.426 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.267e-05/0.5972, allocations: 59.39 kB / 0.865 GB, free: 2.355 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004722/0.5977, allocations: 453.9 kB / 0.8654 GB, free: 1.895 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.783e-05/0.5977, allocations: 37.64 kB / 0.8655 GB, free: 1.852 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001676/0.5979, allocations: 252.1 kB / 0.8657 GB, free: 1.602 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 9.514e-05/0.598, allocations: 118.3 kB / 0.8658 GB, free: 1.484 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000105/0.5981, allocations: 65.7 kB / 0.8659 GB, free: 1.414 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001402/0.5982, allocations: 362.7 kB / 0.8662 GB, free: 1.051 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000197/0.5985, allocations: 123.9 kB / 0.8663 GB, free: 0.9297 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002407/0.5987, allocations: 205.7 kB / 0.8665 GB, free: 0.7109 MB / 0.6231 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.00185/0.6006, allocations: 0.8647 MB / 0.8674 GB, free: 15.81 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.6006, allocations: 0 / 0.8674 GB, free: 15.81 MB / 0.6387 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005952/0.6012, allocations: 417.7 kB / 0.8678 GB, free: 15.39 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.6012, allocations: 10.03 kB / 0.8678 GB, free: 15.39 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.6012, allocations: 0 / 0.8678 GB, free: 15.39 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/0.6012, allocations: 8.188 kB / 0.8678 GB, free: 15.38 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003054/0.6015, allocations: 67.91 kB / 0.8679 GB, free: 15.31 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.6016, allocations: 4 kB / 0.8679 GB, free: 15.31 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003635/0.6019, allocations: 19.84 kB / 0.8679 GB, free: 15.29 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.301e-05/0.602, allocations: 12 kB / 0.8679 GB, free: 15.28 MB / 0.6387 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.0002293/0.6022, allocations: 214.2 kB / 0.8681 GB, free: 15.06 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.746e-05/0.6023, allocations: 51.38 kB / 0.8682 GB, free: 15.01 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001092/0.6024, allocations: 60.77 kB / 0.8682 GB, free: 14.95 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.6024, allocations: 8 kB / 0.8682 GB, free: 14.94 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.6024, allocations: 0 / 0.8682 GB, free: 14.94 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004694/0.6029, allocations: 409.1 kB / 0.8686 GB, free: 14.51 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001753/0.6047, allocations: 1.249 MB / 0.8698 GB, free: 13.16 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.282e-06/0.6047, allocations: 7.938 kB / 0.8698 GB, free: 13.15 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003329/0.605, allocations: 75.94 kB / 0.8699 GB, free: 13.07 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.613e-06/0.605, allocations: 4 kB / 0.8699 GB, free: 13.07 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.84e-05/0.6051, allocations: 15.98 kB / 0.8699 GB, free: 13.05 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.651e-06/0.6051, allocations: 4 kB / 0.8699 GB, free: 13.05 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.351e-05/0.6051, allocations: 11.94 kB / 0.8699 GB, free: 13.04 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008091/0.6059, allocations: 0.6957 MB / 0.8706 GB, free: 12.28 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002451/0.6062, allocations: 172.4 kB / 0.8708 GB, free: 12.09 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.91e-05/0.6063, allocations: 12 kB / 0.8708 GB, free: 12.08 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000393/0.6067, allocations: 21.3 kB / 0.8708 GB, free: 12.06 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.24e-05/0.6067, allocations: 31.92 kB / 0.8709 GB, free: 12.03 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.376e-05/0.6068, allocations: 23.98 kB / 0.8709 GB, free: 12 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0003426/0.6071, allocations: 327.1 kB / 0.8712 GB, free: 11.69 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6071, allocations: 0 / 0.8712 GB, free: 11.69 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0005227/0.6076, allocations: 140 kB / 0.8713 GB, free: 11.55 MB / 0.6387 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.0003856/0.608, allocations: 198.3 kB / 0.8715 GB, free: 11.36 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0005237/0.6086, allocations: 311.6 kB / 0.8718 GB, free: 11.06 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.612e-06/0.6086, allocations: 4 kB / 0.8718 GB, free: 11.05 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0002232/0.6088, allocations: 165 kB / 0.872 GB, free: 10.89 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001506/0.6103, allocations: 368.4 kB / 0.8723 GB, free: 10.54 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001705/0.612, allocations: 1.115 MB / 0.8734 GB, free: 9.355 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004559/0.6125, allocations: 0.8862 MB / 0.8743 GB, free: 8.438 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0003975/0.6129, allocations: 132.6 kB / 0.8744 GB, free: 8.305 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001079/0.613, allocations: 43.42 kB / 0.8744 GB, free: 8.266 MB / 0.6387 GB Notification: Performance of SimCode: time 6.11e-07/0.613, allocations: 4 kB / 0.8744 GB, free: 8.262 MB / 0.6387 GB Notification: Performance of Templates: time 0.01849/0.6315, allocations: 11.06 MB / 0.8852 GB, free: 13.43 MB / 0.6544 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)