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.001264/0.001264, allocations: 115.5 kB / 17.13 MB, free: 6.004 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.001334/0.001334, allocations: 213.8 kB / 20.1 MB, free: 3.055 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.493/1.493, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] 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.1432/0.1432, allocations: 23.85 MB / 333.4 MB, free: 1.227 MB / 254.1 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.001986/0.001986, allocations: 62.34 kB / 467.1 MB, free: 30.47 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1203/0.1223, allocations: 59.83 MB / 0.5146 GB, free: 12.48 MB / 382.1 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.04231/0.1646, allocations: 26.47 MB / 0.5405 GB, free: 2.055 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01795/0.1825, allocations: 12.38 MB / 0.5526 GB, free: 5.637 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001092/0.1836, allocations: 15.88 kB / 0.5526 GB, free: 5.621 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009195/0.1846, allocations: 289.7 kB / 0.5528 GB, free: 5.336 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003385/0.1879, allocations: 1.051 MB / 0.5539 GB, free: 4.277 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004626/0.1926, allocations: 1.557 MB / 0.5554 GB, free: 2.711 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002294/0.1949, allocations: 1.415 MB / 0.5568 GB, free: 1.289 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009337/0.1958, allocations: 0.6843 MB / 0.5574 GB, free: 0.5781 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008328/0.1966, allocations: 0.6935 MB / 0.5581 GB, free: 15.88 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009645/0.1976, allocations: 0.7278 MB / 0.5588 GB, free: 15.15 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001762/0.1978, allocations: 132 kB / 0.559 GB, free: 15.02 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003697/0.2015, allocations: 1.201 MB / 0.5601 GB, free: 13.82 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003287/0.2018, allocations: 295 kB / 0.5604 GB, free: 13.53 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000763/0.2026, allocations: 0.6494 MB / 0.561 GB, free: 12.88 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005643/0.2082, allocations: 2.716 MB / 0.5637 GB, free: 10.15 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.2082, allocations: 0 / 0.5637 GB, free: 10.15 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.2082, allocations: 0 / 0.5637 GB, free: 10.15 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.877e-05/0.2082, allocations: 0 / 0.5637 GB, free: 10.15 MB / 430.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.003222/0.2115, allocations: 1.661 MB / 0.5653 GB, free: 8.438 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.2115, allocations: 15.97 kB / 0.5653 GB, free: 8.422 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00123/0.2127, allocations: 259.9 kB / 0.5656 GB, free: 8.168 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001054/0.2138, allocations: 0.6262 MB / 0.5662 GB, free: 7.5 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.121e-05/0.2139, allocations: 90.64 kB / 0.5663 GB, free: 7.41 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002012/0.2141, allocations: 120.3 kB / 0.5664 GB, free: 7.293 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002151/0.2162, allocations: 1.206 MB / 0.5676 GB, free: 6.043 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.987e-05/0.2162, allocations: 3.938 kB / 0.5676 GB, free: 6.039 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001152/0.2164, allocations: 44 kB / 0.5676 GB, free: 5.996 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.608e-05/0.2164, allocations: 28 kB / 0.5676 GB, free: 5.969 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002364/0.2187, allocations: 1.328 MB / 0.5689 GB, free: 4.633 MB / 430.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.006846/0.2256, allocations: 4.034 MB / 0.5729 GB, free: 372 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001637/0.2272, allocations: 0.9053 MB / 0.5738 GB, free: 15.45 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006086/0.2278, allocations: 339.7 kB / 0.5741 GB, free: 15.11 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005789/0.2336, allocations: 3.983 MB / 0.578 GB, free: 10.65 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.946e-05/0.2337, allocations: 39.06 kB / 0.578 GB, free: 10.61 MB / 446.1 MB Notification: Performance of pre-optimization done (n=62): time 2.756e-06/0.2337, allocations: 0 / 0.578 GB, free: 10.61 MB / 446.1 MB Notification: Performance of matching and sorting (n=74): time 0.00529/0.239, allocations: 2.111 MB / 0.5801 GB, free: 8.449 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.352e-05/0.239, allocations: 56.06 kB / 0.5801 GB, free: 8.383 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007043/0.2397, allocations: 0.5379 MB / 0.5807 GB, free: 7.832 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.685e-05/0.2398, allocations: 33.7 kB / 0.5807 GB, free: 7.793 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003996/0.2402, allocations: 0.5427 MB / 0.5812 GB, free: 7.242 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002444/0.2404, allocations: 285.6 kB / 0.5815 GB, free: 6.961 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002728/0.2407, allocations: 190.9 kB / 0.5817 GB, free: 6.77 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002059/0.2409, allocations: 382.8 kB / 0.582 GB, free: 6.387 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000456/0.2413, allocations: 226.2 kB / 0.5823 GB, free: 6.164 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007305/0.2421, allocations: 0.5408 MB / 0.5828 GB, free: 5.477 MB / 446.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.00675/0.2488, allocations: 2.117 MB / 0.5849 GB, free: 3.195 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.813e-06/0.2488, allocations: 4 kB / 0.5849 GB, free: 3.191 MB / 446.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.001857/0.2507, allocations: 0.9662 MB / 0.5858 GB, free: 2.215 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.463e-05/0.2507, allocations: 8 kB / 0.5858 GB, free: 2.207 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.738e-05/0.2507, allocations: 12 kB / 0.5858 GB, free: 2.195 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002777/0.251, allocations: 76.81 kB / 0.5859 GB, free: 2.117 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007378/0.2517, allocations: 236 kB / 0.5861 GB, free: 1.887 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001878/0.2536, allocations: 1.723 MB / 0.5878 GB, free: 20 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.2858/0.5395, allocations: 35.03 kB / 0.5878 GB, free: 64.45 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002166/0.5397, allocations: 56.02 kB / 0.5879 GB, free: 64.45 MB / 446.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.0005248/0.5402, allocations: 251.1 kB / 0.5881 GB, free: 64.34 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001799/0.5404, allocations: 76.19 kB / 0.5882 GB, free: 64.34 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001979/0.5424, allocations: 0.8343 MB / 0.589 GB, free: 64.28 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-05/0.5424, allocations: 8.281 kB / 0.589 GB, free: 64.28 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.5424, allocations: 1.125 kB / 0.589 GB, free: 64.28 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.493e-05/0.5424, allocations: 5.297 kB / 0.589 GB, free: 64.28 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003034/0.5454, allocations: 1.751 MB / 0.5907 GB, free: 63.83 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.083e-06/0.5454, allocations: 2.5 kB / 0.5907 GB, free: 63.83 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000751/0.5462, allocations: 190.2 kB / 0.5909 GB, free: 63.83 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002313/0.5464, allocations: 60.81 kB / 0.591 GB, free: 63.82 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.922e-05/0.5465, allocations: 28.64 kB / 0.591 GB, free: 63.82 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001501/0.548, allocations: 1.708 MB / 0.5927 GB, free: 62.35 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.683e-06/0.548, allocations: 7.5 kB / 0.5927 GB, free: 62.34 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002245/0.5502, allocations: 1.178 MB / 0.5938 GB, free: 61.76 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002169/0.5505, allocations: 150.8 kB / 0.594 GB, free: 61.67 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.044e-05/0.5505, allocations: 21.56 kB / 0.594 GB, free: 61.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003324/0.5509, allocations: 20.14 kB / 0.594 GB, free: 61.64 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001659/0.551, allocations: 74.19 kB / 0.5941 GB, free: 61.63 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.182e-05/0.5511, allocations: 40.97 kB / 0.5941 GB, free: 61.62 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005329/0.5516, allocations: 346.3 kB / 0.5945 GB, free: 61.46 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5517, allocations: 0 / 0.5945 GB, free: 61.46 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001621/0.5533, allocations: 458.1 kB / 0.5949 GB, free: 61.42 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.001008/0.5543, allocations: 0.5295 MB / 0.5954 GB, free: 61.3 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001597/0.5559, allocations: 0.7819 MB / 0.5962 GB, free: 60.97 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.5559, allocations: 1.344 kB / 0.5962 GB, free: 60.97 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006494/0.5565, allocations: 448.7 kB / 0.5966 GB, free: 60.75 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009115/0.5574, allocations: 172.8 kB / 0.5968 GB, free: 60.7 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003314/0.5608, allocations: 1.856 MB / 0.5986 GB, free: 59.71 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005357/0.5613, allocations: 1.01 MB / 0.5996 GB, free: 59.01 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004073/0.5617, allocations: 188.2 kB / 0.5997 GB, free: 58.99 MB / 446.1 MB Notification: Performance of SimCode: time 1.182e-06/0.5617, allocations: 0 / 0.5997 GB, free: 58.99 MB / 446.1 MB Notification: Performance of Templates: time 0.02725/0.5889, allocations: 17.82 MB / 0.6171 GB, free: 52.68 MB / 446.1 MB " [Timeout remaining time 659] 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 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.WaterSublimation.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.358243269001832] Failed to read output from testmodel.py, exit status != 0: 0.5963862139906269 0.604730402 0.394420713 Calling exit ...