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.001324/0.001324, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001684/0.001684, allocations: 211.8 kB / 22.99 MB, free: 4.957 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.456/1.456, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.1391/0.1391, allocations: 23.88 MB / 337.1 MB, free: 10.98 MB / 270.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.001981/0.001981, allocations: 67.89 kB / 472.4 MB, free: 7.023 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3472/0.3492, allocations: 59.86 MB / 0.5197 GB, free: 10.04 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.07316/0.4223, allocations: 26.04 MB / 0.5452 GB, free: 13.76 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01703/0.4394, allocations: 10.93 MB / 0.5558 GB, free: 3.832 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001284/0.4406, allocations: 19.81 kB / 0.5559 GB, free: 3.812 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000975/0.4416, allocations: 258.8 kB / 0.5561 GB, free: 3.621 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003498/0.4451, allocations: 1.041 MB / 0.5571 GB, free: 2.734 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004693/0.4498, allocations: 1.576 MB / 0.5587 GB, free: 1.438 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00246/0.4523, allocations: 1.415 MB / 0.56 GB, free: 160 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001151/0.4534, allocations: 0.695 MB / 0.5607 GB, free: 15.59 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009327/0.4543, allocations: 0.6846 MB / 0.5614 GB, free: 14.98 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001044/0.4554, allocations: 0.7347 MB / 0.5621 GB, free: 14.38 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001986/0.4556, allocations: 128 kB / 0.5622 GB, free: 14.25 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003787/0.4594, allocations: 1.161 MB / 0.5634 GB, free: 13.19 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003704/0.4597, allocations: 292.2 kB / 0.5636 GB, free: 12.95 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007069/0.4605, allocations: 0.5438 MB / 0.5642 GB, free: 12.46 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006752/0.4672, allocations: 2.72 MB / 0.5668 GB, free: 9.789 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.4672, allocations: 0 / 0.5668 GB, free: 9.789 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.464e-06/0.4672, allocations: 0 / 0.5668 GB, free: 9.789 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.177e-05/0.4672, allocations: 0 / 0.5668 GB, free: 9.789 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.003236/0.4705, allocations: 1.579 MB / 0.5684 GB, free: 8.172 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.4705, allocations: 11.97 kB / 0.5684 GB, free: 8.16 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001132/0.4716, allocations: 259.9 kB / 0.5686 GB, free: 7.906 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001104/0.4727, allocations: 0.5581 MB / 0.5692 GB, free: 7.324 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.887e-05/0.4728, allocations: 82.64 kB / 0.5693 GB, free: 7.242 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000208/0.473, allocations: 120.3 kB / 0.5694 GB, free: 7.125 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002133/0.4752, allocations: 1.206 MB / 0.5706 GB, free: 5.875 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.656e-05/0.4752, allocations: 4 kB / 0.5706 GB, free: 5.871 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001086/0.4753, allocations: 44 kB / 0.5706 GB, free: 5.828 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.678e-05/0.4753, allocations: 28 kB / 0.5706 GB, free: 5.801 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002301/0.4776, allocations: 1.32 MB / 0.5719 GB, free: 4.473 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.006052/0.4837, allocations: 2.93 MB / 0.5748 GB, free: 1.465 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001567/0.4852, allocations: 0.9048 MB / 0.5757 GB, free: 0.5547 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005986/0.4858, allocations: 335.7 kB / 0.576 GB, free: 228 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00469/0.4905, allocations: 2.009 MB / 0.5779 GB, free: 14.19 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.44e-05/0.4906, allocations: 39.06 kB / 0.578 GB, free: 14.14 MB / 430.1 MB Notification: Performance of pre-optimization done (n=62): time 2.023e-06/0.4906, allocations: 0 / 0.578 GB, free: 14.14 MB / 430.1 MB Notification: Performance of matching and sorting (n=74): time 0.005148/0.4957, allocations: 2.037 MB / 0.58 GB, free: 12.07 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.404e-05/0.4958, allocations: 64.06 kB / 0.58 GB, free: 12 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006394/0.4964, allocations: 0.4986 MB / 0.5805 GB, free: 11.49 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.738e-05/0.4965, allocations: 45.7 kB / 0.5806 GB, free: 11.44 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004152/0.4969, allocations: 0.5466 MB / 0.5811 GB, free: 10.88 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002354/0.4971, allocations: 269.7 kB / 0.5814 GB, free: 10.62 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002756/0.4974, allocations: 190.9 kB / 0.5815 GB, free: 10.43 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002278/0.4976, allocations: 378.7 kB / 0.5819 GB, free: 10.05 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004385/0.4981, allocations: 226.2 kB / 0.5821 GB, free: 9.828 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007628/0.4988, allocations: 0.5487 MB / 0.5826 GB, free: 9.137 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.006908/0.5057, allocations: 2.046 MB / 0.5846 GB, free: 6.945 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/0.5057, allocations: 0 / 0.5846 GB, free: 6.945 MB / 430.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.001824/0.5076, allocations: 0.9549 MB / 0.5856 GB, free: 5.98 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.474e-05/0.5076, allocations: 12 kB / 0.5856 GB, free: 5.969 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.457e-05/0.5076, allocations: 12.09 kB / 0.5856 GB, free: 5.957 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002769/0.5079, allocations: 88.78 kB / 0.5857 GB, free: 5.867 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007351/0.5086, allocations: 231.6 kB / 0.5859 GB, free: 5.641 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001732/0.5104, allocations: 1.593 MB / 0.5875 GB, free: 3.945 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000499/0.5108, allocations: 31.98 kB / 0.5875 GB, free: 3.914 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.135e-05/0.5109, allocations: 60.06 kB / 0.5875 GB, free: 3.855 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.0004419/0.5114, allocations: 250 kB / 0.5878 GB, free: 3.602 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001278/0.5115, allocations: 71.52 kB / 0.5879 GB, free: 3.531 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001846/0.5134, allocations: 0.8375 MB / 0.5887 GB, free: 2.68 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.636e-06/0.5134, allocations: 8 kB / 0.5887 GB, free: 2.672 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.5134, allocations: 0 / 0.5887 GB, free: 2.672 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.171e-05/0.5134, allocations: 7.922 kB / 0.5887 GB, free: 2.664 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002647/0.516, allocations: 1.47 MB / 0.5901 GB, free: 1.121 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.516e-06/0.516, allocations: 4 kB / 0.5901 GB, free: 1.117 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000672/0.5167, allocations: 179.8 kB / 0.5903 GB, free: 0.9414 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002014/0.5169, allocations: 57.14 kB / 0.5904 GB, free: 0.8828 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.976e-05/0.517, allocations: 47.92 kB / 0.5904 GB, free: 0.8359 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001621/0.5186, allocations: 1.574 MB / 0.5919 GB, free: 15.16 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.555e-06/0.5186, allocations: 11.97 kB / 0.5919 GB, free: 15.15 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001823/0.5204, allocations: 1.183 MB / 0.5931 GB, free: 13.93 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001536/0.5206, allocations: 71.47 kB / 0.5932 GB, free: 13.86 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.255e-05/0.5207, allocations: 23.94 kB / 0.5932 GB, free: 13.83 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003176/0.521, allocations: 19.98 kB / 0.5932 GB, free: 13.81 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001351/0.5211, allocations: 68.55 kB / 0.5933 GB, free: 13.75 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.464e-05/0.5212, allocations: 39.92 kB / 0.5933 GB, free: 13.71 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004036/0.5216, allocations: 318.9 kB / 0.5936 GB, free: 13.4 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5216, allocations: 0 / 0.5936 GB, free: 13.4 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001337/0.5229, allocations: 455 kB / 0.5941 GB, free: 12.95 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.0008997/0.5238, allocations: 0.5247 MB / 0.5946 GB, free: 12.42 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001397/0.5252, allocations: 0.7781 MB / 0.5953 GB, free: 11.62 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.5252, allocations: 0 / 0.5953 GB, free: 11.62 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006446/0.5259, allocations: 454 kB / 0.5958 GB, free: 11.17 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000828/0.5267, allocations: 171.7 kB / 0.5959 GB, free: 11.01 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002952/0.5296, allocations: 1.817 MB / 0.5977 GB, free: 9.133 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004328/0.5301, allocations: 425.6 kB / 0.5981 GB, free: 8.688 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000603/0.5307, allocations: 201.8 kB / 0.5983 GB, free: 8.488 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00028/0.531, allocations: 143.3 kB / 0.5984 GB, free: 8.348 MB / 446.1 MB Notification: Performance of SimCode: time 5.61e-07/0.531, allocations: 0 / 0.5984 GB, free: 8.348 MB / 446.1 MB Notification: Performance of Templates: time 0.02696/0.5579, allocations: 16.28 MB / 0.6143 GB, free: 8.207 MB / 462.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 -s cvode -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.WaterSublimation.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.40453452100337] Failed to read output from testmodel.py, exit status != 0: 0.5666781979962252 0.580945311 0.110662669 Calling exit ...