Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.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.MixingVolumeSteadyStateMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass") translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009905/0.0009905, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.00113/0.00113, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.317/1.317, allocations: 223.3 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001703/0.001703, allocations: 267 kB / 291.3 MB, free: 1.988 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.952/0.952, allocations: 169.5 MB / 0.5 GB, free: 14.22 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004183/0.0004183, allocations: 12.97 kB / 0.598 GB, free: 28.32 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1348/0.1353, allocations: 88.54 MB / 0.6845 GB, free: 15.5 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass): time 0.4218/0.5571, allocations: 161 MB / 0.8417 GB, free: 5.223 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005978/0.5631, allocations: 4.125 MB / 0.8457 GB, free: 1.883 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004733/0.5636, allocations: 26.12 kB / 0.8458 GB, free: 1.867 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006967/0.5643, allocations: 245.3 kB / 0.846 GB, free: 1.664 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002079/0.5664, allocations: 0.9105 MB / 0.8469 GB, free: 0.957 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001285/0.5677, allocations: 0.5382 MB / 0.8474 GB, free: 0.582 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001709/0.5694, allocations: 1.867 MB / 0.8492 GB, free: 15.49 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004905/0.5699, allocations: 380.3 kB / 0.8496 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008993/0.5708, allocations: 0.568 MB / 0.8501 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005659/0.5714, allocations: 468.8 kB / 0.8506 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.513e-05/0.5714, allocations: 22.09 kB / 0.8506 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001449/0.5729, allocations: 0.8133 MB / 0.8514 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002015/0.5731, allocations: 202.3 kB / 0.8516 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001301/0.5732, allocations: 147.3 kB / 0.8517 GB, free: 14.06 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0008546/0.5741, allocations: 0.8674 MB / 0.8526 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.5741, allocations: 0 / 0.8526 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.133e-06/0.5741, allocations: 0 / 0.8526 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.383e-06/0.5741, allocations: 0 / 0.8526 GB, free: 13.52 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.00124/0.5754, allocations: 0.8938 MB / 0.8535 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 2.947e-05/0.5754, allocations: 7.938 kB / 0.8535 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001008/0.5764, allocations: 174.8 kB / 0.8536 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007034/0.5772, allocations: 0.5085 MB / 0.8541 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.797e-05/0.5772, allocations: 32.5 kB / 0.8542 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.964e-05/0.5773, allocations: 49.7 kB / 0.8542 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007656/0.578, allocations: 470.7 kB / 0.8547 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.5781, allocations: 0 / 0.8547 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.599e-05/0.5781, allocations: 17.28 kB / 0.8547 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.386e-05/0.5781, allocations: 18.03 kB / 0.8547 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007022/0.5788, allocations: 424.8 kB / 0.8551 GB, free: 11.77 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.002369/0.5812, allocations: 2.04 MB / 0.8571 GB, free: 10 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004705/0.5817, allocations: 289.4 kB / 0.8574 GB, free: 9.852 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002923/0.582, allocations: 192.7 kB / 0.8576 GB, free: 9.762 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002507/0.5823, allocations: 202.7 kB / 0.8577 GB, free: 9.551 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.96e-05/0.5823, allocations: 44.62 kB / 0.8578 GB, free: 9.5 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=30): time 1.482e-06/0.5823, allocations: 0 / 0.8578 GB, free: 9.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=30): time 0.001425/0.5838, allocations: 0.6582 MB / 0.8584 GB, free: 9.113 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.37e-05/0.5838, allocations: 54.34 kB / 0.8585 GB, free: 9.051 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004414/0.5842, allocations: 436.5 kB / 0.8589 GB, free: 8.785 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.335e-05/0.5843, allocations: 40.55 kB / 0.8589 GB, free: 8.742 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001848/0.5845, allocations: 280.8 kB / 0.8592 GB, free: 8.496 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.643e-05/0.5846, allocations: 104.2 kB / 0.8593 GB, free: 8.406 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.753e-05/0.5846, allocations: 4 kB / 0.8593 GB, free: 8.402 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000121/0.5847, allocations: 357.6 kB / 0.8596 GB, free: 8.055 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002407/0.585, allocations: 133.1 kB / 0.8598 GB, free: 7.992 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002889/0.5853, allocations: 211.7 kB / 0.86 GB, free: 7.844 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002696/0.5855, allocations: 155.6 kB / 0.8601 GB, free: 7.77 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.5856, allocations: 0 / 0.8601 GB, free: 7.77 MB / 0.5762 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.00064/0.5862, allocations: 408.5 kB / 0.8605 GB, free: 7.562 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 6.905e-05/0.5863, allocations: 146.3 kB / 0.8607 GB, free: 7.406 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.305e-06/0.5863, allocations: 3.984 kB / 0.8607 GB, free: 7.402 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.16e-05/0.5863, allocations: 9.062 kB / 0.8607 GB, free: 7.398 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000315/0.5866, allocations: 67.34 kB / 0.8607 GB, free: 7.387 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/0.5867, allocations: 2.438 kB / 0.8607 GB, free: 7.387 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004403/0.5871, allocations: 69.19 kB / 0.8608 GB, free: 7.348 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.986e-05/0.5871, allocations: 10.84 kB / 0.8608 GB, free: 7.348 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.849e-06/0.5872, allocations: 7 kB / 0.8608 GB, free: 7.344 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005741/0.5877, allocations: 337.8 kB / 0.8611 GB, free: 7.188 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.196e-06/0.5877, allocations: 2.625 kB / 0.8611 GB, free: 7.188 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.43e-06/0.5878, allocations: 6.812 kB / 0.8611 GB, free: 7.184 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000292/0.5881, allocations: 75.27 kB / 0.8612 GB, free: 7.164 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.5881, allocations: 2.812 kB / 0.8612 GB, free: 7.164 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004003/0.5885, allocations: 60.97 kB / 0.8613 GB, free: 7.137 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.626e-05/0.5885, allocations: 16.27 kB / 0.8613 GB, free: 7.129 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (37): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002316/0.5887, allocations: 286.6 kB / 0.8616 GB, free: 6.879 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.923e-05/0.5888, allocations: 48.06 kB / 0.8616 GB, free: 6.855 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007702/0.5896, allocations: 426 kB / 0.862 GB, free: 6.609 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.5896, allocations: 4.875 kB / 0.862 GB, free: 6.609 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.5896, allocations: 3.953 kB / 0.862 GB, free: 6.605 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006405/0.5903, allocations: 463.2 kB / 0.8625 GB, free: 6.285 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001573/0.5919, allocations: 1.136 MB / 0.8636 GB, free: 5.434 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/0.5919, allocations: 4.438 kB / 0.8636 GB, free: 5.434 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002817/0.5922, allocations: 70.42 kB / 0.8637 GB, free: 5.41 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001897/0.5924, allocations: 42.55 kB / 0.8637 GB, free: 5.387 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.57e-05/0.5924, allocations: 6.906 kB / 0.8637 GB, free: 5.383 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001134/0.5935, allocations: 1.437 MB / 0.8651 GB, free: 3.941 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.5936, allocations: 3 kB / 0.8651 GB, free: 3.941 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001001/0.5946, allocations: 0.7092 MB / 0.8658 GB, free: 3.469 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001827/0.5948, allocations: 164.1 kB / 0.866 GB, free: 3.316 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.348e-05/0.5948, allocations: 11.02 kB / 0.866 GB, free: 3.309 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003932/0.5952, allocations: 37.72 kB / 0.866 GB, free: 3.293 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.87e-05/0.5953, allocations: 22.78 kB / 0.866 GB, free: 3.281 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.815e-05/0.5953, allocations: 22.61 kB / 0.866 GB, free: 3.27 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003227/0.5957, allocations: 311.7 kB / 0.8663 GB, free: 3.078 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5957, allocations: 3.938 kB / 0.8663 GB, free: 3.074 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008269/0.5965, allocations: 310.3 kB / 0.8666 GB, free: 3.012 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (28): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004337/0.597, allocations: 186.5 kB / 0.8668 GB, free: 2.879 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0008541/0.5978, allocations: 497.7 kB / 0.8673 GB, free: 2.668 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.5978, allocations: 0 / 0.8673 GB, free: 2.668 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004482/0.5983, allocations: 295.7 kB / 0.8676 GB, free: 2.469 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001417/0.5997, allocations: 320.8 kB / 0.8679 GB, free: 2.309 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001683/0.6014, allocations: 1.35 MB / 0.8692 GB, free: 1.328 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004324/0.6019, allocations: 0.9008 MB / 0.8701 GB, free: 0.5273 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0005471/0.6024, allocations: 163 kB / 0.8702 GB, free: 468 kB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001047/0.6025, allocations: 37.91 kB / 0.8703 GB, free: 460 kB / 0.5762 GB Notification: Performance of SimCode: time 2.51e-07/0.6025, allocations: 0 / 0.8703 GB, free: 460 kB / 0.5762 GB Notification: Performance of Templates: time 0.016/0.6185, allocations: 9.508 MB / 0.8796 GB, free: 7.973 MB / 0.5919 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.sim & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe 2>&1)