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.001001/0.001001, allocations: 99.27 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.001296/0.001296, allocations: 182.6 kB / 16.92 MB, free: 6.918 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.424/1.424, allocations: 223.3 MB / 241 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9722/0.9722, allocations: 135.3 MB / 427.4 MB, free: 14.22 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003262/0.0003264, allocations: 9.5 kB / 0.5082 GB, free: 4.77 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1727/0.1731, allocations: 82.31 MB / 0.5886 GB, free: 2.633 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.5078/0.6809, allocations: 185.7 MB / 0.77 GB, free: 2.762 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.009809/0.6908, allocations: 5.709 MB / 0.7756 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001378/0.6922, allocations: 27.81 kB / 0.7756 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001524/0.6937, allocations: 0.4974 MB / 0.7761 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004738/0.6985, allocations: 1.72 MB / 0.7778 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002907/0.7014, allocations: 1.073 MB / 0.7788 GB, free: 9.73 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004711/0.7061, allocations: 4.096 MB / 0.7828 GB, free: 5.621 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001481/0.7076, allocations: 0.9318 MB / 0.7837 GB, free: 4.672 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001744/0.7094, allocations: 0.8633 MB / 0.7846 GB, free: 3.805 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002026/0.7114, allocations: 0.9547 MB / 0.7855 GB, free: 2.852 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001642/0.7116, allocations: 48 kB / 0.7855 GB, free: 2.805 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003162/0.7148, allocations: 1.625 MB / 0.7871 GB, free: 1.176 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0005914/0.7154, allocations: 490.6 kB / 0.7876 GB, free: 0.6953 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0008531/0.7162, allocations: 0.6586 MB / 0.7882 GB, free: 28 kB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002126/0.7184, allocations: 1.734 MB / 0.7899 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.7184, allocations: 0 / 0.7899 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.084e-06/0.7184, allocations: 0 / 0.7899 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.09e-05/0.7184, allocations: 4 kB / 0.7899 GB, free: 14.29 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: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.00226/0.7207, allocations: 1.365 MB / 0.7913 GB, free: 12.87 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.7207, allocations: 12.03 kB / 0.7913 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002027/0.7228, allocations: 330.1 kB / 0.7916 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001335/0.7241, allocations: 0.8669 MB / 0.7924 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.565e-05/0.7242, allocations: 81.94 kB / 0.7925 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001573/0.7244, allocations: 99.94 kB / 0.7926 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001859/0.7262, allocations: 1.085 MB / 0.7937 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.644e-05/0.7263, allocations: 4 kB / 0.7937 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001076/0.7264, allocations: 44 kB / 0.7937 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.68e-05/0.7264, allocations: 37.98 kB / 0.7937 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001651/0.7281, allocations: 1.003 MB / 0.7947 GB, free: 9.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.005974/0.7341, allocations: 4.255 MB / 0.7989 GB, free: 4.719 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008876/0.735, allocations: 0.602 MB / 0.7995 GB, free: 4.109 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005012/0.7355, allocations: 350.5 kB / 0.7998 GB, free: 3.766 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001915/0.7357, allocations: 105.5 kB / 0.7999 GB, free: 3.641 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.991e-05/0.7358, allocations: 39 kB / 0.7999 GB, free: 3.594 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=53): time 2.234e-06/0.7358, allocations: 0 / 0.7999 GB, free: 3.594 MB / 0.6075 GB Notification: Performance of matching and sorting (n=55): time 0.004122/0.7399, allocations: 2.228 MB / 0.8021 GB, free: 1.254 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.406e-05/0.7399, allocations: 59.97 kB / 0.8022 GB, free: 1.184 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001047/0.741, allocations: 0.8842 MB / 0.803 GB, free: 296 kB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.007e-05/0.7411, allocations: 37.7 kB / 0.8031 GB, free: 252 kB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003752/0.7414, allocations: 0.5224 MB / 0.8036 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001689/0.7416, allocations: 193.2 kB / 0.8038 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.266e-05/0.7417, allocations: 61.69 kB / 0.8038 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001276/0.7418, allocations: 334 kB / 0.8041 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004784/0.7423, allocations: 293.8 kB / 0.8044 GB, free: 14.84 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005989/0.7429, allocations: 446.7 kB / 0.8049 GB, free: 14.35 MB / 0.6231 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.003884/0.7468, allocations: 1.769 MB / 0.8066 GB, free: 12.51 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.908e-06/0.7469, allocations: 0 / 0.8066 GB, free: 12.51 MB / 0.6231 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001601/0.7485, allocations: 0.934 MB / 0.8075 GB, free: 11.55 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.205e-05/0.7485, allocations: 11.94 kB / 0.8075 GB, free: 11.54 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.289e-05/0.7485, allocations: 7.203 kB / 0.8075 GB, free: 11.54 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002169/0.7487, allocations: 106.5 kB / 0.8076 GB, free: 11.43 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007247/0.7495, allocations: 175.7 kB / 0.8078 GB, free: 11.25 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003422/0.7529, allocations: 4.278 MB / 0.812 GB, free: 6.578 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001049/0.754, allocations: 74.19 kB / 0.812 GB, free: 6.508 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.184e-05/0.7541, allocations: 28 kB / 0.8121 GB, free: 6.48 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: 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.0006289/0.7547, allocations: 349.5 kB / 0.8124 GB, free: 6.129 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002184/0.7549, allocations: 102.9 kB / 0.8125 GB, free: 6.027 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002427/0.7552, allocations: 109.2 kB / 0.8126 GB, free: 5.918 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.872e-06/0.7552, allocations: 11.94 kB / 0.8126 GB, free: 5.906 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.7552, allocations: 0 / 0.8126 GB, free: 5.906 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001105/0.7563, allocations: 0.7692 MB / 0.8134 GB, free: 5.082 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003428/0.7598, allocations: 2.007 MB / 0.8153 GB, free: 2.973 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.143e-06/0.7598, allocations: 4 kB / 0.8153 GB, free: 2.969 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006866/0.7605, allocations: 160.1 kB / 0.8155 GB, free: 2.812 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.989e-05/0.7606, allocations: 36.83 kB / 0.8155 GB, free: 2.773 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.518e-05/0.7607, allocations: 16 kB / 0.8155 GB, free: 2.758 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001211/0.7619, allocations: 1.491 MB / 0.817 GB, free: 1.129 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.612e-06/0.7619, allocations: 7.984 kB / 0.817 GB, free: 1.121 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001853/0.7638, allocations: 1.246 MB / 0.8182 GB, free: 15.81 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000534/0.7643, allocations: 251.9 kB / 0.8184 GB, free: 15.54 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001727/0.7645, allocations: 19.98 kB / 0.8185 GB, free: 15.52 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008879/0.7654, allocations: 79.33 kB / 0.8185 GB, free: 15.45 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001147/0.7655, allocations: 43.88 kB / 0.8186 GB, free: 15.41 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.699e-05/0.7656, allocations: 31.98 kB / 0.8186 GB, free: 15.38 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0008755/0.7665, allocations: 0.6122 MB / 0.8192 GB, free: 14.77 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.9e-07/0.7665, allocations: 3.938 kB / 0.8192 GB, free: 14.77 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001079/0.7676, allocations: 304 kB / 0.8195 GB, free: 14.47 MB / 0.6387 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.000493/0.7681, allocations: 188.2 kB / 0.8197 GB, free: 14.29 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001647/0.7697, allocations: 1.017 MB / 0.8207 GB, free: 13.23 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.081e-06/0.7698, allocations: 4 kB / 0.8207 GB, free: 13.23 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.00066/0.7704, allocations: 446.3 kB / 0.8211 GB, free: 12.78 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00351/0.7739, allocations: 0.6305 MB / 0.8217 GB, free: 12.17 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003993/0.778, allocations: 2.68 MB / 0.8243 GB, free: 9.418 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000897/0.7789, allocations: 1.166 MB / 0.8255 GB, free: 8.223 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003161/0.7792, allocations: 79.42 kB / 0.8255 GB, free: 8.145 MB / 0.6387 GB Notification: Performance of SimCode: time 4.41e-07/0.7792, allocations: 0 / 0.8255 GB, free: 8.145 MB / 0.6387 GB Notification: Performance of Templates: time 0.03543/0.8147, allocations: 26.87 MB / 0.8518 GB, free: 13.41 MB / 0.67 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)