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.006176/0.006176, allocations: 101.8 kB / 15.73 MB, free: 6.031 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.001215/0.001216, allocations: 186.6 kB / 16.67 MB, free: 5.965 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.453/1.453, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1/1, allocations: 135.1 MB / 425.7 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 63.91 kB / 0.5857 GB, free: 3.312 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4017/0.403, allocations: 80.91 MB / 0.6647 GB, free: 7.598 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.2148/0.6179, allocations: 190.5 MB / 0.8507 GB, free: 2.484 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01024/0.6281, allocations: 5.682 MB / 0.8562 GB, free: 12.79 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001506/0.6297, allocations: 35.81 kB / 0.8562 GB, free: 12.75 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001675/0.6314, allocations: 0.5942 MB / 0.8568 GB, free: 12.15 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.005281/0.6367, allocations: 1.898 MB / 0.8587 GB, free: 10.25 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.003238/0.64, allocations: 1.193 MB / 0.8598 GB, free: 9.059 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.004116/0.6441, allocations: 2.955 MB / 0.8627 GB, free: 6.098 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001531/0.6457, allocations: 1.134 MB / 0.8638 GB, free: 4.945 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002099/0.6478, allocations: 1.105 MB / 0.8649 GB, free: 3.836 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001894/0.6497, allocations: 0.9634 MB / 0.8659 GB, free: 2.875 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001919/0.6499, allocations: 124 kB / 0.866 GB, free: 2.754 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003455/0.6533, allocations: 1.454 MB / 0.8674 GB, free: 1.297 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0006086/0.654, allocations: 0.565 MB / 0.868 GB, free: 0.7305 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0009024/0.6549, allocations: 0.7234 MB / 0.8687 GB, free: 4 kB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.4803/1.135, allocations: 2.333 MB / 0.8709 GB, free: 7.086 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/1.135, allocations: 0.6094 kB / 0.8709 GB, free: 7.086 MB / 0.6856 GB Notification: Performance of FrontEnd: time 3.176e-06/1.135, allocations: 1.125 kB / 0.8709 GB, free: 7.086 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 4.703e-05/1.135, allocations: 1.203 kB / 0.8709 GB, free: 7.086 MB / 0.6856 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.003616/1.139, allocations: 1.627 MB / 0.8725 GB, free: 6.336 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/1.139, allocations: 8.781 kB / 0.8725 GB, free: 6.336 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002212/1.141, allocations: 329.5 kB / 0.8728 GB, free: 6.27 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001716/1.143, allocations: 0.9068 MB / 0.8737 GB, free: 5.941 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.363e-05/1.143, allocations: 78.25 kB / 0.8738 GB, free: 5.938 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002093/1.143, allocations: 103.5 kB / 0.8739 GB, free: 5.938 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002211/1.145, allocations: 1.076 MB / 0.875 GB, free: 5.879 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.171e-05/1.146, allocations: 3.906 kB / 0.875 GB, free: 5.875 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001135/1.146, allocations: 44.39 kB / 0.875 GB, free: 5.875 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.441e-05/1.146, allocations: 43.36 kB / 0.875 GB, free: 5.875 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001959/1.148, allocations: 0.9882 MB / 0.876 GB, free: 5.867 MB / 0.6856 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.006744/1.154, allocations: 4.217 MB / 0.8801 GB, free: 4.156 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001125/1.156, allocations: 0.5878 MB / 0.8807 GB, free: 4.133 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006429/1.156, allocations: 345.2 kB / 0.881 GB, free: 4.125 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001881/1.156, allocations: 110.2 kB / 0.8811 GB, free: 4.031 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.995e-05/1.156, allocations: 40 kB / 0.8812 GB, free: 3.992 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=53): time 2.775e-06/1.156, allocations: 1.031 kB / 0.8812 GB, free: 3.992 MB / 0.6856 GB Notification: Performance of matching and sorting (n=55): time 0.004803/1.161, allocations: 2.204 MB / 0.8833 GB, free: 19.2 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.111e-05/1.161, allocations: 56.44 kB / 0.8834 GB, free: 19.14 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001507/1.163, allocations: 0.8829 MB / 0.8842 GB, free: 19 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 8.881e-05/1.163, allocations: 38.23 kB / 0.8843 GB, free: 18.97 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003941/1.163, allocations: 0.5141 MB / 0.8848 GB, free: 18.74 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001924/1.164, allocations: 199.4 kB / 0.885 GB, free: 18.62 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002585/1.164, allocations: 137.9 kB / 0.8851 GB, free: 18.59 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001346/1.164, allocations: 329.8 kB / 0.8854 GB, free: 18.29 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005415/1.165, allocations: 285.6 kB / 0.8857 GB, free: 18.29 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006305/1.165, allocations: 448.5 kB / 0.8861 GB, free: 18.14 MB / 0.7012 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.00425/1.169, allocations: 1.731 MB / 0.8878 GB, free: 17.89 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.497e-06/1.169, allocations: 3.031 kB / 0.8878 GB, free: 17.89 MB / 0.7012 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001946/1.171, allocations: 0.9332 MB / 0.8887 GB, free: 17.78 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.594e-05/1.171, allocations: 7.625 kB / 0.8887 GB, free: 17.78 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.644e-05/1.171, allocations: 3.672 kB / 0.8887 GB, free: 17.78 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002448/1.172, allocations: 100.8 kB / 0.8888 GB, free: 17.75 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007919/1.172, allocations: 160.5 kB / 0.889 GB, free: 17.75 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004021/1.177, allocations: 4.632 MB / 0.8935 GB, free: 13.73 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001233/1.178, allocations: 43.47 kB / 0.8936 GB, free: 13.72 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001007/1.178, allocations: 28.34 kB / 0.8936 GB, free: 13.72 MB / 0.7012 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.00097/1.179, allocations: 351.9 kB / 0.8939 GB, free: 13.6 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003544/1.179, allocations: 98.31 kB / 0.894 GB, free: 13.55 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004068/1.18, allocations: 108 kB / 0.8941 GB, free: 13.54 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.917e-06/1.18, allocations: 6.188 kB / 0.8941 GB, free: 13.54 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.303e-05/1.18, allocations: 0.6875 kB / 0.8941 GB, free: 13.54 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001435/1.181, allocations: 0.7683 MB / 0.8949 GB, free: 13.27 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004038/1.185, allocations: 1.983 MB / 0.8968 GB, free: 12.84 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.005e-06/1.185, allocations: 3.656 kB / 0.8968 GB, free: 12.84 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007085/1.186, allocations: 151.8 kB / 0.897 GB, free: 12.84 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001047/1.186, allocations: 44.58 kB / 0.897 GB, free: 12.83 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.057e-05/1.186, allocations: 16.19 kB / 0.897 GB, free: 12.83 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001351/1.187, allocations: 1.604 MB / 0.8986 GB, free: 11.48 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/1.187, allocations: 6.812 kB / 0.8986 GB, free: 11.48 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001959/1.189, allocations: 1.232 MB / 0.8998 GB, free: 11.16 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006579/1.19, allocations: 252.9 kB / 0.9 GB, free: 11.02 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002913/1.19, allocations: 17.31 kB / 0.9 GB, free: 11.02 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009403/1.191, allocations: 31.61 kB / 0.9001 GB, free: 11.02 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001239/1.192, allocations: 50.69 kB / 0.9001 GB, free: 11.01 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.458e-05/1.192, allocations: 35.09 kB / 0.9002 GB, free: 11.01 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0009704/1.193, allocations: 0.6132 MB / 0.9008 GB, free: 10.92 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.9e-07/1.193, allocations: 0 / 0.9008 GB, free: 10.92 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001355/1.194, allocations: 302.9 kB / 0.901 GB, free: 10.92 MB / 0.7012 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.0005161/1.194, allocations: 200.1 kB / 0.9012 GB, free: 10.82 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.001594/1.196, allocations: 1.011 MB / 0.9022 GB, free: 10.48 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 8.175e-06/1.196, allocations: 3.188 kB / 0.9022 GB, free: 10.48 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.000578/1.197, allocations: 446.2 kB / 0.9026 GB, free: 10.38 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003081/1.2, allocations: 0.6447 MB / 0.9033 GB, free: 10.3 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003468/1.203, allocations: 2.09 MB / 0.9053 GB, free: 9.48 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009128/1.204, allocations: 1.167 MB / 0.9065 GB, free: 8.777 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001015/1.205, allocations: 254.3 kB / 0.9067 GB, free: 8.742 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002632/1.205, allocations: 81.16 kB / 0.9068 GB, free: 8.734 MB / 0.7012 GB Notification: Performance of SimCode: time 8.22e-07/1.205, allocations: 0.8438 kB / 0.9068 GB, free: 8.734 MB / 0.7012 GB Notification: Performance of Templates: time 0.03456/1.24, allocations: 22.52 MB / 0.9288 GB, free: 4.855 MB / 0.7012 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1)