Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") translateModel(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001125/0.001125, allocations: 96.34 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001373/0.001373, allocations: 170.4 kB / 16.56 MB, free: 6.801 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.347/1.347, allocations: 223.2 MB / 240.5 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6832/0.6832, allocations: 113.8 MB / 405.4 MB, free: 4.555 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003061/0.0003062, allocations: 11.98 kB / 493 MB, free: 8.562 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1411/0.1414, allocations: 77.15 MB / 0.5568 GB, free: 11.61 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.4355/0.577, allocations: 158.2 MB / 0.7113 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00919/0.5862, allocations: 5.63 MB / 0.7168 GB, free: 6.027 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001147/0.5874, allocations: 35.75 kB / 0.7169 GB, free: 5.992 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.00187/0.5893, allocations: 0.556 MB / 0.7174 GB, free: 5.434 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.005636/0.595, allocations: 1.674 MB / 0.7191 GB, free: 3.758 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.003414/0.5984, allocations: 1.193 MB / 0.7202 GB, free: 2.586 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002753/0.6011, allocations: 1.688 MB / 0.7219 GB, free: 0.8906 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00128/0.6024, allocations: 0.813 MB / 0.7227 GB, free: 72 kB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001478/0.6039, allocations: 0.7748 MB / 0.7234 GB, free: 15.29 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000989/0.6049, allocations: 0.6031 MB / 0.724 GB, free: 14.69 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001886/0.6051, allocations: 47.98 kB / 0.7241 GB, free: 14.64 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001686/0.6068, allocations: 0.6201 MB / 0.7247 GB, free: 14.02 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.000518/0.6074, allocations: 458.8 kB / 0.7251 GB, free: 13.57 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004213/0.6078, allocations: 281.1 kB / 0.7254 GB, free: 13.29 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001765/0.6096, allocations: 1.542 MB / 0.7269 GB, free: 11.75 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.6096, allocations: 0 / 0.7269 GB, free: 11.75 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.166e-06/0.6096, allocations: 0 / 0.7269 GB, free: 11.75 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.602e-05/0.6097, allocations: 3.938 kB / 0.7269 GB, free: 11.74 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.002453/0.6121, allocations: 1.356 MB / 0.7282 GB, free: 10.34 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.6122, allocations: 12.03 kB / 0.7282 GB, free: 10.32 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002121/0.6143, allocations: 330.2 kB / 0.7285 GB, free: 10 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001562/0.6159, allocations: 0.8401 MB / 0.7293 GB, free: 9.117 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.905e-05/0.6159, allocations: 78.83 kB / 0.7294 GB, free: 9.039 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001507/0.6161, allocations: 99.91 kB / 0.7295 GB, free: 8.941 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001869/0.618, allocations: 1.077 MB / 0.7306 GB, free: 7.859 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.406e-05/0.618, allocations: 3.984 kB / 0.7306 GB, free: 7.855 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001002/0.6181, allocations: 40 kB / 0.7306 GB, free: 7.816 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.033e-05/0.6182, allocations: 41.98 kB / 0.7307 GB, free: 7.777 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001666/0.6198, allocations: 0.9955 MB / 0.7316 GB, free: 6.777 MB / 0.545 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.006153/0.626, allocations: 4.251 MB / 0.7358 GB, free: 2.23 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008795/0.6269, allocations: 0.6016 MB / 0.7364 GB, free: 1.621 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 5.892e-05/0.627, allocations: 8.438 kB / 0.7364 GB, free: 1.613 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.289e-05/0.627, allocations: 50.17 kB / 0.7364 GB, free: 1.559 MB / 0.545 GB Notification: Performance of pre-optimization done (n=53): time 2.324e-06/0.627, allocations: 0 / 0.7364 GB, free: 1.559 MB / 0.545 GB Notification: Performance of matching and sorting (n=55): time 0.004119/0.6311, allocations: 2.229 MB / 0.7386 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.99e-05/0.6312, allocations: 59.91 kB / 0.7387 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001068/0.6323, allocations: 0.8765 MB / 0.7395 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.266e-05/0.6324, allocations: 41.7 kB / 0.7395 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.00035/0.6327, allocations: 0.5068 MB / 0.74 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001767/0.6329, allocations: 193.2 kB / 0.7402 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.539e-05/0.6329, allocations: 12 kB / 0.7402 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001036/0.633, allocations: 337.9 kB / 0.7406 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004825/0.6335, allocations: 289.8 kB / 0.7408 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000583/0.6341, allocations: 433 kB / 0.7413 GB, free: 12.41 MB / 0.5606 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002996/0.6371, allocations: 1.103 MB / 0.7423 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/0.6372, allocations: 4 kB / 0.7423 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001527/0.6387, allocations: 0.9296 MB / 0.7432 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.6387, allocations: 6.188 kB / 0.7432 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.38e-05/0.6387, allocations: 7.984 kB / 0.7433 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000201/0.6389, allocations: 102.9 kB / 0.7434 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007487/0.6397, allocations: 171.8 kB / 0.7435 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003123/0.6428, allocations: 4.334 MB / 0.7477 GB, free: 5.324 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00102/0.6439, allocations: 75.92 kB / 0.7478 GB, free: 5.25 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.689e-05/0.6439, allocations: 24 kB / 0.7478 GB, free: 5.227 MB / 0.5606 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (80): * Single equations (assignments): 77 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 1,1 1,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0005204/0.6445, allocations: 349.5 kB / 0.7482 GB, free: 4.875 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001528/0.6446, allocations: 98.88 kB / 0.7483 GB, free: 4.777 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000187/0.6448, allocations: 113.2 kB / 0.7484 GB, free: 4.664 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.6448, allocations: 4 kB / 0.7484 GB, free: 4.66 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.6448, allocations: 0 / 0.7484 GB, free: 4.66 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00107/0.6459, allocations: 0.7731 MB / 0.7491 GB, free: 3.832 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003096/0.649, allocations: 2.004 MB / 0.7511 GB, free: 1.727 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.65e-06/0.6491, allocations: 7.953 kB / 0.7511 GB, free: 1.719 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006954/0.6498, allocations: 151.8 kB / 0.7512 GB, free: 1.57 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.394e-05/0.6499, allocations: 44.95 kB / 0.7513 GB, free: 1.523 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.862e-05/0.6499, allocations: 19.98 kB / 0.7513 GB, free: 1.504 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001116/0.6511, allocations: 1.5 MB / 0.7528 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/0.6511, allocations: 4 kB / 0.7528 GB, free: 15.87 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001723/0.6528, allocations: 1.373 MB / 0.7541 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004775/0.6533, allocations: 255.8 kB / 0.7544 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001245/0.6534, allocations: 16 kB / 0.7544 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008202/0.6542, allocations: 76.48 kB / 0.7544 GB, free: 14 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001018/0.6544, allocations: 47.84 kB / 0.7545 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.33e-05/0.6544, allocations: 27.98 kB / 0.7545 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007241/0.6552, allocations: 0.6083 MB / 0.7551 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6552, allocations: 0 / 0.7551 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009399/0.6561, allocations: 308 kB / 0.7554 GB, free: 13.02 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 3 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U,volDyn.dynBal.mC[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 (53): * Single equations (assignments): 52 * 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: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003959/0.6565, allocations: 204.7 kB / 0.7556 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001481/0.658, allocations: 1.012 MB / 0.7566 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/0.658, allocations: 4 kB / 0.7566 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006189/0.6587, allocations: 438.3 kB / 0.757 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002642/0.6613, allocations: 0.6184 MB / 0.7576 GB, free: 10.72 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003175/0.6645, allocations: 2.504 MB / 0.7601 GB, free: 8.152 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007011/0.6652, allocations: 1.19 MB / 0.7612 GB, free: 6.93 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008919/0.6661, allocations: 256.4 kB / 0.7615 GB, free: 6.676 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001971/0.6663, allocations: 79.44 kB / 0.7615 GB, free: 6.598 MB / 0.5762 GB Notification: Performance of SimCode: time 1.002e-06/0.6663, allocations: 0 / 0.7615 GB, free: 6.598 MB / 0.5762 GB Notification: Performance of Templates: time 0.03104/0.6974, allocations: 20.53 MB / 0.7816 GB, free: 2.367 MB / 0.5919 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.makefile (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & ./IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1)