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.0009091/0.0009092, allocations: 101.7 kB / 16.35 MB, free: 5.824 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.001007/0.001007, allocations: 195 kB / 17.3 MB, free: 5.48 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.245/1.245, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7772/0.7772, allocations: 135.1 MB / 426.3 MB, free: 4.109 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 59.91 kB / 0.5067 GB, free: 7.656 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3372/0.3385, allocations: 80.92 MB / 0.5858 GB, free: 25.5 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.5238/0.8623, allocations: 221.1 MB / 0.8016 GB, free: 1.379 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.007524/0.8699, allocations: 5.722 MB / 0.8072 GB, free: 1.246 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001346/0.8713, allocations: 43.97 kB / 0.8073 GB, free: 1.246 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001316/0.8726, allocations: 0.5756 MB / 0.8078 GB, free: 1.234 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004042/0.8767, allocations: 1.836 MB / 0.8096 GB, free: 1.16 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002752/0.8795, allocations: 1.191 MB / 0.8108 GB, free: 1.121 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003174/0.8826, allocations: 2.938 MB / 0.8136 GB, free: 1.109 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001246/0.8839, allocations: 1.018 MB / 0.8146 GB, free: 1 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001622/0.8855, allocations: 1.068 MB / 0.8157 GB, free: 0.9414 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001697/0.8872, allocations: 0.9386 MB / 0.8166 GB, free: 0.8047 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.00015/0.8874, allocations: 105.7 kB / 0.8167 GB, free: 0.8047 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002515/0.8899, allocations: 1.443 MB / 0.8181 GB, free: 0.7852 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003871/0.8903, allocations: 452.1 kB / 0.8185 GB, free: 0.7422 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006376/0.891, allocations: 0.6493 MB / 0.8192 GB, free: 0.5742 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00253/0.8935, allocations: 2.129 MB / 0.8212 GB, free: 332 kB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.8935, allocations: 0 / 0.8212 GB, free: 332 kB / 0.5762 GB Notification: Performance of FrontEnd: time 1.854e-06/0.8935, allocations: 0 / 0.8212 GB, free: 332 kB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.437e-05/0.8936, allocations: 1.062 kB / 0.8212 GB, free: 332 kB / 0.5762 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.002247/0.8958, allocations: 1.506 MB / 0.8227 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.253e-05/0.8958, allocations: 10.2 kB / 0.8227 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001866/0.8977, allocations: 315.1 kB / 0.823 GB, free: 15.49 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00136/0.8991, allocations: 0.8589 MB / 0.8239 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.154e-05/0.8991, allocations: 69.56 kB / 0.8239 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001112/0.8993, allocations: 85.84 kB / 0.824 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001354/0.9006, allocations: 0.9075 MB / 0.8249 GB, free: 15.1 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.126e-05/0.9007, allocations: 6.125 kB / 0.8249 GB, free: 15.1 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.937e-05/0.9007, allocations: 33.09 kB / 0.8249 GB, free: 15.1 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.452e-05/0.9008, allocations: 39.31 kB / 0.825 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001197/0.902, allocations: 0.8328 MB / 0.8258 GB, free: 15.09 MB / 0.5919 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.004792/0.9068, allocations: 3.506 MB / 0.8292 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007212/0.9075, allocations: 0.4915 MB / 0.8297 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004053/0.9079, allocations: 298.2 kB / 0.83 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001736/0.9081, allocations: 108.4 kB / 0.8301 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.07e-05/0.9082, allocations: 47.06 kB / 0.8301 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=47): time 1.984e-06/0.9082, allocations: 0.7812 kB / 0.8301 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of matching and sorting (n=49): time 0.003393/0.9116, allocations: 1.872 MB / 0.832 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.56e-05/0.9116, allocations: 60.94 kB / 0.832 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008977/0.9125, allocations: 0.8063 MB / 0.8328 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.424e-05/0.9126, allocations: 38.77 kB / 0.8328 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000308/0.9129, allocations: 479.1 kB / 0.8333 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001416/0.913, allocations: 175.7 kB / 0.8335 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001735/0.9132, allocations: 118 kB / 0.8336 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001098/0.9133, allocations: 328 kB / 0.8339 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003934/0.9137, allocations: 243.4 kB / 0.8341 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005162/0.9143, allocations: 384.4 kB / 0.8345 GB, free: 10.32 MB / 0.5919 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.003343/0.9176, allocations: 1.527 MB / 0.836 GB, free: 9.445 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.9176, allocations: 0 / 0.836 GB, free: 9.445 MB / 0.5919 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.00129/0.9189, allocations: 0.7966 MB / 0.8368 GB, free: 9.051 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.919, allocations: 7.5 kB / 0.8368 GB, free: 9.051 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.377e-06/0.919, allocations: 6.812 kB / 0.8368 GB, free: 9.047 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001526/0.9191, allocations: 72.33 kB / 0.8368 GB, free: 9.004 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006284/0.9198, allocations: 141.2 kB / 0.837 GB, free: 8.98 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002274/0.9221, allocations: 3.122 MB / 0.84 GB, free: 5.918 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008258/0.9229, allocations: 29.41 kB / 0.84 GB, free: 5.902 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.879e-05/0.923, allocations: 25.41 kB / 0.8401 GB, free: 5.898 MB / 0.5919 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.0004514/0.9234, allocations: 314.5 kB / 0.8404 GB, free: 5.668 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001386/0.9236, allocations: 91.97 kB / 0.8405 GB, free: 5.621 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001664/0.9237, allocations: 100.4 kB / 0.8406 GB, free: 5.543 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.155e-06/0.9237, allocations: 5.406 kB / 0.8406 GB, free: 5.543 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.9238, allocations: 0 / 0.8406 GB, free: 5.543 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009406/0.9247, allocations: 0.8372 MB / 0.8414 GB, free: 4.867 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002802/0.9275, allocations: 1.793 MB / 0.8431 GB, free: 3.629 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.9275, allocations: 2.938 kB / 0.8431 GB, free: 3.629 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005801/0.9281, allocations: 142.9 kB / 0.8433 GB, free: 3.594 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.66e-05/0.9282, allocations: 37.16 kB / 0.8433 GB, free: 3.574 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.529e-05/0.9283, allocations: 19.03 kB / 0.8433 GB, free: 3.562 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001156/0.9294, allocations: 1.6 MB / 0.8449 GB, free: 2.02 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.322e-06/0.9294, allocations: 9.344 kB / 0.8449 GB, free: 2.016 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001479/0.9309, allocations: 1.095 MB / 0.846 GB, free: 0.957 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004103/0.9313, allocations: 232 kB / 0.8462 GB, free: 0.7109 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001035/0.9315, allocations: 12 kB / 0.8462 GB, free: 0.6992 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006454/0.9321, allocations: 36.72 kB / 0.8462 GB, free: 0.6641 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.302e-05/0.9322, allocations: 47.11 kB / 0.8463 GB, free: 0.6211 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.59e-05/0.9323, allocations: 27.98 kB / 0.8463 GB, free: 0.5938 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0006598/0.9329, allocations: 0.5615 MB / 0.8468 GB, free: 36 kB / 0.5919 GB Notification: Performance of sort global known variables: time 2e-07/0.933, allocations: 0 / 0.8468 GB, free: 36 kB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008141/0.9338, allocations: 272 kB / 0.8471 GB, free: 15.77 MB / 0.6075 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.0003902/0.9342, allocations: 187 kB / 0.8473 GB, free: 15.59 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001234/0.9354, allocations: 0.8184 MB / 0.8481 GB, free: 14.77 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/0.9354, allocations: 0 / 0.8481 GB, free: 14.77 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0005208/0.936, allocations: 407.8 kB / 0.8485 GB, free: 14.37 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002243/0.9382, allocations: 0.6031 MB / 0.8491 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002499/0.9407, allocations: 1.811 MB / 0.8508 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006148/0.9414, allocations: 1.088 MB / 0.8519 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0006473/0.942, allocations: 215.7 kB / 0.8521 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001726/0.9422, allocations: 71.44 kB / 0.8522 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of SimCode: time 2.31e-07/0.9422, allocations: 0 / 0.8522 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of Templates: time 0.03028/0.9725, allocations: 20.03 MB / 0.8717 GB, free: 6.82 MB / 0.6231 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 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe 2>&1)