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.001183/0.001183, allocations: 105.8 kB / 16.27 MB, free: 6.004 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.001227/0.001227, allocations: 193.9 kB / 17.2 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.281/1.281, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002216/0.002217, allocations: 289.4 kB / 291.3 MB, free: 14.53 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9287/0.9287, allocations: 169.3 MB / 0.4988 GB, free: 4.504 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001909/0.001909, allocations: 97.78 kB / 0.5959 GB, free: 15.14 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1612/0.1631, allocations: 86.97 MB / 0.6808 GB, free: 8.172 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.4974/0.6606, allocations: 170.8 MB / 0.8476 GB, free: 4.371 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.005943/0.6666, allocations: 3.385 MB / 0.8509 GB, free: 0.9766 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009052/0.6675, allocations: 23.81 kB / 0.8509 GB, free: 0.9531 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001124/0.6687, allocations: 318.1 kB / 0.8512 GB, free: 0.6406 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.002664/0.6714, allocations: 1.011 MB / 0.8522 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001837/0.6733, allocations: 0.6633 MB / 0.8529 GB, free: 14.97 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001943/0.6752, allocations: 1.529 MB / 0.8544 GB, free: 13.44 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008303/0.6761, allocations: 482.3 kB / 0.8548 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001115/0.6772, allocations: 0.5564 MB / 0.8554 GB, free: 12.41 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001207/0.6784, allocations: 468.7 kB / 0.8558 GB, free: 11.95 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001652/0.6786, allocations: 56 kB / 0.8559 GB, free: 11.9 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001629/0.6802, allocations: 0.8301 MB / 0.8567 GB, free: 11.07 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0003414/0.6806, allocations: 235.4 kB / 0.8569 GB, free: 10.84 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.000539/0.6811, allocations: 346.5 kB / 0.8572 GB, free: 10.5 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001692/0.6828, allocations: 1.13 MB / 0.8583 GB, free: 9.363 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.6828, allocations: 4 kB / 0.8583 GB, free: 9.359 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.784e-06/0.6828, allocations: 0 / 0.8583 GB, free: 9.359 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 2.505e-05/0.6829, allocations: 0 / 0.8583 GB, free: 9.359 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.001672/0.6846, allocations: 0.9044 MB / 0.8592 GB, free: 8.406 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/0.6846, allocations: 12.03 kB / 0.8592 GB, free: 8.395 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001258/0.6859, allocations: 175.1 kB / 0.8594 GB, free: 8.223 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008121/0.6867, allocations: 0.4897 MB / 0.8599 GB, free: 7.695 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.313e-05/0.6867, allocations: 44.94 kB / 0.8599 GB, free: 7.652 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.983e-05/0.6868, allocations: 43.91 kB / 0.86 GB, free: 7.609 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007933/0.6876, allocations: 474.4 kB / 0.8604 GB, free: 7.141 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.615e-05/0.6876, allocations: 0 / 0.8604 GB, free: 7.141 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.03e-05/0.6877, allocations: 16 kB / 0.8604 GB, free: 7.125 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.645e-05/0.6877, allocations: 17 kB / 0.8604 GB, free: 7.109 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006811/0.6884, allocations: 415.7 kB / 0.8608 GB, free: 6.703 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.002665/0.6911, allocations: 1.751 MB / 0.8625 GB, free: 4.816 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004987/0.6916, allocations: 298.5 kB / 0.8628 GB, free: 4.516 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002473/0.6919, allocations: 186.7 kB / 0.863 GB, free: 4.332 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001908/0.6921, allocations: 93.09 kB / 0.8631 GB, free: 4.223 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.049e-05/0.6921, allocations: 42.5 kB / 0.8631 GB, free: 4.172 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=31): time 1.753e-06/0.6921, allocations: 0 / 0.8631 GB, free: 4.172 MB / 0.6231 GB Notification: Performance of matching and sorting (n=33): time 0.00203/0.6941, allocations: 1.049 MB / 0.8642 GB, free: 3.074 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.102e-05/0.6942, allocations: 55.41 kB / 0.8642 GB, free: 3.008 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005202/0.6947, allocations: 461.9 kB / 0.8647 GB, free: 2.539 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.905e-05/0.6948, allocations: 29.7 kB / 0.8647 GB, free: 2.504 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001869/0.695, allocations: 256.1 kB / 0.8649 GB, free: 2.25 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001075/0.6951, allocations: 114.3 kB / 0.865 GB, free: 2.137 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001122/0.6952, allocations: 65.69 kB / 0.8651 GB, free: 2.066 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001487/0.6954, allocations: 358.8 kB / 0.8654 GB, free: 1.707 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002034/0.6956, allocations: 131.9 kB / 0.8656 GB, free: 1.578 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002591/0.6958, allocations: 194.5 kB / 0.8658 GB, free: 1.367 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.001934/0.6978, allocations: 0.8569 MB / 0.8666 GB, free: 484 kB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.6978, allocations: 0 / 0.8666 GB, free: 484 kB / 0.6231 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006253/0.6984, allocations: 422.4 kB / 0.867 GB, free: 56 kB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.6984, allocations: 8 kB / 0.867 GB, free: 48 kB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.742e-06/0.6985, allocations: 0 / 0.867 GB, free: 48 kB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.6985, allocations: 4 kB / 0.867 GB, free: 44 kB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003178/0.6988, allocations: 71.91 kB / 0.8671 GB, free: 15.97 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.029e-05/0.6988, allocations: 4 kB / 0.8671 GB, free: 15.97 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004018/0.6992, allocations: 15.89 kB / 0.8671 GB, free: 15.95 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.595e-05/0.6993, allocations: 16 kB / 0.8671 GB, free: 15.94 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.0002579/0.6995, allocations: 214.3 kB / 0.8673 GB, free: 15.72 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001119/0.6997, allocations: 55.38 kB / 0.8674 GB, free: 15.66 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001125/0.6998, allocations: 60.69 kB / 0.8674 GB, free: 15.61 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.6998, allocations: 4 kB / 0.8674 GB, free: 15.6 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.049e-05/0.6998, allocations: 3.062 kB / 0.8674 GB, free: 15.6 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005024/0.7003, allocations: 417 kB / 0.8678 GB, free: 15.16 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001814/0.7021, allocations: 1.245 MB / 0.869 GB, free: 13.81 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.823e-06/0.7021, allocations: 7.938 kB / 0.869 GB, free: 13.8 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003469/0.7025, allocations: 71.84 kB / 0.8691 GB, free: 13.73 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.206e-05/0.7025, allocations: 11.98 kB / 0.8691 GB, free: 13.72 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.041e-05/0.7026, allocations: 12 kB / 0.8691 GB, free: 13.71 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.013e-06/0.7026, allocations: 8 kB / 0.8691 GB, free: 13.7 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.298e-06/0.7026, allocations: 7.938 kB / 0.8692 GB, free: 13.7 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008707/0.7035, allocations: 0.6985 MB / 0.8698 GB, free: 12.93 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002172/0.7037, allocations: 176.3 kB / 0.87 GB, free: 12.74 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.172e-05/0.7038, allocations: 16.06 kB / 0.87 GB, free: 12.73 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004437/0.7042, allocations: 21.2 kB / 0.87 GB, free: 12.71 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.821e-05/0.7043, allocations: 31.84 kB / 0.8701 GB, free: 12.68 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.467e-05/0.7043, allocations: 20 kB / 0.8701 GB, free: 12.66 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0003617/0.7047, allocations: 331.1 kB / 0.8704 GB, free: 12.34 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7047, allocations: 4 kB / 0.8704 GB, free: 12.33 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0005435/0.7053, allocations: 144 kB / 0.8705 GB, free: 12.19 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.0003862/0.7057, allocations: 162.3 kB / 0.8707 GB, free: 12.03 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0006001/0.7063, allocations: 339.6 kB / 0.871 GB, free: 11.7 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 7.575e-06/0.7063, allocations: 384 / 0.871 GB, free: 11.7 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0002402/0.7065, allocations: 171.7 kB / 0.8712 GB, free: 11.53 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001716/0.7083, allocations: 362.5 kB / 0.8715 GB, free: 11.19 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001874/0.7102, allocations: 1.178 MB / 0.8727 GB, free: 9.938 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004756/0.7106, allocations: 0.8822 MB / 0.8735 GB, free: 9.023 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001403/0.7108, allocations: 47.38 kB / 0.8736 GB, free: 8.98 MB / 0.6387 GB Notification: Performance of SimCode: time 3e-07/0.7108, allocations: 0 / 0.8736 GB, free: 8.98 MB / 0.6387 GB Notification: Performance of Templates: time 0.01377/0.7246, allocations: 8.629 MB / 0.882 GB, free: 468 kB / 0.6387 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)