Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") translateModel(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.00152/0.001521, allocations: 115.7 kB / 16.37 MB, free: 6.012 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.00178/0.00178, allocations: 193.8 kB / 17.31 MB, free: 5.613 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.31/1.31, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7956/0.7956, allocations: 135.1 MB / 426.3 MB, free: 4.109 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 59.91 kB / 0.5068 GB, free: 7.66 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3476/0.3488, allocations: 80.91 MB / 0.5858 GB, free: 25.55 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.5452/0.894, allocations: 190.4 MB / 0.7717 GB, free: 1.691 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.008224/0.9023, allocations: 5.702 MB / 0.7773 GB, free: 1.594 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001238/0.9036, allocations: 38.25 kB / 0.7773 GB, free: 1.594 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001273/0.9049, allocations: 0.5747 MB / 0.7779 GB, free: 1.582 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003662/0.9086, allocations: 1.823 MB / 0.7797 GB, free: 1.508 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002745/0.9113, allocations: 1.178 MB / 0.7808 GB, free: 1.477 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003387/0.9147, allocations: 2.947 MB / 0.7837 GB, free: 1.461 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001225/0.916, allocations: 1.129 MB / 0.7848 GB, free: 1.348 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00152/0.9175, allocations: 1.059 MB / 0.7858 GB, free: 1.348 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001457/0.919, allocations: 0.9618 MB / 0.7868 GB, free: 1.344 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001618/0.9192, allocations: 122.9 kB / 0.7869 GB, free: 1.344 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002381/0.9215, allocations: 1.449 MB / 0.7883 GB, free: 1.328 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004462/0.922, allocations: 0.5668 MB / 0.7889 GB, free: 1.32 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0007072/0.9227, allocations: 0.7262 MB / 0.7896 GB, free: 1.312 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002352/0.9251, allocations: 2.338 MB / 0.7919 GB, free: 1.031 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.9251, allocations: 4.375 kB / 0.7919 GB, free: 1.031 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.913e-06/0.9251, allocations: 2.953 kB / 0.7919 GB, free: 1.031 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.747e-05/0.9251, allocations: 0 / 0.7919 GB, free: 1.031 MB / 0.5762 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.002286/0.9274, allocations: 1.626 MB / 0.7935 GB, free: 16.21 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.141e-05/0.9274, allocations: 7.922 kB / 0.7935 GB, free: 16.21 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00186/0.9293, allocations: 330.5 kB / 0.7938 GB, free: 16.14 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001399/0.9307, allocations: 0.9173 MB / 0.7947 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.365e-05/0.9308, allocations: 73.25 kB / 0.7948 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001253/0.9309, allocations: 101.2 kB / 0.7948 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001512/0.9324, allocations: 1.076 MB / 0.7959 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.395e-05/0.9325, allocations: 3 kB / 0.7959 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.893e-05/0.9326, allocations: 41.75 kB / 0.7959 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.732e-05/0.9326, allocations: 37.94 kB / 0.796 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001366/0.934, allocations: 0.9959 MB / 0.7969 GB, free: 15.74 MB / 0.5919 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.005105/0.9391, allocations: 4.218 MB / 0.8011 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007373/0.9399, allocations: 0.6008 MB / 0.8017 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004165/0.9403, allocations: 341.6 kB / 0.802 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001848/0.9405, allocations: 98.94 kB / 0.8021 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.886e-05/0.9405, allocations: 47.61 kB / 0.8021 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=53): time 2.024e-06/0.9405, allocations: 0 / 0.8021 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of matching and sorting (n=55): time 0.003439/0.944, allocations: 2.197 MB / 0.8043 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.15e-05/0.944, allocations: 60.22 kB / 0.8043 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009298/0.945, allocations: 0.8849 MB / 0.8052 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.657e-05/0.945, allocations: 42.2 kB / 0.8052 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003062/0.9453, allocations: 0.5086 MB / 0.8057 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001542/0.9455, allocations: 202.3 kB / 0.8059 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000187/0.9457, allocations: 131.1 kB / 0.806 GB, free: 12.44 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001058/0.9458, allocations: 333.8 kB / 0.8064 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004092/0.9462, allocations: 289.3 kB / 0.8066 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005221/0.9467, allocations: 442.5 kB / 0.8071 GB, free: 11.98 MB / 0.5919 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.003446/0.9502, allocations: 1.732 MB / 0.8087 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.9502, allocations: 0 / 0.8087 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001405/0.9516, allocations: 0.9282 MB / 0.8097 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.9517, allocations: 8.906 kB / 0.8097 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/0.9517, allocations: 7.062 kB / 0.8097 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002035/0.9519, allocations: 92.5 kB / 0.8098 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006587/0.9526, allocations: 169.7 kB / 0.8099 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003274/0.9558, allocations: 4.644 MB / 0.8145 GB, free: 7.527 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008404/0.9567, allocations: 31.77 kB / 0.8145 GB, free: 7.523 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.589e-05/0.9568, allocations: 31.45 kB / 0.8145 GB, free: 7.523 MB / 0.5919 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.0004809/0.9572, allocations: 350.5 kB / 0.8149 GB, free: 7.406 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001495/0.9574, allocations: 97.94 kB / 0.8149 GB, free: 7.359 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001704/0.9576, allocations: 109.3 kB / 0.815 GB, free: 7.348 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.9576, allocations: 8.375 kB / 0.8151 GB, free: 7.348 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.9576, allocations: 3.938 kB / 0.8151 GB, free: 7.344 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009286/0.9585, allocations: 0.7623 MB / 0.8158 GB, free: 7.074 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002852/0.9614, allocations: 1.988 MB / 0.8177 GB, free: 6.641 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.464e-06/0.9614, allocations: 6.375 kB / 0.8178 GB, free: 6.637 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006424/0.9621, allocations: 149 kB / 0.8179 GB, free: 6.637 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.184e-05/0.9622, allocations: 38.81 kB / 0.8179 GB, free: 6.629 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.06e-05/0.9622, allocations: 17.39 kB / 0.8179 GB, free: 6.629 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001216/0.9634, allocations: 1.607 MB / 0.8195 GB, free: 5.281 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.9635, allocations: 9.219 kB / 0.8195 GB, free: 5.281 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00162/0.9651, allocations: 1.23 MB / 0.8207 GB, free: 4.953 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004771/0.9656, allocations: 255 kB / 0.821 GB, free: 4.77 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001212/0.9657, allocations: 19.27 kB / 0.821 GB, free: 4.762 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006743/0.9664, allocations: 34.12 kB / 0.821 GB, free: 4.75 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000106/0.9665, allocations: 47.3 kB / 0.8211 GB, free: 4.738 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.449e-05/0.9666, allocations: 31.2 kB / 0.8211 GB, free: 4.734 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0007497/0.9673, allocations: 0.6141 MB / 0.8217 GB, free: 4.488 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.9e-07/0.9673, allocations: 0.875 kB / 0.8217 GB, free: 4.488 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008619/0.9682, allocations: 302.4 kB / 0.822 GB, free: 4.465 MB / 0.5919 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.0004094/0.9686, allocations: 197.2 kB / 0.8222 GB, free: 4.359 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001379/0.97, allocations: 1.019 MB / 0.8232 GB, free: 3.816 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.97, allocations: 0.9062 kB / 0.8232 GB, free: 3.816 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005576/0.9706, allocations: 445.1 kB / 0.8236 GB, free: 3.617 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002402/0.973, allocations: 0.6581 MB / 0.8242 GB, free: 3.43 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003057/0.9761, allocations: 2.07 MB / 0.8263 GB, free: 2.301 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006916/0.9768, allocations: 1.178 MB / 0.8274 GB, free: 1.371 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0007961/0.9776, allocations: 252.2 kB / 0.8276 GB, free: 1.262 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001943/0.9778, allocations: 74.73 kB / 0.8277 GB, free: 1.254 MB / 0.5919 GB Notification: Performance of SimCode: time 6.11e-07/0.9778, allocations: 0 / 0.8277 GB, free: 1.254 MB / 0.5919 GB Notification: Performance of Templates: time 0.03493/1.013, allocations: 22.33 MB / 0.8495 GB, free: 12.45 MB / 0.6231 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.makefile (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & ./IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1)