Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.conf.json 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/IDEAS 3.0.0/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) 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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) Running command: translateModel(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") translateModel(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001264/0.001264, allocations: 182.3 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8422/0.8422, allocations: 132.2 MB / 148.9 MB, free: 12.15 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.402/1.402, allocations: 222.9 MB / 403.4 MB, free: 7.059 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001034/0.001034, allocations: 116.9 kB / 484.4 MB, free: 8.695 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009741/0.0009741, allocations: 55.92 kB / 0.5618 GB, free: 71.07 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1427/0.1436, allocations: 80.21 MB / 0.6402 GB, free: 6.793 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.4865/0.6302, allocations: 188.2 MB / 0.824 GB, free: 6.906 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.008612/0.6388, allocations: 5.748 MB / 0.8296 GB, free: 1.148 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001137/0.64, allocations: 35.75 kB / 0.8296 GB, free: 1.113 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.001348/0.6414, allocations: 0.4935 MB / 0.8301 GB, free: 0.6172 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.003746/0.6451, allocations: 1.735 MB / 0.8318 GB, free: 14.88 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.00253/0.6477, allocations: 1.052 MB / 0.8328 GB, free: 13.83 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.003897/0.6516, allocations: 4.109 MB / 0.8368 GB, free: 9.711 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001176/0.6528, allocations: 0.9697 MB / 0.8378 GB, free: 8.719 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00137/0.6542, allocations: 0.918 MB / 0.8387 GB, free: 7.797 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001814/0.656, allocations: 0.9897 MB / 0.8396 GB, free: 6.809 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.000139/0.6561, allocations: 60 kB / 0.8397 GB, free: 6.75 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00286/0.659, allocations: 1.648 MB / 0.8413 GB, free: 5.098 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0006029/0.6596, allocations: 0.5103 MB / 0.8418 GB, free: 4.586 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0007439/0.6604, allocations: 0.657 MB / 0.8425 GB, free: 3.926 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.003202/0.6636, allocations: 2.36 MB / 0.8448 GB, free: 1.559 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.6636, allocations: 0 / 0.8448 GB, free: 1.559 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.082e-06/0.6636, allocations: 0 / 0.8448 GB, free: 1.559 MB / 0.573 GB Notification: Performance of Transformations before backend: time 2.45e-05/0.6636, allocations: 0 / 0.8448 GB, free: 1.559 MB / 0.573 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.002597/0.6662, allocations: 1.616 MB / 0.8463 GB, free: 15.88 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.6663, allocations: 11.97 kB / 0.8464 GB, free: 15.87 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001838/0.6681, allocations: 330.2 kB / 0.8467 GB, free: 15.55 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001403/0.6696, allocations: 0.8746 MB / 0.8475 GB, free: 14.63 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.325e-05/0.6696, allocations: 74 kB / 0.8476 GB, free: 14.56 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001338/0.6698, allocations: 103.9 kB / 0.8477 GB, free: 14.46 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001752/0.6715, allocations: 1.077 MB / 0.8487 GB, free: 13.37 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.771e-05/0.6716, allocations: 4 kB / 0.8487 GB, free: 13.37 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.581e-05/0.6717, allocations: 43.98 kB / 0.8488 GB, free: 13.32 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-05/0.6717, allocations: 41.94 kB / 0.8488 GB, free: 13.28 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001571/0.6733, allocations: 0.9954 MB / 0.8498 GB, free: 12.29 MB / 0.5886 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.005871/0.6792, allocations: 4.243 MB / 0.8539 GB, free: 7.746 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008761/0.6801, allocations: 0.5904 MB / 0.8545 GB, free: 7.148 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004851/0.6806, allocations: 338.6 kB / 0.8548 GB, free: 6.816 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001949/0.6808, allocations: 105.5 kB / 0.8549 GB, free: 6.695 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.193e-05/0.6808, allocations: 43 kB / 0.855 GB, free: 6.645 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=53): time 3.747e-06/0.6808, allocations: 0 / 0.855 GB, free: 6.645 MB / 0.5886 GB Notification: Performance of matching and sorting (n=55): time 0.003852/0.6847, allocations: 2.201 MB / 0.8571 GB, free: 4.328 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.567e-05/0.6847, allocations: 55.97 kB / 0.8572 GB, free: 4.262 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00103/0.6858, allocations: 0.8843 MB / 0.8581 GB, free: 3.367 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 4.808e-05/0.6858, allocations: 41.64 kB / 0.8581 GB, free: 3.32 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003563/0.6862, allocations: 0.5184 MB / 0.8586 GB, free: 2.793 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001624/0.6864, allocations: 197.2 kB / 0.8588 GB, free: 2.598 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001994/0.6866, allocations: 126.6 kB / 0.8589 GB, free: 2.469 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001073/0.6867, allocations: 338 kB / 0.8592 GB, free: 2.133 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004959/0.6872, allocations: 285.8 kB / 0.8595 GB, free: 1.855 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006067/0.6878, allocations: 450.4 kB / 0.8599 GB, free: 1.359 MB / 0.5886 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.003871/0.6917, allocations: 1.733 MB / 0.8616 GB, free: 15.56 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.292e-06/0.6917, allocations: 8 kB / 0.8616 GB, free: 15.55 MB / 0.6042 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001436/0.6932, allocations: 0.9218 MB / 0.8625 GB, free: 14.61 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/0.6932, allocations: 7.938 kB / 0.8625 GB, free: 14.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.327e-06/0.6932, allocations: 4.5 kB / 0.8625 GB, free: 14.6 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002024/0.6934, allocations: 102.5 kB / 0.8626 GB, free: 14.49 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006965/0.6941, allocations: 159.8 kB / 0.8628 GB, free: 14.33 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003221/0.6974, allocations: 4.291 MB / 0.867 GB, free: 9.641 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009543/0.6983, allocations: 61.75 kB / 0.867 GB, free: 9.582 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.411e-05/0.6984, allocations: 24 kB / 0.8671 GB, free: 9.559 MB / 0.6042 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.0004783/0.6989, allocations: 359.5 kB / 0.8674 GB, free: 9.199 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001483/0.699, allocations: 102.8 kB / 0.8675 GB, free: 9.098 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001926/0.6992, allocations: 109.2 kB / 0.8676 GB, free: 8.988 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.601e-06/0.6992, allocations: 7.938 kB / 0.8676 GB, free: 8.98 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.6992, allocations: 0 / 0.8676 GB, free: 8.98 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001035/0.7003, allocations: 0.7691 MB / 0.8684 GB, free: 8.164 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003068/0.7034, allocations: 1.984 MB / 0.8703 GB, free: 6.078 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.571e-06/0.7034, allocations: 4.406 kB / 0.8703 GB, free: 6.074 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000742/0.7041, allocations: 151.8 kB / 0.8705 GB, free: 5.926 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.46e-05/0.7042, allocations: 32.84 kB / 0.8705 GB, free: 5.891 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.003e-05/0.7043, allocations: 23.92 kB / 0.8705 GB, free: 5.867 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001044/0.7053, allocations: 1.491 MB / 0.872 GB, free: 4.242 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.7054, allocations: 4.031 kB / 0.872 GB, free: 4.238 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006293/0.7117, allocations: 4.577 MB / 0.8764 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004245/0.7121, allocations: 243.9 kB / 0.8767 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001041/0.7122, allocations: 16 kB / 0.8767 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007818/0.713, allocations: 77.98 kB / 0.8768 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001214/0.7131, allocations: 43.83 kB / 0.8768 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.825e-05/0.7132, allocations: 27.98 kB / 0.8768 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.000759/0.714, allocations: 0.62 MB / 0.8774 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.21e-07/0.714, allocations: 4 kB / 0.8774 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001339/0.7153, allocations: 432 kB / 0.8778 GB, free: 14.01 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 3 (volDyn.dynBal.U,volDyn.dynBal.mXi[1],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.0004641/0.7158, allocations: 196.5 kB / 0.878 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001412/0.7172, allocations: 1.011 MB / 0.879 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.7172, allocations: 0 / 0.879 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000582/0.7178, allocations: 446.4 kB / 0.8794 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002848/0.7207, allocations: 0.6208 MB / 0.8801 GB, free: 11.7 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003652/0.7244, allocations: 2.869 MB / 0.8829 GB, free: 8.758 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007068/0.7251, allocations: 1.197 MB / 0.884 GB, free: 7.527 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.001031/0.7261, allocations: 260.4 kB / 0.8843 GB, free: 7.27 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000219/0.7263, allocations: 79.44 kB / 0.8843 GB, free: 7.191 MB / 0.6198 GB Notification: Performance of SimCode: time 7.31e-07/0.7264, allocations: 0 / 0.8843 GB, free: 7.191 MB / 0.6198 GB Notification: Performance of Templates: time 0.03356/0.7599, allocations: 22.51 MB / 0.9063 GB, free: 0.9336 MB / 0.6355 GB make -j1 -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.makefile (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & ./IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1)