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.0007982/0.0007983, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001026/0.001026, allocations: 183.8 kB / 16.92 MB, free: 6.77 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.423/1.423, allocations: 223.3 MB / 241 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9243/0.9243, allocations: 135.3 MB / 427.4 MB, free: 14.3 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003654/0.0003653, allocations: 13.89 kB / 0.5082 GB, free: 4.766 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1696/0.17, allocations: 82.3 MB / 0.5886 GB, free: 2.637 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.4991/0.6691, allocations: 185.6 MB / 0.7698 GB, free: 3.09 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.009681/0.6789, allocations: 5.685 MB / 0.7754 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001487/0.6804, allocations: 31.75 kB / 0.7754 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001568/0.682, allocations: 0.4936 MB / 0.7759 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004294/0.6863, allocations: 1.513 MB / 0.7774 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003087/0.6894, allocations: 1.088 MB / 0.7784 GB, free: 10.28 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004255/0.6937, allocations: 3.48 MB / 0.7818 GB, free: 6.789 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001249/0.6949, allocations: 0.8275 MB / 0.7826 GB, free: 5.941 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001846/0.6968, allocations: 0.8557 MB / 0.7835 GB, free: 5.082 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001821/0.6986, allocations: 0.8115 MB / 0.7843 GB, free: 4.273 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001123/0.6988, allocations: 40 kB / 0.7843 GB, free: 4.234 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003174/0.7019, allocations: 1.695 MB / 0.786 GB, free: 2.535 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0005001/0.7024, allocations: 430.7 kB / 0.7864 GB, free: 2.113 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0007024/0.7032, allocations: 0.5614 MB / 0.7869 GB, free: 1.543 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002097/0.7053, allocations: 1.567 MB / 0.7884 GB, free: 15.97 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.7053, allocations: 7.938 kB / 0.7885 GB, free: 15.96 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.484e-06/0.7053, allocations: 0 / 0.7885 GB, free: 15.96 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.469e-05/0.7053, allocations: 0 / 0.7885 GB, free: 15.96 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.00217/0.7075, allocations: 1.25 MB / 0.7897 GB, free: 14.66 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/0.7075, allocations: 8.031 kB / 0.7897 GB, free: 14.66 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002023/0.7096, allocations: 342.3 kB / 0.79 GB, free: 14.32 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001325/0.7109, allocations: 0.7765 MB / 0.7908 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003709/0.7113, allocations: 129.9 kB / 0.7909 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001312/0.7114, allocations: 84 kB / 0.791 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001893/0.7133, allocations: 1.076 MB / 0.792 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.403e-05/0.7134, allocations: 0 / 0.792 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.244e-05/0.7135, allocations: 39.98 kB / 0.7921 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.077e-05/0.7135, allocations: 34 kB / 0.7921 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00162/0.7152, allocations: 0.8431 MB / 0.7929 GB, free: 11.27 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.005952/0.7211, allocations: 4.07 MB / 0.7969 GB, free: 6.934 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005681/0.7217, allocations: 374.8 kB / 0.7973 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003015/0.722, allocations: 210 kB / 0.7975 GB, free: 6.352 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001913/0.7222, allocations: 101.7 kB / 0.7975 GB, free: 6.234 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.036e-05/0.7223, allocations: 38.56 kB / 0.7976 GB, free: 6.188 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=36): time 2.625e-06/0.7223, allocations: 0 / 0.7976 GB, free: 6.188 MB / 0.6075 GB Notification: Performance of matching and sorting (n=38): time 0.002472/0.7248, allocations: 1.326 MB / 0.7989 GB, free: 4.809 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.038e-05/0.7248, allocations: 55.41 kB / 0.7989 GB, free: 4.742 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001324/0.7261, allocations: 1.004 MB / 0.7999 GB, free: 3.715 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.567e-05/0.7262, allocations: 37.7 kB / 0.7999 GB, free: 3.672 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003503/0.7265, allocations: 491.4 kB / 0.8004 GB, free: 3.188 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001236/0.7267, allocations: 142 kB / 0.8006 GB, free: 3.047 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.227e-05/0.7268, allocations: 53.69 kB / 0.8006 GB, free: 2.988 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001108/0.7269, allocations: 334 kB / 0.8009 GB, free: 2.656 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004689/0.7274, allocations: 241.1 kB / 0.8012 GB, free: 2.418 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005954/0.728, allocations: 419 kB / 0.8016 GB, free: 1.941 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.002365/0.7303, allocations: 1.192 MB / 0.8027 GB, free: 0.6641 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.7303, allocations: 0 / 0.8027 GB, free: 0.6641 MB / 0.6075 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.00135/0.7317, allocations: 0.7577 MB / 0.8035 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/0.7317, allocations: 15.97 kB / 0.8035 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.222e-05/0.7318, allocations: 4.781 kB / 0.8035 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.025e-05/0.7318, allocations: 11.94 kB / 0.8035 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005517/0.7323, allocations: 143.8 kB / 0.8036 GB, free: 15.72 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.339e-05/0.7324, allocations: 8 kB / 0.8036 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009909/0.7334, allocations: 99.77 kB / 0.8037 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.115e-05/0.7334, allocations: 24 kB / 0.8037 GB, free: 15.59 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 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004502/0.7339, allocations: 317.5 kB / 0.8041 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001414/0.734, allocations: 98.81 kB / 0.8041 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001804/0.7342, allocations: 109.1 kB / 0.8043 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.98e-06/0.7342, allocations: 4 kB / 0.8043 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/0.7342, allocations: 0 / 0.8043 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006604/0.7349, allocations: 0.6731 MB / 0.8049 GB, free: 14.31 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002318/0.7372, allocations: 1.598 MB / 0.8065 GB, free: 12.61 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.462e-06/0.7372, allocations: 4 kB / 0.8065 GB, free: 12.61 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003719/0.7376, allocations: 87.89 kB / 0.8066 GB, free: 12.52 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.444e-06/0.7376, allocations: 4 kB / 0.8066 GB, free: 12.52 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.935e-05/0.7377, allocations: 15.94 kB / 0.8066 GB, free: 12.5 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.779e-06/0.7377, allocations: 11.94 kB / 0.8066 GB, free: 12.49 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.548e-06/0.7377, allocations: 4.469 kB / 0.8066 GB, free: 12.48 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001039/0.7387, allocations: 0.8411 MB / 0.8074 GB, free: 11.58 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003494/0.7391, allocations: 247.8 kB / 0.8077 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001187/0.7392, allocations: 16 kB / 0.8077 GB, free: 11.3 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007048/0.7399, allocations: 57.42 kB / 0.8077 GB, free: 11.25 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.781e-05/0.74, allocations: 39.78 kB / 0.8078 GB, free: 11.21 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.775e-05/0.7401, allocations: 23.98 kB / 0.8078 GB, free: 11.18 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001004/0.7411, allocations: 0.7113 MB / 0.8085 GB, free: 10.46 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7411, allocations: 0 / 0.8085 GB, free: 10.46 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.000807/0.7419, allocations: 256 kB / 0.8087 GB, free: 10.21 MB / 0.6231 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004669/0.7424, allocations: 209.9 kB / 0.8089 GB, free: 10 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0009136/0.7433, allocations: 495.6 kB / 0.8094 GB, free: 9.52 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/0.7433, allocations: 4 kB / 0.8094 GB, free: 9.516 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002512/0.7436, allocations: 189.1 kB / 0.8096 GB, free: 9.332 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003175/0.7468, allocations: 0.6095 MB / 0.8102 GB, free: 8.738 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003072/0.7498, allocations: 2.315 MB / 0.8124 GB, free: 6.332 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006817/0.7506, allocations: 1.099 MB / 0.8135 GB, free: 5.203 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002393/0.7508, allocations: 75.44 kB / 0.8136 GB, free: 5.129 MB / 0.6231 GB Notification: Performance of SimCode: time 8.12e-07/0.7508, allocations: 0 / 0.8136 GB, free: 5.129 MB / 0.6231 GB Notification: Performance of Templates: time 0.02453/0.7753, allocations: 16.25 MB / 0.8295 GB, free: 5.051 MB / 0.6387 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)