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.001551/0.001551, allocations: 111.1 kB / 16.37 MB, free: 6.344 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.00157/0.001571, allocations: 192.6 kB / 17.3 MB, free: 5.898 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.366/1.366, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002192/0.002192, allocations: 283.8 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.9322/0.9322, allocations: 169.3 MB / 0.4989 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001822/0.001822, allocations: 99.86 kB / 0.6821 GB, free: 7.016 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4358/0.4376, allocations: 86.97 MB / 0.767 GB, free: 3.957 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.1683/0.606, allocations: 170.8 MB / 0.9338 GB, free: 8.523 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.005618/0.6116, allocations: 3.383 MB / 0.9371 GB, free: 5.129 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000827/0.6125, allocations: 23.88 kB / 0.9371 GB, free: 5.105 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0009443/0.6135, allocations: 314.1 kB / 0.9374 GB, free: 4.797 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.002494/0.616, allocations: 1.021 MB / 0.9384 GB, free: 3.773 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.00179/0.6178, allocations: 0.6631 MB / 0.939 GB, free: 3.113 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.002039/0.6199, allocations: 1.532 MB / 0.9405 GB, free: 1.582 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007339/0.6206, allocations: 473.4 kB / 0.941 GB, free: 1.117 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001106/0.6217, allocations: 0.5745 MB / 0.9415 GB, free: 0.543 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00109/0.6228, allocations: 465.5 kB / 0.942 GB, free: 92 kB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0001027/0.623, allocations: 56 kB / 0.942 GB, free: 36 kB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001732/0.6247, allocations: 0.8262 MB / 0.9428 GB, free: 15.21 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002931/0.625, allocations: 247.3 kB / 0.9431 GB, free: 14.96 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0004358/0.6254, allocations: 330.6 kB / 0.9434 GB, free: 14.64 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001836/0.6273, allocations: 1.133 MB / 0.9445 GB, free: 13.5 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.6273, allocations: 0 / 0.9445 GB, free: 13.5 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.864e-06/0.6273, allocations: 0 / 0.9445 GB, free: 13.5 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.275e-05/0.6274, allocations: 4 kB / 0.9445 GB, free: 13.5 MB / 0.7169 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.001518/0.6289, allocations: 0.9138 MB / 0.9454 GB, free: 12.54 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.6289, allocations: 8.031 kB / 0.9454 GB, free: 12.53 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001218/0.6301, allocations: 183 kB / 0.9456 GB, free: 12.35 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007911/0.631, allocations: 0.5208 MB / 0.9461 GB, free: 11.79 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.739e-05/0.631, allocations: 29 kB / 0.9461 GB, free: 11.76 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.119e-05/0.6311, allocations: 40 kB / 0.9461 GB, free: 11.72 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007409/0.6318, allocations: 482.4 kB / 0.9466 GB, free: 11.25 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.72e-05/0.6318, allocations: 0 / 0.9466 GB, free: 11.25 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.909e-05/0.6319, allocations: 16 kB / 0.9466 GB, free: 11.23 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.542e-05/0.6319, allocations: 17 kB / 0.9466 GB, free: 11.21 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006654/0.6326, allocations: 419.7 kB / 0.947 GB, free: 10.8 MB / 0.7169 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.002378/0.635, allocations: 1.724 MB / 0.9487 GB, free: 8.949 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004764/0.6355, allocations: 306.5 kB / 0.949 GB, free: 8.641 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000256/0.6357, allocations: 184.7 kB / 0.9492 GB, free: 8.457 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001644/0.6359, allocations: 97.08 kB / 0.9493 GB, free: 8.344 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.758e-05/0.6359, allocations: 42.5 kB / 0.9493 GB, free: 8.293 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=31): time 1.714e-06/0.636, allocations: 4 kB / 0.9493 GB, free: 8.289 MB / 0.7169 GB Notification: Performance of matching and sorting (n=33): time 0.001939/0.6379, allocations: 1.045 MB / 0.9504 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.805e-05/0.6379, allocations: 59.39 kB / 0.9504 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004818/0.6384, allocations: 457.8 kB / 0.9508 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.773e-05/0.6385, allocations: 33.7 kB / 0.9509 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001749/0.6387, allocations: 256.1 kB / 0.9511 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 9.48e-05/0.6388, allocations: 118.4 kB / 0.9512 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001183/0.6389, allocations: 69.61 kB / 0.9513 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001334/0.639, allocations: 358.8 kB / 0.9516 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002037/0.6393, allocations: 119.9 kB / 0.9518 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002469/0.6395, allocations: 194.6 kB / 0.9519 GB, free: 5.492 MB / 0.7169 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.001905/0.6414, allocations: 0.8667 MB / 0.9528 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.6414, allocations: 4 kB / 0.9528 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006207/0.6421, allocations: 414.5 kB / 0.9532 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.6421, allocations: 8 kB / 0.9532 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.6421, allocations: 0 / 0.9532 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.6421, allocations: 4 kB / 0.9532 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003099/0.6424, allocations: 71.91 kB / 0.9533 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.6425, allocations: 4 kB / 0.9533 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003936/0.6429, allocations: 12.19 kB / 0.9533 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.454e-05/0.6429, allocations: 23.94 kB / 0.9533 GB, free: 4.055 MB / 0.7169 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.0002619/0.6432, allocations: 212.7 kB / 0.9535 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.227e-05/0.6433, allocations: 59.31 kB / 0.9536 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001179/0.6434, allocations: 52.77 kB / 0.9536 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.229e-06/0.6434, allocations: 4 kB / 0.9536 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.6434, allocations: 0 / 0.9536 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004946/0.6439, allocations: 417.1 kB / 0.954 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001733/0.6457, allocations: 1.245 MB / 0.9552 GB, free: 1.938 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.59e-06/0.6457, allocations: 4 kB / 0.9552 GB, free: 1.934 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003335/0.646, allocations: 67.91 kB / 0.9553 GB, free: 1.867 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.07e-05/0.646, allocations: 11.98 kB / 0.9553 GB, free: 1.855 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.696e-05/0.6461, allocations: 8.5 kB / 0.9553 GB, free: 1.848 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.163e-06/0.6461, allocations: 12 kB / 0.9553 GB, free: 1.836 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.099e-06/0.6461, allocations: 7.938 kB / 0.9553 GB, free: 1.828 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008579/0.647, allocations: 0.7074 MB / 0.956 GB, free: 1.055 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000203/0.6472, allocations: 168.5 kB / 0.9562 GB, free: 0.8711 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.388e-05/0.6472, allocations: 8 kB / 0.9562 GB, free: 0.8633 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004178/0.6477, allocations: 28.58 kB / 0.9562 GB, free: 0.8359 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.044e-05/0.6477, allocations: 35.86 kB / 0.9563 GB, free: 0.8008 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.379e-05/0.6478, allocations: 23.98 kB / 0.9563 GB, free: 0.7773 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0003592/0.6481, allocations: 323.1 kB / 0.9566 GB, free: 476 kB / 0.7169 GB Notification: Performance of sort global known variables: time 2.8e-07/0.6482, allocations: 0 / 0.9566 GB, free: 476 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0005913/0.6487, allocations: 140 kB / 0.9567 GB, free: 336 kB / 0.7169 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.0004917/0.6492, allocations: 172.1 kB / 0.9569 GB, free: 168 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.3501/0.9994, allocations: 327.3 kB / 0.9572 GB, free: 191.3 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.145e-05/0.9994, allocations: 4.969 kB / 0.9572 GB, free: 191.3 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0003534/0.9998, allocations: 160.1 kB / 0.9574 GB, free: 191.3 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002071/1.002, allocations: 368.2 kB / 0.9577 GB, free: 191.2 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002021/1.004, allocations: 1.158 MB / 0.9588 GB, free: 190.7 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004538/1.004, allocations: 0.8792 MB / 0.9597 GB, free: 190 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001734/1.005, allocations: 45.09 kB / 0.9597 GB, free: 189.9 MB / 0.7169 GB Notification: Performance of SimCode: time 7.12e-07/1.005, allocations: 0 / 0.9597 GB, free: 189.9 MB / 0.7169 GB Notification: Performance of Templates: time 0.01516/1.02, allocations: 8.612 MB / 0.9682 GB, free: 187.4 MB / 0.7169 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)