Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Obsolete.Examples.WaterSublimation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001623/0.001623, allocations: 104.3 kB / 19.7 MB, free: 2.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001553/0.001553, allocations: 211.8 kB / 22.99 MB, free: 4.984 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.472/1.472, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.1359/0.1359, allocations: 23.92 MB / 337.1 MB, free: 10.93 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Chemical.Obsolete.Examples.WaterSublimation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.WaterSublimation") translateModel(Chemical.Obsolete.Examples.WaterSublimation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.WaterSublimation") [Timeout 660] "Notification: Chemical requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002084/0.002084, allocations: 60.19 kB / 472.4 MB, free: 6.98 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3446/0.3467, allocations: 59.88 MB / 0.5198 GB, free: 9.789 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Obsolete.mo:14335:7-14335:66:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Obsolete.mo:14335:7-14335:66:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer \"system\" component but an inner \"system\" component is not defined. For simulation drag Modelica.Fluid.System into your model to specify system properties. Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.WaterSublimation): time 0.0706/0.4173, allocations: 26.04 MB / 0.5452 GB, free: 13.51 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01584/0.4332, allocations: 10.93 MB / 0.5559 GB, free: 3.574 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001039/0.4342, allocations: 15.88 kB / 0.5559 GB, free: 3.559 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008953/0.4351, allocations: 263.1 kB / 0.5562 GB, free: 3.363 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004025/0.4391, allocations: 1.045 MB / 0.5572 GB, free: 2.473 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004679/0.4438, allocations: 1.564 MB / 0.5587 GB, free: 1.188 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002443/0.4462, allocations: 1.419 MB / 0.5601 GB, free: 15.9 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00098/0.4472, allocations: 0.6988 MB / 0.5608 GB, free: 15.34 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008281/0.448, allocations: 0.6927 MB / 0.5615 GB, free: 14.71 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009944/0.449, allocations: 0.7226 MB / 0.5622 GB, free: 14.12 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002749/0.4493, allocations: 128 kB / 0.5623 GB, free: 14 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003376/0.4527, allocations: 1.153 MB / 0.5634 GB, free: 12.95 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003341/0.453, allocations: 300.3 kB / 0.5637 GB, free: 12.7 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006482/0.4537, allocations: 0.552 MB / 0.5643 GB, free: 12.2 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004906/0.4586, allocations: 2.711 MB / 0.5669 GB, free: 9.535 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.4586, allocations: 4 kB / 0.5669 GB, free: 9.531 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.4586, allocations: 0 / 0.5669 GB, free: 9.531 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.77e-05/0.4586, allocations: 0 / 0.5669 GB, free: 9.531 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 287 * Number of variables: 287 Notification: Performance of Generate backend data structure: time 0.002932/0.4615, allocations: 1.583 MB / 0.5685 GB, free: 7.91 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.4616, allocations: 8.031 kB / 0.5685 GB, free: 7.902 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001173/0.4627, allocations: 263.6 kB / 0.5687 GB, free: 7.645 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001135/0.4639, allocations: 0.5581 MB / 0.5693 GB, free: 7.062 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.723e-05/0.464, allocations: 90.62 kB / 0.5693 GB, free: 6.973 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001967/0.4642, allocations: 116.3 kB / 0.5695 GB, free: 6.859 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002049/0.4662, allocations: 1.202 MB / 0.5706 GB, free: 5.613 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.558e-05/0.4662, allocations: 0 / 0.5706 GB, free: 5.613 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001056/0.4663, allocations: 44 kB / 0.5707 GB, free: 5.57 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.415e-05/0.4664, allocations: 31.94 kB / 0.5707 GB, free: 5.539 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002243/0.4686, allocations: 1.317 MB / 0.572 GB, free: 4.215 MB / 414.1 MB 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.005567/0.4742, allocations: 2.93 MB / 0.5748 GB, free: 1.207 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001482/0.4757, allocations: 0.8987 MB / 0.5757 GB, free: 308 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005882/0.4763, allocations: 339.8 kB / 0.5761 GB, free: 15.96 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004414/0.4807, allocations: 2.013 MB / 0.578 GB, free: 13.93 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.132e-05/0.4807, allocations: 42.98 kB / 0.5781 GB, free: 13.88 MB / 430.1 MB Notification: Performance of pre-optimization done (n=62): time 2.475e-06/0.4807, allocations: 3.938 kB / 0.5781 GB, free: 13.88 MB / 430.1 MB Notification: Performance of matching and sorting (n=74): time 0.004879/0.4856, allocations: 2.028 MB / 0.58 GB, free: 11.82 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.854e-05/0.4856, allocations: 60 kB / 0.5801 GB, free: 11.75 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006047/0.4862, allocations: 0.4987 MB / 0.5806 GB, free: 11.23 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.164e-05/0.4863, allocations: 37.7 kB / 0.5806 GB, free: 11.19 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003859/0.4867, allocations: 0.5505 MB / 0.5812 GB, free: 10.63 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002326/0.4869, allocations: 273.7 kB / 0.5814 GB, free: 10.36 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000254/0.4872, allocations: 190.9 kB / 0.5816 GB, free: 10.17 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001941/0.4873, allocations: 386.7 kB / 0.582 GB, free: 9.785 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004501/0.4878, allocations: 226.2 kB / 0.5822 GB, free: 9.566 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007049/0.4885, allocations: 0.5525 MB / 0.5827 GB, free: 8.871 MB / 430.1 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: solid.temperature = solid.temperature_start (gas.temperature_start = solid.temperature_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.006735/0.4952, allocations: 2.042 MB / 0.5847 GB, free: 6.684 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.4952, allocations: 0 / 0.5847 GB, free: 6.684 MB / 430.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.001818/0.4971, allocations: 0.9582 MB / 0.5857 GB, free: 5.715 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.391e-05/0.4971, allocations: 8 kB / 0.5857 GB, free: 5.707 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.592e-05/0.4971, allocations: 12 kB / 0.5857 GB, free: 5.695 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002674/0.4974, allocations: 77.48 kB / 0.5858 GB, free: 5.617 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007393/0.4981, allocations: 243.6 kB / 0.586 GB, free: 5.379 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001822/0.4999, allocations: 1.589 MB / 0.5875 GB, free: 3.688 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005098/0.5004, allocations: 32 kB / 0.5876 GB, free: 3.656 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.273e-05/0.5005, allocations: 59.98 kB / 0.5876 GB, free: 3.598 MB / 430.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: solid.temperature = solid.temperature_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * 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 (119): * Single equations (assignments): 118 * 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): 1 system {(1,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004869/0.501, allocations: 250.1 kB / 0.5879 GB, free: 3.344 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001292/0.5011, allocations: 67.58 kB / 0.5879 GB, free: 3.277 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001777/0.5029, allocations: 0.8337 MB / 0.5887 GB, free: 2.43 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.604e-06/0.5029, allocations: 8 kB / 0.5887 GB, free: 2.422 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.095e-06/0.5029, allocations: 3.938 kB / 0.5888 GB, free: 2.418 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.192e-05/0.5029, allocations: 7.922 kB / 0.5888 GB, free: 2.41 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002623/0.5056, allocations: 1.478 MB / 0.5902 GB, free: 0.8594 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.622e-06/0.5056, allocations: 4 kB / 0.5902 GB, free: 0.8555 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006685/0.5062, allocations: 179.8 kB / 0.5904 GB, free: 0.6797 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002085/0.5065, allocations: 64.81 kB / 0.5904 GB, free: 0.6133 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.246e-05/0.5065, allocations: 24 kB / 0.5905 GB, free: 0.5898 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001629/0.5081, allocations: 1.59 MB / 0.592 GB, free: 14.9 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.633e-06/0.5081, allocations: 8.016 kB / 0.592 GB, free: 14.89 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001927/0.5101, allocations: 1.171 MB / 0.5932 GB, free: 13.68 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001896/0.5103, allocations: 71.47 kB / 0.5932 GB, free: 13.61 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.166e-05/0.5104, allocations: 19.97 kB / 0.5933 GB, free: 13.59 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003208/0.5107, allocations: 24.06 kB / 0.5933 GB, free: 13.57 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001539/0.5108, allocations: 76.47 kB / 0.5933 GB, free: 13.49 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.197e-05/0.5109, allocations: 32 kB / 0.5934 GB, free: 13.46 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004542/0.5114, allocations: 318.9 kB / 0.5937 GB, free: 13.15 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5114, allocations: 0 / 0.5937 GB, free: 13.15 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001691/0.513, allocations: 451 kB / 0.5941 GB, free: 12.71 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 4 (H2O_gaseuous.logn,otherSubstances.logn,H2O_solid.molarEnthalpy,H2O_solid.logn) * 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 (80): * Single equations (assignments): 79 * 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): 1 system {(1,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001042/0.5141, allocations: 0.5172 MB / 0.5946 GB, free: 12.18 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001595/0.5157, allocations: 0.7859 MB / 0.5954 GB, free: 11.38 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.5157, allocations: 0 / 0.5954 GB, free: 11.38 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006656/0.5163, allocations: 454.1 kB / 0.5958 GB, free: 10.92 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000912/0.5173, allocations: 184 kB / 0.596 GB, free: 10.75 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003243/0.5205, allocations: 1.817 MB / 0.5978 GB, free: 8.871 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004627/0.521, allocations: 421.6 kB / 0.5982 GB, free: 8.43 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00064/0.5216, allocations: 201.9 kB / 0.5984 GB, free: 8.23 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000297/0.5219, allocations: 143.3 kB / 0.5985 GB, free: 8.09 MB / 446.1 MB Notification: Performance of SimCode: time 1.172e-06/0.5219, allocations: 3.938 kB / 0.5985 GB, free: 8.086 MB / 446.1 MB Notification: Performance of Templates: time 0.02819/0.5501, allocations: 16.28 MB / 0.6144 GB, free: 7.949 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.WaterSublimation.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.WaterSublimation.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.WaterSublimation.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.WaterSublimation.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.WaterSublimation.sim & ./Chemical_master_Chemical.Obsolete.Examples.WaterSublimation -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.WaterSublimation.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.467726574992412] Failed to read output from testmodel.py, exit status != 0: 0.5590022929973202 0.573428606 0.111690937 Calling exit ...