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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.79/0.79, allocations: 143.4 MB / 159.2 MB, free: 4.891 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001279/0.001279, allocations: 180.5 kB / 191.9 MB, free: 5.727 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.387/1.387, allocations: 222.9 MB / 447.3 MB, free: 5.883 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001115/0.001115, allocations: 115.7 kB / 0.517 GB, free: 3.719 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00196/0.00196, allocations: 276.2 kB / 0.5973 GB, free: 49.39 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001437/0.001437, allocations: 75.83 kB / 0.6885 GB, free: 3.867 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2988/0.3002, allocations: 81.3 MB / 0.7679 GB, free: 27.69 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.4547/0.755, allocations: 168.5 MB / 0.9325 GB, free: 424 kB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.004836/0.7599, allocations: 3.409 MB / 0.9358 GB, free: 304 kB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009763/0.7609, allocations: 19.78 kB / 0.9358 GB, free: 304 kB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.00098/0.7619, allocations: 273.8 kB / 0.9361 GB, free: 292 kB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.002365/0.7643, allocations: 0.9511 MB / 0.937 GB, free: 244 kB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001488/0.7658, allocations: 0.5986 MB / 0.9376 GB, free: 220 kB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.002267/0.7681, allocations: 2.095 MB / 0.9396 GB, free: 220 kB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008552/0.769, allocations: 408 kB / 0.94 GB, free: 168 kB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001462/0.7704, allocations: 497.2 kB / 0.9405 GB, free: 164 kB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001222/0.7717, allocations: 487.8 kB / 0.941 GB, free: 160 kB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 7.579e-05/0.7718, allocations: 29.62 kB / 0.941 GB, free: 156 kB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002284/0.7741, allocations: 0.9506 MB / 0.9419 GB, free: 148 kB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0002611/0.7743, allocations: 215.4 kB / 0.9421 GB, free: 140 kB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0004141/0.7747, allocations: 305 kB / 0.9424 GB, free: 140 kB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.001467/0.7762, allocations: 1.155 MB / 0.9435 GB, free: 76 kB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.7762, allocations: 0 / 0.9435 GB, free: 76 kB / 0.5573 GB Notification: Performance of FrontEnd: time 9.92e-07/0.7762, allocations: 0 / 0.9435 GB, free: 76 kB / 0.5573 GB Notification: Performance of Transformations before backend: time 8.977e-06/0.7763, allocations: 0 / 0.9435 GB, free: 76 kB / 0.5573 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.00139/0.7777, allocations: 0.9081 MB / 0.9444 GB, free: 15.51 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.7777, allocations: 10.58 kB / 0.9444 GB, free: 15.51 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001099/0.7788, allocations: 172.7 kB / 0.9446 GB, free: 15.48 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007261/0.7795, allocations: 0.4926 MB / 0.9451 GB, free: 15.21 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.535e-05/0.7796, allocations: 36.67 kB / 0.9451 GB, free: 15.21 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.299e-05/0.7796, allocations: 41 kB / 0.9452 GB, free: 15.21 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006551/0.7803, allocations: 475.7 kB / 0.9456 GB, free: 15.17 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.522e-05/0.7803, allocations: 2.656 kB / 0.9456 GB, free: 15.17 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.342e-05/0.7804, allocations: 17.38 kB / 0.9456 GB, free: 15.17 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.565e-05/0.7804, allocations: 17.78 kB / 0.9457 GB, free: 15.16 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00054/0.781, allocations: 411.9 kB / 0.946 GB, free: 15.16 MB / 0.573 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.002446/0.7834, allocations: 1.87 MB / 0.9479 GB, free: 14.34 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002971/0.7837, allocations: 223.6 kB / 0.9481 GB, free: 14.32 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001744/0.7839, allocations: 153.9 kB / 0.9482 GB, free: 14.3 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001539/0.7841, allocations: 102.8 kB / 0.9483 GB, free: 14.21 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.767e-05/0.7841, allocations: 37.44 kB / 0.9484 GB, free: 14.17 MB / 0.573 GB Notification: Performance of pre-optimization done (n=23): time 1.383e-06/0.7841, allocations: 0 / 0.9484 GB, free: 14.17 MB / 0.573 GB Notification: Performance of matching and sorting (n=23): time 0.0006717/0.7848, allocations: 395.5 kB / 0.9487 GB, free: 14.11 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.91e-05/0.7848, allocations: 55.66 kB / 0.9488 GB, free: 14.05 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000439/0.7853, allocations: 492 kB / 0.9493 GB, free: 13.93 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 2.989e-05/0.7853, allocations: 31.98 kB / 0.9493 GB, free: 13.89 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.000151/0.7855, allocations: 281.4 kB / 0.9496 GB, free: 13.75 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 6.267e-05/0.7855, allocations: 77.09 kB / 0.9496 GB, free: 13.7 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000104/0.7857, allocations: 73 kB / 0.9497 GB, free: 13.68 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001226/0.7858, allocations: 355.9 kB / 0.9501 GB, free: 13.36 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001804/0.786, allocations: 121 kB / 0.9502 GB, free: 13.36 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00022/0.7862, allocations: 209.3 kB / 0.9504 GB, free: 13.27 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003573/0.7866, allocations: 320.5 kB / 0.9507 GB, free: 13.18 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.7866, allocations: 4 kB / 0.9507 GB, free: 13.18 MB / 0.573 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000493/0.7871, allocations: 407.9 kB / 0.9511 GB, free: 13.11 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.7871, allocations: 7.656 kB / 0.9511 GB, free: 13.11 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.7871, allocations: 3.25 kB / 0.9511 GB, free: 13.11 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.7871, allocations: 2.312 kB / 0.9511 GB, free: 13.11 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002583/0.7874, allocations: 67.16 kB / 0.9511 GB, free: 13.11 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.376e-06/0.7874, allocations: 8.016 kB / 0.9511 GB, free: 13.11 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004689/0.7879, allocations: 53.97 kB / 0.9512 GB, free: 13.09 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.766e-05/0.7879, allocations: 17.25 kB / 0.9512 GB, free: 13.08 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (39): * Single equations (assignments): 39 * 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.0001904/0.7881, allocations: 209.3 kB / 0.9514 GB, free: 12.96 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.128e-05/0.7882, allocations: 47.5 kB / 0.9515 GB, free: 12.94 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.738e-05/0.7883, allocations: 53.67 kB / 0.9515 GB, free: 12.93 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.7883, allocations: 3.312 kB / 0.9515 GB, free: 12.93 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.7883, allocations: 0 / 0.9515 GB, free: 12.93 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003262/0.7887, allocations: 346.5 kB / 0.9518 GB, free: 12.77 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001113/0.7898, allocations: 0.9635 MB / 0.9528 GB, free: 12.41 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.7898, allocations: 0 / 0.9528 GB, free: 12.41 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002947/0.7901, allocations: 54.61 kB / 0.9528 GB, free: 12.41 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/0.7901, allocations: 3.406 kB / 0.9528 GB, free: 12.41 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.108e-05/0.7901, allocations: 11.28 kB / 0.9529 GB, free: 12.41 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.075e-06/0.7901, allocations: 6 kB / 0.9529 GB, free: 12.4 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.7902, allocations: 3.219 kB / 0.9529 GB, free: 12.4 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002758/0.7929, allocations: 2.502 MB / 0.9553 GB, free: 11.25 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002107/0.7931, allocations: 170.1 kB / 0.9555 GB, free: 11.13 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.581e-05/0.7932, allocations: 8.469 kB / 0.9555 GB, free: 11.13 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003868/0.7936, allocations: 23.53 kB / 0.9555 GB, free: 11.13 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.59e-05/0.7936, allocations: 19.17 kB / 0.9555 GB, free: 11.12 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.46e-05/0.7937, allocations: 20.59 kB / 0.9555 GB, free: 11.12 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0003537/0.794, allocations: 356.1 kB / 0.9559 GB, free: 11.04 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.01e-07/0.7941, allocations: 0 / 0.9559 GB, free: 11.04 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0006761/0.7947, allocations: 227.3 kB / 0.9561 GB, free: 11.02 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (vol.dynBal.U,vol.dynBal.mXi[1]) * 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 (23): * Single equations (assignments): 23 * 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.0003301/0.7951, allocations: 164 kB / 0.9562 GB, free: 10.92 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0003912/0.7955, allocations: 280.6 kB / 0.9565 GB, free: 10.91 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.7955, allocations: 4.188 kB / 0.9565 GB, free: 10.91 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001434/0.7956, allocations: 122.9 kB / 0.9566 GB, free: 10.91 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001556/0.7972, allocations: 328.2 kB / 0.957 GB, free: 10.88 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001705/0.7989, allocations: 1.393 MB / 0.9583 GB, free: 10.07 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004203/0.7994, allocations: 0.8832 MB / 0.9592 GB, free: 9.363 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0004473/0.7998, allocations: 128.7 kB / 0.9593 GB, free: 9.336 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001014/0.7999, allocations: 43.75 kB / 0.9593 GB, free: 9.324 MB / 0.573 GB Notification: Performance of SimCode: time 1.002e-06/0.7999, allocations: 0 / 0.9593 GB, free: 9.324 MB / 0.573 GB Notification: Performance of Templates: time 0.01557/0.8155, allocations: 10.65 MB / 0.9697 GB, free: 5.18 MB / 0.573 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)