Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") translateModel(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.0009384/0.0009386, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.008478/0.008478, allocations: 169.9 kB / 16.26 MB, free: 6.676 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.429/1.429, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7582/0.7582, allocations: 132.3 MB / 423.8 MB, free: 1.965 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003617/0.0003617, allocations: 8 kB / 0.504 GB, free: 3.918 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4507/0.4511, allocations: 81.58 MB / 0.5837 GB, free: 4.047 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.2343/0.6854, allocations: 185.8 MB / 0.7651 GB, free: 6.07 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0125/0.698, allocations: 5.693 MB / 0.7706 GB, free: 376 kB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002113/0.7002, allocations: 35.75 kB / 0.7707 GB, free: 340 kB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.00206/0.7023, allocations: 0.4896 MB / 0.7711 GB, free: 15.84 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.006286/0.7086, allocations: 1.723 MB / 0.7728 GB, free: 14.11 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003896/0.7125, allocations: 1.087 MB / 0.7739 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.005928/0.7185, allocations: 4.079 MB / 0.7779 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001963/0.7204, allocations: 0.9278 MB / 0.7788 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002325/0.7228, allocations: 0.8672 MB / 0.7796 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002885/0.7257, allocations: 0.9474 MB / 0.7805 GB, free: 6.18 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0004214/0.7261, allocations: 44 kB / 0.7806 GB, free: 6.137 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004304/0.7305, allocations: 1.625 MB / 0.7822 GB, free: 4.508 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.001122/0.7316, allocations: 0.4908 MB / 0.7827 GB, free: 4.016 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001972/0.7336, allocations: 0.6508 MB / 0.7833 GB, free: 3.355 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.00509/0.7387, allocations: 2.321 MB / 0.7856 GB, free: 1.027 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.7387, allocations: 0 / 0.7856 GB, free: 1.027 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.114e-06/0.7387, allocations: 0 / 0.7856 GB, free: 1.027 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.819e-05/0.7388, allocations: 0 / 0.7856 GB, free: 1.027 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.00269/0.7415, allocations: 1.375 MB / 0.7869 GB, free: 15.6 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.63e-05/0.7416, allocations: 12.03 kB / 0.7869 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002171/0.7437, allocations: 330.2 kB / 0.7872 GB, free: 15.26 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001577/0.7453, allocations: 0.8707 MB / 0.7881 GB, free: 14.35 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.175e-05/0.7454, allocations: 77.94 kB / 0.7881 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001625/0.7456, allocations: 96 kB / 0.7882 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002022/0.7476, allocations: 1.093 MB / 0.7893 GB, free: 13.08 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.558e-05/0.7476, allocations: 0 / 0.7893 GB, free: 13.08 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001078/0.7478, allocations: 44 kB / 0.7893 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.436e-05/0.7478, allocations: 45.97 kB / 0.7894 GB, free: 12.99 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001678/0.7495, allocations: 0.9993 MB / 0.7904 GB, free: 11.99 MB / 0.6231 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.006577/0.7561, allocations: 4.258 MB / 0.7945 GB, free: 7.43 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009162/0.757, allocations: 0.5997 MB / 0.7951 GB, free: 6.824 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005177/0.7576, allocations: 343.1 kB / 0.7954 GB, free: 6.488 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002018/0.7578, allocations: 109.5 kB / 0.7955 GB, free: 6.363 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.523e-05/0.7578, allocations: 47 kB / 0.7956 GB, free: 6.309 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=53): time 2.635e-06/0.7578, allocations: 0 / 0.7956 GB, free: 6.309 MB / 0.6231 GB Notification: Performance of matching and sorting (n=55): time 0.004296/0.7621, allocations: 2.228 MB / 0.7978 GB, free: 3.961 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.182e-05/0.7622, allocations: 55.97 kB / 0.7978 GB, free: 3.895 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001153/0.7633, allocations: 0.8882 MB / 0.7987 GB, free: 2.996 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 6.552e-05/0.7634, allocations: 37.7 kB / 0.7987 GB, free: 2.953 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003892/0.7638, allocations: 0.5185 MB / 0.7992 GB, free: 2.426 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001812/0.764, allocations: 197.2 kB / 0.7994 GB, free: 2.23 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.978e-05/0.7641, allocations: 61.69 kB / 0.7995 GB, free: 2.164 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001252/0.7642, allocations: 330 kB / 0.7998 GB, free: 1.836 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005423/0.7648, allocations: 289.8 kB / 0.8001 GB, free: 1.555 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007235/0.7655, allocations: 464.6 kB / 0.8005 GB, free: 1.051 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.004047/0.7696, allocations: 1.765 MB / 0.8022 GB, free: 15.21 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.7696, allocations: 0 / 0.8022 GB, free: 15.21 MB / 0.6387 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001678/0.7713, allocations: 0.9415 MB / 0.8031 GB, free: 14.25 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/0.7713, allocations: 10.34 kB / 0.8032 GB, free: 14.25 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.7713, allocations: 0 / 0.8032 GB, free: 14.25 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002175/0.7716, allocations: 98.67 kB / 0.8033 GB, free: 14.14 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007217/0.7723, allocations: 171.8 kB / 0.8034 GB, free: 13.97 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003574/0.7759, allocations: 4.29 MB / 0.8076 GB, free: 9.289 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001248/0.7771, allocations: 80.66 kB / 0.8077 GB, free: 9.211 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.818e-05/0.7772, allocations: 24 kB / 0.8077 GB, free: 9.188 MB / 0.6387 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.000731/0.778, allocations: 345.5 kB / 0.808 GB, free: 8.84 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001606/0.7781, allocations: 102.8 kB / 0.8081 GB, free: 8.738 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002145/0.7783, allocations: 113.1 kB / 0.8082 GB, free: 8.625 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.625e-06/0.7784, allocations: 8 kB / 0.8082 GB, free: 8.617 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.7784, allocations: 0 / 0.8082 GB, free: 8.617 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001425/0.7798, allocations: 0.777 MB / 0.809 GB, free: 7.789 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003442/0.7833, allocations: 1.996 MB / 0.811 GB, free: 5.691 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.834e-06/0.7833, allocations: 4 kB / 0.811 GB, free: 5.688 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007061/0.784, allocations: 156.2 kB / 0.8111 GB, free: 5.535 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001165/0.7841, allocations: 40.83 kB / 0.8111 GB, free: 5.492 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.782e-05/0.7842, allocations: 23.92 kB / 0.8112 GB, free: 5.469 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00131/0.7855, allocations: 1.488 MB / 0.8126 GB, free: 3.844 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.598e-06/0.7855, allocations: 7.938 kB / 0.8126 GB, free: 3.836 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001837/0.7874, allocations: 1.249 MB / 0.8139 GB, free: 2.523 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004409/0.7878, allocations: 247.9 kB / 0.8141 GB, free: 2.262 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001105/0.7879, allocations: 19.98 kB / 0.8141 GB, free: 2.242 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007909/0.7887, allocations: 70.23 kB / 0.8142 GB, free: 2.176 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001155/0.7888, allocations: 55.81 kB / 0.8142 GB, free: 2.121 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.173e-05/0.7889, allocations: 27.98 kB / 0.8143 GB, free: 2.094 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.000839/0.7898, allocations: 0.6161 MB / 0.8149 GB, free: 1.484 MB / 0.6387 GB Notification: Performance of sort global known variables: time 4.11e-07/0.7898, allocations: 0 / 0.8149 GB, free: 1.484 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001084/0.7909, allocations: 300 kB / 0.8151 GB, free: 1.191 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.0005023/0.7914, allocations: 209 kB / 0.8153 GB, free: 0.9922 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.3577/1.149, allocations: 1.004 MB / 0.8163 GB, free: 218.7 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.508e-05/1.149, allocations: 5.078 kB / 0.8163 GB, free: 218.7 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001077/1.15, allocations: 454.9 kB / 0.8168 GB, free: 218.6 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004165/1.154, allocations: 0.6104 MB / 0.8174 GB, free: 218.6 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00425/1.159, allocations: 2.581 MB / 0.8199 GB, free: 217.4 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009542/1.16, allocations: 1.182 MB / 0.821 GB, free: 216.7 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.00131/1.161, allocations: 258.3 kB / 0.8213 GB, free: 216.7 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002326/1.161, allocations: 76.58 kB / 0.8214 GB, free: 216.7 MB / 0.6387 GB Notification: Performance of SimCode: time 1.503e-06/1.161, allocations: 2.016 kB / 0.8214 GB, free: 216.7 MB / 0.6387 GB Notification: Performance of Templates: time 0.04/1.201, allocations: 21.24 MB / 0.8421 GB, free: 208.4 MB / 0.6387 GB make -j1 -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.makefile (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & ./IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1)