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.00156/0.00156, allocations: 73.09 kB / 20.66 MB, free: 3.844 MB / 18.57 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.001711/0.001711, allocations: 169 kB / 24.05 MB, free: 460 kB / 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.044/1.044, allocations: 177.1 MB / 204.5 MB, free: 5.516 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.09861/0.09861, allocations: 17.37 MB / 278.4 MB, free: 11.51 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: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 354.7 MB, free: 9.711 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.433e-05/1.57e-05, allocations: 6.25 kB / 354.7 MB, free: 9.703 MB / 282.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.02824/0.02826, allocations: 29.48 MB / 384.1 MB, free: 12.36 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.008378/0.03663, allocations: 8.94 MB / 393.1 MB, free: 3.387 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005944/0.03723, allocations: 15.88 kB / 393.1 MB, free: 3.371 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005528/0.03778, allocations: 234 kB / 393.3 MB, free: 3.141 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001749/0.03953, allocations: 0.9227 MB / 394.2 MB, free: 2.211 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002114/0.04165, allocations: 1.208 MB / 395.5 MB, free: 0.9961 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.00137/0.04302, allocations: 1.453 MB / 396.9 MB, free: 15.54 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006985/0.04371, allocations: 0.7125 MB / 397.6 MB, free: 14.8 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008383/0.04455, allocations: 0.9749 MB / 398.6 MB, free: 13.82 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006708/0.04522, allocations: 0.6001 MB / 399.2 MB, free: 13.22 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001466/0.04537, allocations: 128 kB / 399.3 MB, free: 13.09 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00154/0.04691, allocations: 0.8461 MB / 400.2 MB, free: 12.25 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002069/0.04712, allocations: 310.9 kB / 400.5 MB, free: 11.94 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003745/0.04749, allocations: 483 kB / 400.9 MB, free: 11.47 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002083/0.04957, allocations: 1.949 MB / 402.9 MB, free: 9.512 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.04958, allocations: 0 / 402.9 MB, free: 9.512 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.04958, allocations: 0 / 402.9 MB, free: 9.512 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.895e-05/0.0496, allocations: 4 kB / 402.9 MB, free: 9.508 MB / 330.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.00178/0.05138, allocations: 1.624 MB / 404.5 MB, free: 7.84 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.05142, allocations: 8.031 kB / 404.5 MB, free: 7.832 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007525/0.05217, allocations: 422.7 kB / 404.9 MB, free: 7.418 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006214/0.05279, allocations: 0.564 MB / 405.5 MB, free: 6.824 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.295e-05/0.05284, allocations: 90.64 kB / 405.6 MB, free: 6.734 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001218/0.05297, allocations: 116.4 kB / 405.7 MB, free: 6.621 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009229/0.05389, allocations: 0.8939 MB / 406.6 MB, free: 5.676 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.016e-05/0.05391, allocations: 4.188 kB / 406.6 MB, free: 5.672 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.674e-05/0.05398, allocations: 40.38 kB / 406.6 MB, free: 5.633 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.107e-05/0.054, allocations: 39.92 kB / 406.7 MB, free: 5.594 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008664/0.05486, allocations: 0.7537 MB / 407.4 MB, free: 4.82 MB / 330.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.003227/0.05809, allocations: 2.954 MB / 410.4 MB, free: 1.797 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008531/0.05894, allocations: 0.8667 MB / 411.3 MB, free: 0.9219 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002143/0.05916, allocations: 210.5 kB / 411.5 MB, free: 0.7148 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1435/0.2026, allocations: 1.834 MB / 413.3 MB, free: 48.79 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.704e-05/0.2026, allocations: 46.45 kB / 413.3 MB, free: 48.74 MB / 330.7 MB Notification: Performance of pre-optimization done (n=62): time 2.926e-06/0.2027, allocations: 0 / 413.3 MB, free: 48.74 MB / 330.7 MB Notification: Performance of matching and sorting (n=74): time 0.002491/0.2051, allocations: 1.501 MB / 414.8 MB, free: 48.51 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.379e-05/0.2052, allocations: 59.22 kB / 414.9 MB, free: 48.45 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003779/0.2055, allocations: 0.5274 MB / 415.4 MB, free: 48.25 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3e-05/0.2056, allocations: 41.45 kB / 415.5 MB, free: 48.22 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002424/0.2058, allocations: 0.5995 MB / 416.1 MB, free: 47.91 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001347/0.2059, allocations: 275 kB / 416.3 MB, free: 47.77 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001791/0.2061, allocations: 195.9 kB / 416.5 MB, free: 47.73 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001123/0.2062, allocations: 0.5618 MB / 417.1 MB, free: 47.24 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000163/0.2064, allocations: 114.2 kB / 417.2 MB, free: 47.23 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003097/0.2067, allocations: 0.5711 MB / 417.8 MB, free: 46.68 MB / 330.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.000906/0.2076, allocations: 1.022 MB / 418.8 MB, free: 46.1 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.09e-06/0.2076, allocations: 2.969 kB / 418.8 MB, free: 46.1 MB / 330.7 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.0008723/0.2085, allocations: 0.7661 MB / 419.6 MB, free: 46 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.331e-05/0.2085, allocations: 9.125 kB / 419.6 MB, free: 46 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.275e-05/0.2085, allocations: 14.78 kB / 419.6 MB, free: 46 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000176/0.2087, allocations: 66.91 kB / 419.7 MB, free: 45.99 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004354/0.2091, allocations: 235.9 kB / 419.9 MB, free: 45.99 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008282/0.21, allocations: 1.935 MB / 421.8 MB, free: 44.28 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002838/0.2103, allocations: 35.56 kB / 421.9 MB, free: 44.28 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.146e-05/0.2103, allocations: 53.39 kB / 421.9 MB, free: 44.27 MB / 330.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.000207/0.2105, allocations: 217 kB / 422.1 MB, free: 44.11 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.509e-05/0.2106, allocations: 93.3 kB / 422.2 MB, free: 44.07 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008724/0.2115, allocations: 0.6642 MB / 422.9 MB, free: 44 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.102e-06/0.2115, allocations: 9.688 kB / 422.9 MB, free: 44 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.2115, allocations: 0.875 kB / 422.9 MB, free: 44 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.528e-06/0.2115, allocations: 4.891 kB / 422.9 MB, free: 44 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001449/0.213, allocations: 1.359 MB / 424.2 MB, free: 43.55 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.213, allocations: 4.844 kB / 424.3 MB, free: 43.55 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003857/0.2134, allocations: 181 kB / 424.4 MB, free: 43.55 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001284/0.2135, allocations: 59.19 kB / 424.5 MB, free: 43.54 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.418e-05/0.2135, allocations: 31.36 kB / 424.5 MB, free: 43.54 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006426/0.2142, allocations: 1.902 MB / 426.4 MB, free: 41.84 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.2142, allocations: 12.41 kB / 426.4 MB, free: 41.84 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007971/0.215, allocations: 0.9315 MB / 427.4 MB, free: 41.43 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.135e-05/0.215, allocations: 62.19 kB / 427.4 MB, free: 41.39 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.015e-05/0.2151, allocations: 20.88 kB / 427.4 MB, free: 41.39 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001583/0.2152, allocations: 16.22 kB / 427.5 MB, free: 41.39 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.974e-05/0.2153, allocations: 83.97 kB / 427.5 MB, free: 41.38 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.022e-05/0.2153, allocations: 29.67 kB / 427.6 MB, free: 41.38 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001434/0.2155, allocations: 310.1 kB / 427.9 MB, free: 41.25 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2155, allocations: 0 / 427.9 MB, free: 41.25 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0008663/0.2163, allocations: 398.6 kB / 428.3 MB, free: 41.25 MB / 330.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.0004302/0.2168, allocations: 444.7 kB / 428.7 MB, free: 41.14 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006271/0.2174, allocations: 0.6792 MB / 429.4 MB, free: 40.94 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.2174, allocations: 0 / 429.4 MB, free: 40.94 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002712/0.2177, allocations: 445.3 kB / 429.8 MB, free: 40.75 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005229/0.2182, allocations: 187.7 kB / 430 MB, free: 40.74 MB / 330.7 MB Error: Error parsing unit kDa: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002026/0.2202, allocations: 1.705 MB / 431.7 MB, free: 39.88 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001137/0.2203, allocations: 183.6 kB / 431.9 MB, free: 39.8 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004067/0.2207, allocations: 196.1 kB / 432.1 MB, free: 39.79 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003534/0.2211, allocations: 325.4 kB / 432.4 MB, free: 39.73 MB / 330.7 MB Notification: Performance of SimCode: time 9.42e-07/0.2211, allocations: 2.656 kB / 432.4 MB, free: 39.73 MB / 330.7 MB Notification: Performance of Templates: time 0.01637/0.2375, allocations: 15.6 MB / 448 MB, free: 29.28 MB / 330.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=240 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.WaterSublimation.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5440412340685725]