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.001639/0.001639, 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.001483/0.001483, allocations: 213.5 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.4/1.4, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.1312/0.1312, allocations: 23.92 MB / 337.1 MB, free: 10.95 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.001983/0.001983, allocations: 67.89 kB / 472.4 MB, free: 6.988 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.296/0.2979, allocations: 59.88 MB / 0.5198 GB, free: 9.711 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.07037/0.3683, allocations: 26.03 MB / 0.5452 GB, free: 13.56 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01601/0.3843, allocations: 10.93 MB / 0.5559 GB, free: 3.633 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001195/0.3855, allocations: 15.88 kB / 0.5559 GB, free: 3.617 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008629/0.3864, allocations: 258.5 kB / 0.5562 GB, free: 3.426 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003715/0.3901, allocations: 1.045 MB / 0.5572 GB, free: 2.535 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004635/0.3947, allocations: 1.572 MB / 0.5587 GB, free: 1.242 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002544/0.3973, allocations: 1.419 MB / 0.5601 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001173/0.3984, allocations: 0.7026 MB / 0.5608 GB, free: 15.39 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009871/0.3994, allocations: 0.6845 MB / 0.5615 GB, free: 14.77 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001052/0.4005, allocations: 0.7351 MB / 0.5622 GB, free: 14.17 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002055/0.4007, allocations: 128 kB / 0.5623 GB, free: 14.05 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003563/0.4042, allocations: 1.153 MB / 0.5634 GB, free: 13 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003609/0.4046, allocations: 296.1 kB / 0.5637 GB, free: 12.75 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007144/0.4053, allocations: 0.5473 MB / 0.5643 GB, free: 12.25 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006395/0.4117, allocations: 2.716 MB / 0.5669 GB, free: 9.598 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.4117, allocations: 0 / 0.5669 GB, free: 9.598 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.4117, allocations: 0 / 0.5669 GB, free: 9.598 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.769e-05/0.4117, allocations: 0 / 0.5669 GB, free: 9.598 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.003161/0.4149, allocations: 1.579 MB / 0.5684 GB, free: 7.98 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/0.4149, allocations: 12.03 kB / 0.5685 GB, free: 7.969 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001228/0.4162, allocations: 259.6 kB / 0.5687 GB, free: 7.715 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001083/0.4173, allocations: 0.5581 MB / 0.5693 GB, free: 7.133 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.395e-05/0.4173, allocations: 86.64 kB / 0.5693 GB, free: 7.047 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001994/0.4175, allocations: 124.3 kB / 0.5695 GB, free: 6.926 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002074/0.4196, allocations: 1.194 MB / 0.5706 GB, free: 5.688 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.889e-05/0.4196, allocations: 3.938 kB / 0.5706 GB, free: 5.684 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001092/0.4198, allocations: 55.98 kB / 0.5707 GB, free: 5.629 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.46e-05/0.4198, allocations: 28 kB / 0.5707 GB, free: 5.602 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002264/0.422, allocations: 1.313 MB / 0.572 GB, free: 4.281 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.005927/0.428, allocations: 2.942 MB / 0.5749 GB, free: 1.262 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001567/0.4295, allocations: 0.9022 MB / 0.5757 GB, free: 364 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005868/0.4301, allocations: 339.7 kB / 0.5761 GB, free: 20 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004602/0.4347, allocations: 2.009 MB / 0.578 GB, free: 13.99 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.446e-05/0.4348, allocations: 46.94 kB / 0.5781 GB, free: 13.93 MB / 430.1 MB Notification: Performance of pre-optimization done (n=62): time 2.164e-06/0.4348, allocations: 0 / 0.5781 GB, free: 13.93 MB / 430.1 MB Notification: Performance of matching and sorting (n=74): time 0.005106/0.4399, allocations: 2.033 MB / 0.5801 GB, free: 11.87 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.1e-05/0.4399, allocations: 60.06 kB / 0.5801 GB, free: 11.8 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006058/0.4405, allocations: 0.4987 MB / 0.5806 GB, free: 11.29 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.935e-05/0.4406, allocations: 37.7 kB / 0.5806 GB, free: 11.24 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00038/0.441, allocations: 0.5505 MB / 0.5812 GB, free: 10.68 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002219/0.4412, allocations: 269.7 kB / 0.5814 GB, free: 10.42 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002653/0.4414, allocations: 186.9 kB / 0.5816 GB, free: 10.23 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001921/0.4416, allocations: 386.7 kB / 0.582 GB, free: 9.844 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004371/0.4421, allocations: 226.2 kB / 0.5822 GB, free: 9.625 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007141/0.4428, allocations: 0.5448 MB / 0.5827 GB, free: 8.938 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.007006/0.4498, allocations: 2.046 MB / 0.5847 GB, free: 6.746 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.853e-06/0.4498, allocations: 4 kB / 0.5847 GB, free: 6.742 MB / 430.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.001808/0.4516, allocations: 0.9587 MB / 0.5857 GB, free: 5.773 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.323e-05/0.4516, allocations: 8 kB / 0.5857 GB, free: 5.766 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.677e-05/0.4516, allocations: 12.09 kB / 0.5857 GB, free: 5.754 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002817/0.4519, allocations: 76.81 kB / 0.5858 GB, free: 5.676 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007591/0.4527, allocations: 239.6 kB / 0.586 GB, free: 5.441 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001728/0.4544, allocations: 1.585 MB / 0.5875 GB, free: 3.754 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005015/0.4549, allocations: 35.98 kB / 0.5876 GB, free: 3.719 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.642e-05/0.455, allocations: 60.05 kB / 0.5876 GB, free: 3.66 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.0004245/0.4554, allocations: 254 kB / 0.5879 GB, free: 3.402 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001302/0.4556, allocations: 63.58 kB / 0.5879 GB, free: 3.34 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001887/0.4575, allocations: 0.8375 MB / 0.5887 GB, free: 2.488 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.826e-06/0.4575, allocations: 8 kB / 0.5888 GB, free: 2.48 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.4575, allocations: 4 kB / 0.5888 GB, free: 2.477 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.275e-05/0.4575, allocations: 11.92 kB / 0.5888 GB, free: 2.465 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002668/0.4602, allocations: 1.47 MB / 0.5902 GB, free: 0.9219 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.94e-06/0.4602, allocations: 4 kB / 0.5902 GB, free: 0.918 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007048/0.4609, allocations: 179.8 kB / 0.5904 GB, free: 0.7422 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002302/0.4611, allocations: 65.12 kB / 0.5904 GB, free: 0.6758 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.888e-05/0.4612, allocations: 32 kB / 0.5905 GB, free: 0.6445 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001667/0.4628, allocations: 1.577 MB / 0.592 GB, free: 14.96 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.4628, allocations: 3.938 kB / 0.592 GB, free: 14.96 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001982/0.4648, allocations: 1.179 MB / 0.5932 GB, free: 13.74 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001511/0.465, allocations: 67.47 kB / 0.5932 GB, free: 13.68 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.372e-05/0.465, allocations: 19.94 kB / 0.5932 GB, free: 13.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003305/0.4654, allocations: 23.97 kB / 0.5933 GB, free: 13.63 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000123/0.4655, allocations: 68.55 kB / 0.5933 GB, free: 13.57 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.769e-05/0.4656, allocations: 39.98 kB / 0.5934 GB, free: 13.53 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003773/0.4659, allocations: 318.9 kB / 0.5937 GB, free: 13.22 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4659, allocations: 0 / 0.5937 GB, free: 13.22 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001281/0.4672, allocations: 451 kB / 0.5941 GB, free: 12.78 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.0009309/0.4682, allocations: 0.5173 MB / 0.5946 GB, free: 12.25 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001445/0.4696, allocations: 0.7859 MB / 0.5954 GB, free: 11.44 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.4696, allocations: 0 / 0.5954 GB, free: 11.44 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006535/0.4703, allocations: 450.1 kB / 0.5958 GB, free: 10.99 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008832/0.4711, allocations: 184.8 kB / 0.596 GB, free: 10.82 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003138/0.4743, allocations: 1.833 MB / 0.5978 GB, free: 8.926 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004432/0.4747, allocations: 421.6 kB / 0.5982 GB, free: 8.484 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0007099/0.4754, allocations: 193.8 kB / 0.5984 GB, free: 8.293 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003151/0.4758, allocations: 143.3 kB / 0.5985 GB, free: 8.152 MB / 446.1 MB Notification: Performance of SimCode: time 7.32e-07/0.4758, allocations: 0 / 0.5985 GB, free: 8.152 MB / 446.1 MB Notification: Performance of Templates: time 0.02704/0.5028, allocations: 16.28 MB / 0.6144 GB, free: 8.008 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 gbode -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.WaterSublimation.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.215397720006877] Failed to read output from testmodel.py, exit status != 0: 0.5113010479981313 0.525632867 0.11071694099999994 Calling exit ...