Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_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.001008/0.001008, allocations: 76.45 kB / 19.9 MB, free: 16 kB / 13.93 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.001185/0.001185, allocations: 170.2 kB / 23.18 MB, free: 1.383 MB / 18.57 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.015/1.015, allocations: 177.2 MB / 203.6 MB, free: 5.781 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo): time 0.1008/0.1008, allocations: 17.38 MB / 277.4 MB, free: 11.89 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/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_Chemical.Obsolete.Examples.WaterSublimation") translateModel(Chemical.Obsolete.Examples.WaterSublimation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_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.0008801/0.0008801, allocations: 67.89 kB / 412.8 MB, free: 15.9 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3172/0.3181, allocations: 59.83 MB / 472.6 MB, free: 29.8 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Obsolete.mo:14337:7-14337: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 2.0.0/Obsolete.mo:14337:7-14337: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.03974/0.3578, allocations: 26.36 MB / 499 MB, free: 19.42 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.01112/0.3689, allocations: 10.93 MB / 0.498 GB, free: 10.77 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001007/0.37, allocations: 15.88 kB / 0.498 GB, free: 10.75 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007541/0.3707, allocations: 262.1 kB / 0.4982 GB, free: 10.55 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003174/0.3739, allocations: 1.037 MB / 0.4993 GB, free: 9.672 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005158/0.379, allocations: 1.58 MB / 0.5008 GB, free: 8.371 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.003042/0.3821, allocations: 1.411 MB / 0.5022 GB, free: 7.098 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001084/0.3832, allocations: 0.6752 MB / 0.5028 GB, free: 6.555 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001126/0.3843, allocations: 1.009 MB / 0.5038 GB, free: 5.719 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008269/0.3851, allocations: 0.6414 MB / 0.5045 GB, free: 5.211 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002012/0.3853, allocations: 132 kB / 0.5046 GB, free: 5.082 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003689/0.389, allocations: 1.133 MB / 0.5057 GB, free: 4.051 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002643/0.3893, allocations: 296.3 kB / 0.506 GB, free: 3.809 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005387/0.3898, allocations: 0.5514 MB / 0.5065 GB, free: 3.305 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006988/0.3968, allocations: 2.722 MB / 0.5092 GB, free: 1.145 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.065e-05/0.3968, allocations: 0 / 0.5092 GB, free: 1.145 MB / 410.7 MB Notification: Performance of FrontEnd: time 4.409e-06/0.3968, allocations: 3.938 kB / 0.5092 GB, free: 1.141 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.612e-05/0.3969, allocations: 0 / 0.5092 GB, free: 1.141 MB / 410.7 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.003504/0.4004, allocations: 1.578 MB / 0.5107 GB, free: 15.68 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.398e-05/0.4005, allocations: 11.97 kB / 0.5107 GB, free: 15.66 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001069/0.4015, allocations: 262.5 kB / 0.511 GB, free: 15.44 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001112/0.4026, allocations: 0.56 MB / 0.5115 GB, free: 14.94 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.234e-05/0.4027, allocations: 86.64 kB / 0.5116 GB, free: 14.85 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001615/0.4029, allocations: 121.1 kB / 0.5117 GB, free: 14.73 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001894/0.4048, allocations: 1.206 MB / 0.5129 GB, free: 13.71 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.349e-05/0.4048, allocations: 0 / 0.5129 GB, free: 13.71 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.921e-05/0.4049, allocations: 48 kB / 0.5129 GB, free: 13.66 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.573e-05/0.4049, allocations: 28 kB / 0.513 GB, free: 13.64 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001839/0.4067, allocations: 1.319 MB / 0.5143 GB, free: 12.49 MB / 426.7 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.004853/0.4116, allocations: 2.938 MB / 0.5171 GB, free: 9.898 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001109/0.4127, allocations: 0.8994 MB / 0.518 GB, free: 9.066 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004181/0.4131, allocations: 346 kB / 0.5183 GB, free: 8.758 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003249/0.4164, allocations: 2.006 MB / 0.5203 GB, free: 7.035 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.786e-05/0.4164, allocations: 35.58 kB / 0.5203 GB, free: 6.988 MB / 426.7 MB Notification: Performance of pre-optimization done (n=62): time 2.605e-06/0.4164, allocations: 4 kB / 0.5203 GB, free: 6.984 MB / 426.7 MB Notification: Performance of matching and sorting (n=74): time 0.003739/0.4201, allocations: 2.037 MB / 0.5223 GB, free: 4.922 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.491e-05/0.4202, allocations: 56.06 kB / 0.5224 GB, free: 4.855 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00051/0.4207, allocations: 0.5025 MB / 0.5229 GB, free: 4.34 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.551e-05/0.4207, allocations: 41.7 kB / 0.5229 GB, free: 4.293 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002689/0.421, allocations: 0.5505 MB / 0.5234 GB, free: 3.734 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001821/0.4212, allocations: 273.6 kB / 0.5237 GB, free: 3.461 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001827/0.4214, allocations: 190.9 kB / 0.5239 GB, free: 3.27 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001527/0.4215, allocations: 382.7 kB / 0.5242 GB, free: 2.887 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003052/0.4218, allocations: 226.2 kB / 0.5245 GB, free: 2.668 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004994/0.4223, allocations: 0.5411 MB / 0.525 GB, free: 1.988 MB / 426.7 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.003975/0.4263, allocations: 2.05 MB / 0.527 GB, free: 15.8 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.4263, allocations: 0 / 0.527 GB, free: 15.8 MB / 442.7 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.001266/0.4276, allocations: 0.9627 MB / 0.5279 GB, free: 14.82 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.55e-05/0.4276, allocations: 15.88 kB / 0.5279 GB, free: 14.81 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.131e-05/0.4276, allocations: 12 kB / 0.528 GB, free: 14.8 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002205/0.4278, allocations: 76.84 kB / 0.528 GB, free: 14.72 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004281/0.4283, allocations: 235.6 kB / 0.5283 GB, free: 14.49 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00129/0.4295, allocations: 1.593 MB / 0.5298 GB, free: 12.79 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003816/0.4299, allocations: 35.98 kB / 0.5298 GB, free: 12.76 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.498e-05/0.43, allocations: 56.06 kB / 0.5299 GB, free: 12.7 MB / 442.7 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.0004638/0.4305, allocations: 250 kB / 0.5301 GB, free: 12.45 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.378e-05/0.4305, allocations: 67.58 kB / 0.5302 GB, free: 12.38 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001184/0.4317, allocations: 0.8375 MB / 0.531 GB, free: 11.53 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.205e-06/0.4317, allocations: 8 kB / 0.531 GB, free: 11.52 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.4317, allocations: 0 / 0.531 GB, free: 11.52 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.816e-06/0.4318, allocations: 7.922 kB / 0.531 GB, free: 11.52 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001944/0.4337, allocations: 1.466 MB / 0.5325 GB, free: 9.977 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.581e-06/0.4337, allocations: 4 kB / 0.5325 GB, free: 9.973 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000418/0.4341, allocations: 183.7 kB / 0.5326 GB, free: 9.793 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001644/0.4343, allocations: 65.05 kB / 0.5327 GB, free: 9.727 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.193e-05/0.4343, allocations: 32.3 kB / 0.5327 GB, free: 9.695 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001157/0.4355, allocations: 1.577 MB / 0.5343 GB, free: 8.016 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.009e-06/0.4355, allocations: 7.984 kB / 0.5343 GB, free: 8.008 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00132/0.4368, allocations: 1.182 MB / 0.5354 GB, free: 6.781 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001503/0.437, allocations: 67.53 kB / 0.5355 GB, free: 6.715 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.294e-05/0.437, allocations: 19.94 kB / 0.5355 GB, free: 6.695 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001826/0.4372, allocations: 19.98 kB / 0.5355 GB, free: 6.676 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000123/0.4373, allocations: 76.48 kB / 0.5356 GB, free: 6.602 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.586e-05/0.4374, allocations: 31.98 kB / 0.5356 GB, free: 6.57 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003174/0.4377, allocations: 318.9 kB / 0.536 GB, free: 6.262 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.4377, allocations: 0 / 0.536 GB, free: 6.262 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001279/0.439, allocations: 458.9 kB / 0.5364 GB, free: 5.812 MB / 442.7 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.0008598/0.4398, allocations: 0.5242 MB / 0.5369 GB, free: 5.277 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001211/0.441, allocations: 0.7898 MB / 0.5377 GB, free: 4.473 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.441, allocations: 0 / 0.5377 GB, free: 4.473 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004546/0.4415, allocations: 446.1 kB / 0.5381 GB, free: 4.027 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006738/0.4422, allocations: 171.4 kB / 0.5383 GB, free: 3.859 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002564/0.4447, allocations: 1.813 MB / 0.54 GB, free: 1.98 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003225/0.445, allocations: 425.5 kB / 0.5404 GB, free: 1.535 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0004877/0.4455, allocations: 205.8 kB / 0.5406 GB, free: 1.332 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001986/0.4457, allocations: 140.4 kB / 0.5408 GB, free: 1.195 MB / 442.7 MB Notification: Performance of SimCode: time 1.052e-06/0.4457, allocations: 0 / 0.5408 GB, free: 1.195 MB / 442.7 MB Notification: Performance of Templates: time 0.01862/0.4644, allocations: 14.63 MB / 0.5551 GB, free: 2.703 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_Chemical.Obsolete.Examples.WaterSublimation.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.WaterSublimation.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.WaterSublimation.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.WaterSublimation.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.WaterSublimation.sim & ./Chemical_Chemical.Obsolete.Examples.WaterSublimation -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.WaterSublimation.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 3.767543712980114] Failed to read output from testmodel.py, exit status != 0: 0.47140097501687706 0.47915209299999995 0.080441908 Calling exit ...