Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.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.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") translateModel(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008584/0.0008584, allocations: 100.9 kB / 15.05 MB, free: 1.105 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.0009368/0.0009369, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.178/1.178, allocations: 223.2 MB / 239.9 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.847/0.847, allocations: 135.2 MB / 426.2 MB, free: 14.19 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002816/0.0002816, allocations: 12.75 kB / 0.5068 GB, free: 5.262 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1422/0.1425, allocations: 82.31 MB / 0.5872 GB, free: 3.129 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.4012/0.5437, allocations: 158 MB / 0.7415 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.007924/0.5517, allocations: 5.601 MB / 0.747 GB, free: 8.105 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008712/0.5526, allocations: 31.75 kB / 0.747 GB, free: 8.074 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.00143/0.554, allocations: 0.5586 MB / 0.7476 GB, free: 7.668 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004008/0.558, allocations: 1.65 MB / 0.7492 GB, free: 6.336 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003005/0.5611, allocations: 1.192 MB / 0.7503 GB, free: 5.422 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002065/0.5631, allocations: 1.463 MB / 0.7518 GB, free: 4.047 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008327/0.564, allocations: 0.7162 MB / 0.7525 GB, free: 3.32 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0011/0.5651, allocations: 0.7436 MB / 0.7532 GB, free: 2.574 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005851/0.5657, allocations: 0.502 MB / 0.7537 GB, free: 2.07 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.28e-05/0.5658, allocations: 44 kB / 0.7537 GB, free: 2.027 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001721/0.5675, allocations: 0.8814 MB / 0.7546 GB, free: 1.145 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003448/0.5679, allocations: 395 kB / 0.755 GB, free: 0.7578 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002027/0.5681, allocations: 253.1 kB / 0.7552 GB, free: 0.5039 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001342/0.5694, allocations: 1.448 MB / 0.7566 GB, free: 15.05 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.5694, allocations: 3.844 kB / 0.7566 GB, free: 15.05 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.512e-06/0.5694, allocations: 0 / 0.7566 GB, free: 15.05 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 1.123e-05/0.5695, allocations: 0 / 0.7566 GB, free: 15.05 MB / 0.5763 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.001752/0.5712, allocations: 1.254 MB / 0.7579 GB, free: 13.75 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 2.981e-05/0.5713, allocations: 12.03 kB / 0.7579 GB, free: 13.74 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001724/0.573, allocations: 338.3 kB / 0.7582 GB, free: 13.41 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001109/0.5741, allocations: 0.7536 MB / 0.7589 GB, free: 12.61 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003351/0.5745, allocations: 129.9 kB / 0.759 GB, free: 12.48 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001048/0.5746, allocations: 87.98 kB / 0.7591 GB, free: 12.4 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001528/0.5761, allocations: 1.057 MB / 0.7602 GB, free: 11.31 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.959e-05/0.5761, allocations: 0 / 0.7602 GB, free: 11.31 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.061e-05/0.5762, allocations: 40 kB / 0.7602 GB, free: 11.27 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.166e-05/0.5763, allocations: 37.98 kB / 0.7602 GB, free: 11.23 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001375/0.5777, allocations: 0.8392 MB / 0.7611 GB, free: 10.39 MB / 0.5763 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.00461/0.5823, allocations: 4.058 MB / 0.765 GB, free: 6.07 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004892/0.5828, allocations: 377.6 kB / 0.7654 GB, free: 5.695 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 3.889e-05/0.5828, allocations: 8 kB / 0.7654 GB, free: 5.688 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.333e-05/0.5829, allocations: 42.56 kB / 0.7654 GB, free: 5.637 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=36): time 1.393e-06/0.5829, allocations: 0 / 0.7654 GB, free: 5.637 MB / 0.5763 GB Notification: Performance of matching and sorting (n=38): time 0.002056/0.5849, allocations: 1.327 MB / 0.7667 GB, free: 4.258 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.012e-05/0.585, allocations: 55.41 kB / 0.7668 GB, free: 4.191 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001142/0.5861, allocations: 0.9881 MB / 0.7677 GB, free: 3.18 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 4.603e-05/0.5862, allocations: 33.7 kB / 0.7678 GB, free: 3.141 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003132/0.5865, allocations: 499.3 kB / 0.7683 GB, free: 2.648 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 9.666e-05/0.5866, allocations: 134.1 kB / 0.7684 GB, free: 2.516 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.58e-05/0.5866, allocations: 8 kB / 0.7684 GB, free: 2.508 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0001205/0.5868, allocations: 333.9 kB / 0.7687 GB, free: 2.176 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004287/0.5872, allocations: 241.2 kB / 0.7689 GB, free: 1.938 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005224/0.5877, allocations: 410.9 kB / 0.7693 GB, free: 1.469 MB / 0.5763 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.00164/0.5894, allocations: 0.724 MB / 0.77 GB, free: 0.7266 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.5894, allocations: 0 / 0.77 GB, free: 0.7266 MB / 0.5763 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001197/0.5906, allocations: 0.7658 MB / 0.7708 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.384e-05/0.5906, allocations: 8 kB / 0.7708 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.5906, allocations: 7.984 kB / 0.7708 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.5907, allocations: 8.25 kB / 0.7708 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005164/0.5912, allocations: 143.8 kB / 0.7709 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.321e-05/0.5912, allocations: 16 kB / 0.771 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008328/0.592, allocations: 96.84 kB / 0.7711 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.507e-05/0.5921, allocations: 31.92 kB / 0.7711 GB, free: 15.65 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 sytem: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (71): * Single equations (assignments): 71 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000335/0.5924, allocations: 313.5 kB / 0.7714 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001246/0.5926, allocations: 98.78 kB / 0.7715 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001455/0.5927, allocations: 109 kB / 0.7716 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.5927, allocations: 7.938 kB / 0.7716 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/0.5927, allocations: 0 / 0.7716 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005752/0.5933, allocations: 0.6635 MB / 0.7722 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002054/0.5954, allocations: 1.584 MB / 0.7738 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.524e-06/0.5954, allocations: 11.89 kB / 0.7738 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003594/0.5958, allocations: 87.89 kB / 0.7739 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.791e-06/0.5958, allocations: 4 kB / 0.7739 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.562e-05/0.5958, allocations: 12 kB / 0.7739 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.605e-06/0.5958, allocations: 15.92 kB / 0.7739 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.5958, allocations: 4 kB / 0.7739 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001004/0.5968, allocations: 1.049 MB / 0.7749 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003403/0.5972, allocations: 243.9 kB / 0.7752 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001141/0.5973, allocations: 15.98 kB / 0.7752 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006543/0.598, allocations: 63.77 kB / 0.7752 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.202e-05/0.598, allocations: 27.97 kB / 0.7753 GB, free: 10.99 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.306e-05/0.5981, allocations: 27.98 kB / 0.7753 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000866/0.5989, allocations: 0.6995 MB / 0.776 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.232e-06/0.599, allocations: 4 kB / 0.776 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0006882/0.5996, allocations: 259.9 kB / 0.7762 GB, free: 9.996 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (38): * Single equations (assignments): 38 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003805/0.6, allocations: 203.9 kB / 0.7764 GB, free: 9.801 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0007731/0.6008, allocations: 0.4916 MB / 0.7769 GB, free: 9.309 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/0.6008, allocations: 4 kB / 0.7769 GB, free: 9.305 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002315/0.6011, allocations: 185.4 kB / 0.7771 GB, free: 9.125 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002258/0.6033, allocations: 0.5802 MB / 0.7777 GB, free: 8.559 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002304/0.6056, allocations: 2.167 MB / 0.7798 GB, free: 6.312 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005938/0.6063, allocations: 1.118 MB / 0.7809 GB, free: 5.164 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0007056/0.607, allocations: 240.3 kB / 0.7811 GB, free: 4.926 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001483/0.6071, allocations: 71.42 kB / 0.7812 GB, free: 4.855 MB / 0.5919 GB Notification: Performance of SimCode: time 2.4e-07/0.6071, allocations: 0 / 0.7812 GB, free: 4.855 MB / 0.5919 GB Notification: Performance of Templates: time 0.02625/0.6334, allocations: 18.34 MB / 0.7991 GB, free: 2.809 MB / 0.6075 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.makefile Environment - environmentSimulation: (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & ./IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1) Environment - environmentSimulation: