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.000942/0.000942, allocations: 92.16 kB / 15.06 MB, free: 1.098 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.0009929/0.000993, allocations: 172.7 kB / 15.95 MB, free: 208 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.579/1.579, allocations: 223.3 MB / 240 MB, free: 5.281 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.037/1.037, allocations: 135.3 MB / 426.4 MB, free: 14.2 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003305/0.0003305, allocations: 12.61 kB / 0.507 GB, free: 5.152 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1887/0.189, allocations: 82.31 MB / 0.5874 GB, free: 3.016 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.5812/0.7703, allocations: 173.1 MB / 0.7564 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01075/0.7811, allocations: 5.346 MB / 0.7617 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001595/0.7827, allocations: 35.75 kB / 0.7617 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001348/0.7841, allocations: 393.5 kB / 0.7621 GB, free: 10.17 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.004034/0.7881, allocations: 1.205 MB / 0.7632 GB, free: 8.957 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003164/0.7913, allocations: 0.8813 MB / 0.7641 GB, free: 8.09 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003803/0.7951, allocations: 2.933 MB / 0.767 GB, free: 5.148 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001163/0.7963, allocations: 0.7091 MB / 0.7677 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001758/0.7981, allocations: 0.8479 MB / 0.7685 GB, free: 3.578 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001249/0.7993, allocations: 0.7589 MB / 0.7692 GB, free: 2.816 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001017/0.7994, allocations: 47.98 kB / 0.7693 GB, free: 2.77 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002339/0.8018, allocations: 0.9003 MB / 0.7702 GB, free: 1.867 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004777/0.8023, allocations: 426.8 kB / 0.7706 GB, free: 1.449 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003674/0.8026, allocations: 249.1 kB / 0.7708 GB, free: 1.199 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001919/0.8046, allocations: 1.485 MB / 0.7722 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.8046, allocations: 0 / 0.7722 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.234e-06/0.8046, allocations: 0 / 0.7722 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.693e-05/0.8046, allocations: 0 / 0.7722 GB, free: 15.71 MB / 0.5919 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.002156/0.8068, allocations: 1.273 MB / 0.7735 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/0.8068, allocations: 8.031 kB / 0.7735 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001888/0.8087, allocations: 342.3 kB / 0.7738 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001297/0.81, allocations: 0.7536 MB / 0.7746 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003351/0.8104, allocations: 133.9 kB / 0.7747 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001386/0.8105, allocations: 87.98 kB / 0.7748 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001856/0.8124, allocations: 1.06 MB / 0.7758 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.219e-05/0.8124, allocations: 0 / 0.7758 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.517e-05/0.8125, allocations: 36 kB / 0.7758 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.132e-05/0.8126, allocations: 37.98 kB / 0.7759 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001526/0.8141, allocations: 0.8431 MB / 0.7767 GB, free: 11.02 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.005809/0.8199, allocations: 4.072 MB / 0.7807 GB, free: 6.691 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005825/0.8205, allocations: 369.9 kB / 0.781 GB, free: 6.324 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002963/0.8208, allocations: 214 kB / 0.7812 GB, free: 6.113 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002159/0.8211, allocations: 101.7 kB / 0.7813 GB, free: 5.996 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.722e-05/0.8211, allocations: 46.5 kB / 0.7814 GB, free: 5.941 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=36): time 2.254e-06/0.8211, allocations: 0 / 0.7814 GB, free: 5.941 MB / 0.5919 GB Notification: Performance of matching and sorting (n=38): time 0.002805/0.8239, allocations: 1.318 MB / 0.7827 GB, free: 4.57 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.289e-05/0.824, allocations: 55.41 kB / 0.7827 GB, free: 4.504 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001446/0.8254, allocations: 0.9921 MB / 0.7837 GB, free: 3.488 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.965e-05/0.8255, allocations: 33.7 kB / 0.7837 GB, free: 3.449 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004191/0.8259, allocations: 499.3 kB / 0.7842 GB, free: 2.957 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001405/0.8261, allocations: 134 kB / 0.7843 GB, free: 2.824 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.1e-05/0.8261, allocations: 12 kB / 0.7843 GB, free: 2.812 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001465/0.8263, allocations: 333.9 kB / 0.7847 GB, free: 2.48 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004698/0.8268, allocations: 237.2 kB / 0.7849 GB, free: 2.246 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006093/0.8274, allocations: 418.9 kB / 0.7853 GB, free: 1.77 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.001748/0.8291, allocations: 0.7207 MB / 0.786 GB, free: 1.031 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.8291, allocations: 8 kB / 0.786 GB, free: 1.023 MB / 0.5919 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001404/0.8306, allocations: 0.7573 MB / 0.7867 GB, free: 264 kB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.758e-05/0.8306, allocations: 8 kB / 0.7867 GB, free: 256 kB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.412e-05/0.8306, allocations: 4 kB / 0.7867 GB, free: 252 kB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.619e-05/0.8307, allocations: 12 kB / 0.7868 GB, free: 240 kB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005567/0.8312, allocations: 144 kB / 0.7869 GB, free: 96 kB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.88e-05/0.8312, allocations: 10.89 kB / 0.7869 GB, free: 88 kB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009928/0.8322, allocations: 99.7 kB / 0.787 GB, free: 15.99 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.927e-05/0.8323, allocations: 28 kB / 0.787 GB, free: 15.96 MB / 0.6075 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.000502/0.8328, allocations: 305.6 kB / 0.7873 GB, free: 15.65 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001508/0.833, allocations: 102.8 kB / 0.7874 GB, free: 15.55 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001844/0.8332, allocations: 101 kB / 0.7875 GB, free: 15.45 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.8332, allocations: 4 kB / 0.7875 GB, free: 15.45 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.8332, allocations: 3.938 kB / 0.7875 GB, free: 15.45 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007063/0.8339, allocations: 0.6752 MB / 0.7882 GB, free: 14.68 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002409/0.8363, allocations: 1.588 MB / 0.7897 GB, free: 12.99 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/0.8363, allocations: 4.5 kB / 0.7897 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003756/0.8367, allocations: 91.89 kB / 0.7898 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.092e-05/0.8368, allocations: 8 kB / 0.7898 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.997e-05/0.8368, allocations: 12 kB / 0.7898 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.005e-05/0.8368, allocations: 9.188 kB / 0.7898 GB, free: 12.87 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/0.8368, allocations: 4 kB / 0.7898 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001108/0.8379, allocations: 0.8413 MB / 0.7907 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004335/0.8384, allocations: 239.9 kB / 0.7909 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001215/0.8385, allocations: 11.98 kB / 0.7909 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006508/0.8392, allocations: 62.8 kB / 0.791 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.812e-05/0.8392, allocations: 35.86 kB / 0.791 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.306e-05/0.8393, allocations: 27.98 kB / 0.791 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001112/0.8404, allocations: 0.6996 MB / 0.7917 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.2e-07/0.8404, allocations: 0 / 0.7917 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0009372/0.8414, allocations: 256 kB / 0.792 GB, free: 10.61 MB / 0.6075 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.0004997/0.8419, allocations: 216.6 kB / 0.7922 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0009062/0.8428, allocations: 495.4 kB / 0.7926 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.918e-06/0.8428, allocations: 0.8125 kB / 0.7926 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002606/0.8431, allocations: 198.4 kB / 0.7928 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002489/0.8456, allocations: 0.5819 MB / 0.7934 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002916/0.8485, allocations: 2.178 MB / 0.7955 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006966/0.8492, allocations: 1.103 MB / 0.7966 GB, free: 5.77 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0009296/0.8502, allocations: 237.2 kB / 0.7968 GB, free: 5.535 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001859/0.8504, allocations: 75.44 kB / 0.7969 GB, free: 5.461 MB / 0.6075 GB Notification: Performance of SimCode: time 9.51e-07/0.8504, allocations: 0 / 0.7969 GB, free: 5.461 MB / 0.6075 GB Notification: Performance of Templates: time 0.03299/0.8834, allocations: 18.35 MB / 0.8148 GB, free: 3.391 MB / 0.6231 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.makefile (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)