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.001209/0.001209, allocations: 103.5 kB / 16.4 MB, free: 6.5 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.001152/0.001152, allocations: 196 kB / 17.34 MB, free: 5.742 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.242/1.242, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6813/0.6813, allocations: 115.3 MB / 406.5 MB, free: 6.105 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001143/0.001143, allocations: 62.41 kB / 0.5577 GB, free: 32.27 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1299/0.131, allocations: 76.18 MB / 0.6321 GB, free: 4.363 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.4986/0.6296, allocations: 190.4 MB / 0.8181 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.008489/0.6382, allocations: 5.719 MB / 0.8237 GB, free: 8.379 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001182/0.6394, allocations: 40.97 kB / 0.8237 GB, free: 8.363 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001366/0.6408, allocations: 0.5724 MB / 0.8243 GB, free: 7.934 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003835/0.6446, allocations: 1.825 MB / 0.826 GB, free: 6.785 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002432/0.6471, allocations: 1.179 MB / 0.8272 GB, free: 6.02 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002932/0.65, allocations: 2.95 MB / 0.8301 GB, free: 4.438 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001203/0.6512, allocations: 1.125 MB / 0.8312 GB, free: 3.777 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001415/0.6527, allocations: 1.068 MB / 0.8322 GB, free: 3.219 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001498/0.6542, allocations: 0.9656 MB / 0.8332 GB, free: 2.73 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.000173/0.6544, allocations: 127.2 kB / 0.8333 GB, free: 2.727 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00234/0.6567, allocations: 1.442 MB / 0.8347 GB, free: 2.148 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004668/0.6572, allocations: 0.5733 MB / 0.8353 GB, free: 1.773 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0006462/0.6578, allocations: 0.7253 MB / 0.836 GB, free: 1.316 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002462/0.6603, allocations: 2.333 MB / 0.8382 GB, free: 15.91 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.6603, allocations: 2.25 kB / 0.8382 GB, free: 15.91 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.503e-06/0.6603, allocations: 0 / 0.8382 GB, free: 15.91 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.557e-05/0.6603, allocations: 0 / 0.8382 GB, free: 15.91 MB / 0.6075 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.002219/0.6626, allocations: 1.618 MB / 0.8398 GB, free: 14.71 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.106e-05/0.6626, allocations: 9.625 kB / 0.8398 GB, free: 14.71 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001889/0.6645, allocations: 330.1 kB / 0.8401 GB, free: 14.57 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001231/0.6658, allocations: 0.9213 MB / 0.841 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.442e-05/0.6658, allocations: 71.5 kB / 0.8411 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001258/0.6659, allocations: 100.2 kB / 0.8412 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001611/0.6676, allocations: 1.081 MB / 0.8423 GB, free: 13.22 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.057e-05/0.6676, allocations: 0 / 0.8423 GB, free: 13.22 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.405e-05/0.6677, allocations: 42.66 kB / 0.8423 GB, free: 13.19 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.83e-05/0.6677, allocations: 37.28 kB / 0.8423 GB, free: 13.19 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001461/0.6692, allocations: 0.9969 MB / 0.8433 GB, free: 12.7 MB / 0.6075 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.00517/0.6744, allocations: 4.222 MB / 0.8474 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008307/0.6752, allocations: 0.6013 MB / 0.848 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004702/0.6757, allocations: 348.2 kB / 0.8484 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001887/0.6759, allocations: 108.5 kB / 0.8485 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.809e-05/0.6759, allocations: 40.12 kB / 0.8485 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=53): time 1.904e-06/0.6759, allocations: 0 / 0.8485 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of matching and sorting (n=55): time 0.003606/0.6796, allocations: 2.201 MB / 0.8507 GB, free: 5.797 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.395e-05/0.6796, allocations: 59.91 kB / 0.8507 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009724/0.6806, allocations: 0.8882 MB / 0.8516 GB, free: 4.832 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.162e-05/0.6806, allocations: 37.7 kB / 0.8516 GB, free: 4.789 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003329/0.681, allocations: 0.5171 MB / 0.8521 GB, free: 4.266 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001629/0.6812, allocations: 200.3 kB / 0.8523 GB, free: 4.07 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000192/0.6813, allocations: 126.6 kB / 0.8524 GB, free: 3.941 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001091/0.6815, allocations: 334 kB / 0.8527 GB, free: 3.609 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004492/0.6819, allocations: 285.8 kB / 0.853 GB, free: 3.332 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005338/0.6825, allocations: 437 kB / 0.8534 GB, free: 2.852 MB / 0.6075 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.003648/0.6861, allocations: 1.741 MB / 0.8551 GB, free: 1.043 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.6861, allocations: 0 / 0.8551 GB, free: 1.043 MB / 0.6075 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001366/0.6875, allocations: 0.9257 MB / 0.856 GB, free: 100 kB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/0.6875, allocations: 8.5 kB / 0.856 GB, free: 92 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/0.6876, allocations: 4.875 kB / 0.8561 GB, free: 88 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001983/0.6878, allocations: 98.45 kB / 0.8561 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006918/0.6885, allocations: 167.7 kB / 0.8563 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003285/0.6918, allocations: 4.636 MB / 0.8608 GB, free: 10.76 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008225/0.6926, allocations: 27.98 kB / 0.8609 GB, free: 10.73 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.801e-05/0.6927, allocations: 24 kB / 0.8609 GB, free: 10.71 MB / 0.6231 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: 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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,1), (1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.000497/0.6932, allocations: 353.6 kB / 0.8612 GB, free: 10.36 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001551/0.6933, allocations: 102.8 kB / 0.8613 GB, free: 10.25 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001844/0.6935, allocations: 113.1 kB / 0.8614 GB, free: 10.14 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.6935, allocations: 4 kB / 0.8614 GB, free: 10.14 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.6935, allocations: 4 kB / 0.8614 GB, free: 10.13 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009865/0.6945, allocations: 0.7613 MB / 0.8622 GB, free: 9.324 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00277/0.6973, allocations: 1.985 MB / 0.8641 GB, free: 7.25 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/0.6973, allocations: 4 kB / 0.8641 GB, free: 7.246 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006411/0.698, allocations: 148.2 kB / 0.8643 GB, free: 7.102 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.476e-05/0.6981, allocations: 44.83 kB / 0.8643 GB, free: 7.055 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.272e-05/0.6981, allocations: 16 kB / 0.8643 GB, free: 7.039 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00115/0.6993, allocations: 1.61 MB / 0.8659 GB, free: 5.281 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/0.6993, allocations: 11.88 kB / 0.8659 GB, free: 5.27 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001654/0.7009, allocations: 1.208 MB / 0.8671 GB, free: 4.008 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003541/0.7013, allocations: 247.9 kB / 0.8673 GB, free: 3.746 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001166/0.7014, allocations: 15.94 kB / 0.8673 GB, free: 3.73 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006837/0.7021, allocations: 39.42 kB / 0.8674 GB, free: 3.695 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001028/0.7022, allocations: 47.89 kB / 0.8674 GB, free: 3.648 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.762e-05/0.7023, allocations: 35.91 kB / 0.8675 GB, free: 3.613 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0007464/0.7031, allocations: 0.6161 MB / 0.8681 GB, free: 3.004 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7031, allocations: 0 / 0.8681 GB, free: 3.004 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0009228/0.704, allocations: 304 kB / 0.8683 GB, free: 2.707 MB / 0.6231 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004702/0.7045, allocations: 196.4 kB / 0.8685 GB, free: 2.523 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001486/0.706, allocations: 1.011 MB / 0.8695 GB, free: 1.473 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.706, allocations: 4 kB / 0.8695 GB, free: 1.469 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0005822/0.7066, allocations: 448.1 kB / 0.8699 GB, free: 1.02 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002636/0.7092, allocations: 0.6432 MB / 0.8706 GB, free: 396 kB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002954/0.7122, allocations: 2.099 MB / 0.8726 GB, free: 14.23 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007259/0.713, allocations: 1.166 MB / 0.8738 GB, free: 13.03 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0007671/0.7137, allocations: 256.4 kB / 0.874 GB, free: 12.78 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001971/0.7139, allocations: 75.42 kB / 0.8741 GB, free: 12.7 MB / 0.6387 GB Notification: Performance of SimCode: time 5.01e-07/0.7139, allocations: 0 / 0.8741 GB, free: 12.7 MB / 0.6387 GB Notification: Performance of Templates: time 0.03606/0.75, allocations: 22.43 MB / 0.896 GB, free: 6.566 MB / 0.6544 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)