Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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.MixingVolumeMoistureReverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow") translateModel(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.009467/0.009467, allocations: 101.5 kB / 15.88 MB, free: 6.332 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.002046/0.002047, allocations: 197.4 kB / 16.79 MB, free: 6.258 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.388/1.388, allocations: 222.9 MB / 240.5 MB, free: 4.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9849/0.9849, allocations: 135.1 MB / 425.7 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001417/0.001417, allocations: 60.81 kB / 0.5053 GB, free: 5.719 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.179/0.1804, allocations: 80.93 MB / 0.5843 GB, free: 4.957 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.5166/0.697, allocations: 218.8 MB / 0.798 GB, free: 2.461 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01008/0.7071, allocations: 5.774 MB / 0.8037 GB, free: 12.68 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001847/0.709, allocations: 43.75 kB / 0.8037 GB, free: 12.63 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001924/0.711, allocations: 0.4974 MB / 0.8042 GB, free: 12.13 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.005414/0.7165, allocations: 1.735 MB / 0.8059 GB, free: 10.39 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003076/0.7196, allocations: 1.087 MB / 0.8069 GB, free: 9.32 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.004922/0.7245, allocations: 4.081 MB / 0.8109 GB, free: 5.227 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001407/0.7259, allocations: 0.8693 MB / 0.8118 GB, free: 4.34 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00185/0.7278, allocations: 0.9101 MB / 0.8127 GB, free: 3.426 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002495/0.7303, allocations: 0.9738 MB / 0.8136 GB, free: 2.461 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001713/0.7305, allocations: 52 kB / 0.8137 GB, free: 2.41 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003498/0.734, allocations: 1.621 MB / 0.8152 GB, free: 0.7852 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0005276/0.7345, allocations: 414.8 kB / 0.8156 GB, free: 388 kB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0009044/0.7354, allocations: 0.5987 MB / 0.8162 GB, free: 15.77 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002311/0.7378, allocations: 1.594 MB / 0.8178 GB, free: 14.18 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.7378, allocations: 0 / 0.8178 GB, free: 14.18 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.252e-06/0.7378, allocations: 0 / 0.8178 GB, free: 14.18 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.127e-05/0.7378, allocations: 0 / 0.8178 GB, free: 14.18 MB / 0.6387 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.002682/0.7405, allocations: 1.507 MB / 0.8193 GB, free: 12.62 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.666e-05/0.7406, allocations: 8.031 kB / 0.8193 GB, free: 12.61 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002056/0.7426, allocations: 318.3 kB / 0.8196 GB, free: 12.3 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00139/0.744, allocations: 0.8201 MB / 0.8204 GB, free: 11.44 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.364e-05/0.7441, allocations: 62 kB / 0.8204 GB, free: 11.38 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001291/0.7442, allocations: 91.98 kB / 0.8205 GB, free: 11.29 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001649/0.7459, allocations: 0.9209 MB / 0.8214 GB, free: 10.36 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.307e-05/0.7459, allocations: 0 / 0.8214 GB, free: 10.36 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.935e-05/0.746, allocations: 36 kB / 0.8214 GB, free: 10.32 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.175e-05/0.7461, allocations: 33.94 kB / 0.8215 GB, free: 10.29 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00143/0.7475, allocations: 0.8431 MB / 0.8223 GB, free: 9.449 MB / 0.6387 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.005632/0.7532, allocations: 3.52 MB / 0.8257 GB, free: 5.707 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008269/0.754, allocations: 0.4986 MB / 0.8262 GB, free: 5.203 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004483/0.7545, allocations: 297.6 kB / 0.8265 GB, free: 4.914 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002053/0.7547, allocations: 109.5 kB / 0.8266 GB, free: 4.789 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.379e-05/0.7547, allocations: 42.94 kB / 0.8267 GB, free: 4.734 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=47): time 2.415e-06/0.7547, allocations: 0 / 0.8267 GB, free: 4.734 MB / 0.6387 GB Notification: Performance of matching and sorting (n=49): time 0.00382/0.7586, allocations: 1.88 MB / 0.8285 GB, free: 2.758 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.499e-05/0.7586, allocations: 55.84 kB / 0.8285 GB, free: 2.691 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001022/0.7596, allocations: 0.8019 MB / 0.8293 GB, free: 1.879 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 6.011e-05/0.7597, allocations: 41.7 kB / 0.8294 GB, free: 1.832 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003643/0.7601, allocations: 475.2 kB / 0.8298 GB, free: 1.363 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001583/0.7602, allocations: 173.6 kB / 0.83 GB, free: 1.191 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001868/0.7604, allocations: 118.2 kB / 0.8301 GB, free: 1.07 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001407/0.7606, allocations: 334 kB / 0.8304 GB, free: 0.7383 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004246/0.761, allocations: 241.2 kB / 0.8307 GB, free: 0.5039 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005197/0.7615, allocations: 388.6 kB / 0.831 GB, free: 80 kB / 0.6387 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.003601/0.7652, allocations: 1.52 MB / 0.8325 GB, free: 14.5 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/0.7652, allocations: 4 kB / 0.8325 GB, free: 14.5 MB / 0.6544 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001386/0.7666, allocations: 0.7926 MB / 0.8333 GB, free: 13.69 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.218e-05/0.7666, allocations: 8 kB / 0.8333 GB, free: 13.68 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/0.7666, allocations: 4 kB / 0.8333 GB, free: 13.68 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001775/0.7668, allocations: 69.67 kB / 0.8334 GB, free: 13.61 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006578/0.7675, allocations: 147.8 kB / 0.8335 GB, free: 13.46 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002326/0.7698, allocations: 2.885 MB / 0.8363 GB, free: 10.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009663/0.7708, allocations: 71.83 kB / 0.8364 GB, free: 10.23 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.974e-05/0.7708, allocations: 20 kB / 0.8364 GB, free: 10.21 MB / 0.6544 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.0005091/0.7714, allocations: 297.6 kB / 0.8367 GB, free: 9.914 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001546/0.7715, allocations: 90.97 kB / 0.8368 GB, free: 9.824 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001725/0.7717, allocations: 100.7 kB / 0.8369 GB, free: 9.723 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.905e-06/0.7717, allocations: 7.938 kB / 0.8369 GB, free: 9.715 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.7717, allocations: 4 kB / 0.8369 GB, free: 9.711 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009844/0.7727, allocations: 0.831 MB / 0.8377 GB, free: 8.793 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002722/0.7755, allocations: 1.798 MB / 0.8395 GB, free: 6.895 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.242e-06/0.7755, allocations: 4 kB / 0.8395 GB, free: 6.891 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006109/0.7761, allocations: 135.8 kB / 0.8396 GB, free: 6.758 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.746e-05/0.7762, allocations: 36.84 kB / 0.8396 GB, free: 6.719 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.897e-05/0.7762, allocations: 19.98 kB / 0.8396 GB, free: 6.699 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001134/0.7774, allocations: 1.476 MB / 0.8411 GB, free: 5.094 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.167e-06/0.7774, allocations: 4 kB / 0.8411 GB, free: 5.09 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001577/0.779, allocations: 1.088 MB / 0.8421 GB, free: 3.941 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004407/0.7794, allocations: 239.8 kB / 0.8424 GB, free: 3.688 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001422/0.7796, allocations: 15.94 kB / 0.8424 GB, free: 3.672 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007955/0.7804, allocations: 56.62 kB / 0.8424 GB, free: 3.617 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001148/0.7805, allocations: 51.81 kB / 0.8425 GB, free: 3.566 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.653e-05/0.7806, allocations: 31.98 kB / 0.8425 GB, free: 3.535 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0007614/0.7814, allocations: 0.5537 MB / 0.8431 GB, free: 2.988 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7814, allocations: 0 / 0.8431 GB, free: 2.988 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0009472/0.7823, allocations: 276 kB / 0.8433 GB, free: 2.719 MB / 0.6544 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.0004708/0.7828, allocations: 199.2 kB / 0.8435 GB, free: 2.52 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001403/0.7842, allocations: 0.7981 MB / 0.8443 GB, free: 1.699 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 7.154e-06/0.7842, allocations: 7.938 kB / 0.8443 GB, free: 1.691 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0005844/0.7848, allocations: 404.5 kB / 0.8447 GB, free: 1.285 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00273/0.7876, allocations: 0.5733 MB / 0.8453 GB, free: 0.7266 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003382/0.791, allocations: 2.242 MB / 0.8474 GB, free: 14.41 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007555/0.7917, allocations: 1.087 MB / 0.8485 GB, free: 13.3 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002637/0.792, allocations: 71.44 kB / 0.8486 GB, free: 13.23 MB / 0.67 GB Notification: Performance of SimCode: time 5.82e-07/0.792, allocations: 0 / 0.8486 GB, free: 13.23 MB / 0.67 GB Notification: Performance of Templates: time 0.2963/1.088, allocations: 21.96 MB / 0.87 GB, free: 219.9 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.makefile (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.sim & ./IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe 2>&1)