Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.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.MixingVolumeMoistureReverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow") translateModel(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006501/0.006501, allocations: 103.7 kB / 15.74 MB, free: 5.988 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.001419/0.001419, allocations: 190.1 kB / 16.67 MB, free: 5.914 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.402/1.402, allocations: 222.9 MB / 240.4 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.795/0.795, allocations: 132.2 MB / 422.7 MB, free: 6.586 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00117/0.00117, allocations: 66.67 kB / 0.5814 GB, free: 23.87 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1435/0.1447, allocations: 80.2 MB / 0.6597 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.6253/0.77, allocations: 221.1 MB / 0.8756 GB, free: 8.797 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01063/0.7807, allocations: 5.719 MB / 0.8812 GB, free: 3.062 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002357/0.7831, allocations: 39.81 kB / 0.8812 GB, free: 3.023 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002111/0.7853, allocations: 0.5942 MB / 0.8818 GB, free: 2.426 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.006378/0.7917, allocations: 1.917 MB / 0.8836 GB, free: 0.5 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003845/0.7956, allocations: 1.196 MB / 0.8848 GB, free: 15.32 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.005014/0.8006, allocations: 2.941 MB / 0.8877 GB, free: 12.37 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001989/0.8026, allocations: 1.016 MB / 0.8887 GB, free: 11.34 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003/0.8056, allocations: 1.113 MB / 0.8898 GB, free: 10.22 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003001/0.8086, allocations: 0.9417 MB / 0.8907 GB, free: 9.289 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0004382/0.8091, allocations: 108 kB / 0.8908 GB, free: 9.184 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004077/0.8132, allocations: 1.442 MB / 0.8922 GB, free: 7.738 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0008277/0.814, allocations: 462.8 kB / 0.8926 GB, free: 7.285 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001657/0.8157, allocations: 0.6456 MB / 0.8933 GB, free: 6.637 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.00459/0.8203, allocations: 2.135 MB / 0.8954 GB, free: 4.496 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.8203, allocations: 0 / 0.8954 GB, free: 4.496 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.385e-06/0.8203, allocations: 0 / 0.8954 GB, free: 4.496 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.871e-05/0.8204, allocations: 0 / 0.8954 GB, free: 4.496 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 215 * Number of variables: 215 Notification: Performance of Generate backend data structure: time 0.003797/0.8242, allocations: 1.507 MB / 0.8968 GB, free: 2.938 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/0.8242, allocations: 8.031 kB / 0.8968 GB, free: 2.93 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002303/0.8265, allocations: 314.3 kB / 0.8971 GB, free: 2.621 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001931/0.8285, allocations: 0.863 MB / 0.898 GB, free: 1.715 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.384e-05/0.8286, allocations: 70 kB / 0.898 GB, free: 1.645 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000173/0.8287, allocations: 84 kB / 0.8981 GB, free: 1.562 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001839/0.8306, allocations: 0.9092 MB / 0.899 GB, free: 0.6445 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.336e-05/0.8306, allocations: 3.938 kB / 0.899 GB, free: 0.6406 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.494e-05/0.8307, allocations: 39.94 kB / 0.8991 GB, free: 0.6016 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.273e-05/0.8308, allocations: 33.98 kB / 0.8991 GB, free: 0.5703 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001535/0.8323, allocations: 0.8315 MB / 0.8999 GB, free: 15.74 MB / 0.67 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.005699/0.838, allocations: 3.512 MB / 0.9033 GB, free: 12 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008234/0.8389, allocations: 0.4935 MB / 0.9038 GB, free: 11.5 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004531/0.8393, allocations: 300 kB / 0.9041 GB, free: 11.21 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001912/0.8395, allocations: 109.5 kB / 0.9042 GB, free: 11.09 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.564e-05/0.8396, allocations: 39 kB / 0.9042 GB, free: 11.04 MB / 0.67 GB Notification: Performance of pre-optimization done (n=47): time 1.924e-06/0.8396, allocations: 0 / 0.9042 GB, free: 11.04 MB / 0.67 GB Notification: Performance of matching and sorting (n=49): time 0.003797/0.8434, allocations: 1.872 MB / 0.9061 GB, free: 9.066 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.961e-05/0.8435, allocations: 59.84 kB / 0.9061 GB, free: 8.996 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001094/0.8446, allocations: 0.8097 MB / 0.9069 GB, free: 8.176 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 7.392e-05/0.8446, allocations: 37.7 kB / 0.9069 GB, free: 8.133 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003658/0.845, allocations: 475.3 kB / 0.9074 GB, free: 7.66 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001816/0.8452, allocations: 177.5 kB / 0.9076 GB, free: 7.484 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002126/0.8454, allocations: 122.2 kB / 0.9077 GB, free: 7.359 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001249/0.8456, allocations: 330 kB / 0.908 GB, free: 7.031 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004432/0.846, allocations: 245.2 kB / 0.9082 GB, free: 6.793 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005535/0.8466, allocations: 380.7 kB / 0.9086 GB, free: 6.371 MB / 0.67 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.003513/0.8501, allocations: 1.528 MB / 0.9101 GB, free: 4.781 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.8501, allocations: 3.938 kB / 0.9101 GB, free: 4.777 MB / 0.67 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001344/0.8515, allocations: 0.7807 MB / 0.9109 GB, free: 3.98 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.8515, allocations: 8 kB / 0.9109 GB, free: 3.973 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/0.8515, allocations: 4 kB / 0.9109 GB, free: 3.969 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001728/0.8517, allocations: 69.61 kB / 0.9109 GB, free: 3.895 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006749/0.8524, allocations: 152.1 kB / 0.9111 GB, free: 3.746 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00251/0.8549, allocations: 3.13 MB / 0.9141 GB, free: 344 kB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000864/0.8558, allocations: 27.98 kB / 0.9142 GB, free: 316 kB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.929e-05/0.8558, allocations: 24 kB / 0.9142 GB, free: 292 kB / 0.67 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: 14 * 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): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005101/0.8563, allocations: 311.8 kB / 0.9145 GB, free: 15.97 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001931/0.8565, allocations: 86.97 kB / 0.9146 GB, free: 15.88 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002145/0.8568, allocations: 100.8 kB / 0.9147 GB, free: 15.79 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/0.8568, allocations: 8.047 kB / 0.9147 GB, free: 15.78 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.199e-06/0.8568, allocations: 8 kB / 0.9147 GB, free: 15.77 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001001/0.8578, allocations: 0.831 MB / 0.9155 GB, free: 14.85 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002864/0.8607, allocations: 1.799 MB / 0.9172 GB, free: 12.95 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.8607, allocations: 0 / 0.9172 GB, free: 12.95 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006071/0.8613, allocations: 135.8 kB / 0.9174 GB, free: 12.82 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.607e-05/0.8614, allocations: 32.84 kB / 0.9174 GB, free: 12.79 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.892e-05/0.8615, allocations: 19.98 kB / 0.9174 GB, free: 12.77 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001244/0.8627, allocations: 1.59 MB / 0.919 GB, free: 11.04 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.8627, allocations: 4.031 kB / 0.919 GB, free: 11.04 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001643/0.8644, allocations: 1.093 MB / 0.92 GB, free: 9.883 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004508/0.8648, allocations: 235.9 kB / 0.9203 GB, free: 9.633 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000173/0.865, allocations: 27.98 kB / 0.9203 GB, free: 9.605 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007683/0.8658, allocations: 38.78 kB / 0.9203 GB, free: 9.57 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001158/0.8659, allocations: 35.89 kB / 0.9204 GB, free: 9.535 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.956e-05/0.866, allocations: 31.98 kB / 0.9204 GB, free: 9.504 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.000765/0.8668, allocations: 0.5615 MB / 0.921 GB, free: 8.945 MB / 0.6856 GB Notification: Performance of sort global known variables: time 4.31e-07/0.8668, allocations: 4 kB / 0.921 GB, free: 8.941 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0009151/0.8677, allocations: 275.9 kB / 0.9212 GB, free: 8.672 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.U,volDyn.dynBal.mXi[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 (47): * Single equations (assignments): 46 * 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.0004833/0.8682, allocations: 200.4 kB / 0.9214 GB, free: 8.477 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001369/0.8696, allocations: 0.8004 MB / 0.9222 GB, free: 7.652 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 8.126e-06/0.8696, allocations: 4.812 kB / 0.9222 GB, free: 7.648 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0005698/0.8702, allocations: 410.2 kB / 0.9226 GB, free: 7.238 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002714/0.8729, allocations: 0.5947 MB / 0.9232 GB, free: 6.672 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003042/0.8759, allocations: 1.801 MB / 0.9249 GB, free: 4.801 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007961/0.8768, allocations: 1.091 MB / 0.926 GB, free: 3.68 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0008076/0.8776, allocations: 219.6 kB / 0.9262 GB, free: 3.461 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001964/0.8778, allocations: 67.44 kB / 0.9263 GB, free: 3.395 MB / 0.6856 GB Notification: Performance of SimCode: time 6.62e-07/0.8778, allocations: 0 / 0.9263 GB, free: 3.395 MB / 0.6856 GB Notification: Performance of Templates: time 0.03541/0.9132, allocations: 20.2 MB / 0.946 GB, free: 15.44 MB / 0.7169 GB make -j1 -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.makefile (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.sim & ./IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe 2>&1)