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.00147/0.00147, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001978/0.001978, allocations: 217 kB / 22.25 MB, free: 5.254 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.691/1.691, allocations: 230.6 MB / 256 MB, free: 7.781 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.2033/0.2033, allocations: 23.92 MB / 336.3 MB, free: 10.92 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.002151/0.002151, allocations: 67.89 kB / 471.7 MB, free: 6.961 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3743/0.3764, allocations: 59.88 MB / 0.5191 GB, free: 9.688 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.07553/0.452, allocations: 26.12 MB / 0.5446 GB, free: 13.45 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01799/0.4699, allocations: 10.93 MB / 0.5553 GB, free: 3.523 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001165/0.4711, allocations: 19.88 kB / 0.5553 GB, free: 3.504 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001171/0.4723, allocations: 260.4 kB / 0.5555 GB, free: 3.309 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004412/0.4767, allocations: 1.045 MB / 0.5566 GB, free: 2.418 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005378/0.4821, allocations: 1.564 MB / 0.5581 GB, free: 1.133 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002543/0.4846, allocations: 1.419 MB / 0.5595 GB, free: 15.84 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001449/0.4861, allocations: 0.7023 MB / 0.5602 GB, free: 15.28 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001499/0.4876, allocations: 0.6927 MB / 0.5608 GB, free: 14.65 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001485/0.489, allocations: 0.7266 MB / 0.5615 GB, free: 14.06 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003944/0.4894, allocations: 128 kB / 0.5617 GB, free: 13.93 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003773/0.4932, allocations: 1.154 MB / 0.5628 GB, free: 12.88 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004836/0.4937, allocations: 300.6 kB / 0.5631 GB, free: 12.64 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009883/0.4947, allocations: 0.5475 MB / 0.5636 GB, free: 12.14 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006017/0.5007, allocations: 2.706 MB / 0.5663 GB, free: 9.484 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.5007, allocations: 0 / 0.5663 GB, free: 9.484 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.5007, allocations: 0 / 0.5663 GB, free: 9.484 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.712e-05/0.5008, allocations: 0 / 0.5663 GB, free: 9.484 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.00372/0.5045, allocations: 1.583 MB / 0.5678 GB, free: 7.863 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.5045, allocations: 11.97 kB / 0.5678 GB, free: 7.852 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001272/0.5058, allocations: 263.6 kB / 0.5681 GB, free: 7.594 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001291/0.5071, allocations: 0.5581 MB / 0.5686 GB, free: 7.012 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.848e-05/0.5072, allocations: 82.64 kB / 0.5687 GB, free: 6.93 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002572/0.5074, allocations: 116.3 kB / 0.5688 GB, free: 6.816 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002412/0.5099, allocations: 1.21 MB / 0.57 GB, free: 5.562 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.837e-05/0.5099, allocations: 0 / 0.57 GB, free: 5.562 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001077/0.51, allocations: 44 kB / 0.57 GB, free: 5.52 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.62e-05/0.51, allocations: 28 kB / 0.57 GB, free: 5.492 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00244/0.5125, allocations: 1.324 MB / 0.5713 GB, free: 4.16 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.005985/0.5184, allocations: 2.934 MB / 0.5742 GB, free: 1.148 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00162/0.5201, allocations: 0.8948 MB / 0.5751 GB, free: 252 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006147/0.5207, allocations: 343.7 kB / 0.5754 GB, free: 15.91 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004752/0.5254, allocations: 2.013 MB / 0.5774 GB, free: 13.87 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.075e-05/0.5255, allocations: 39.06 kB / 0.5774 GB, free: 13.82 MB / 430.1 MB Notification: Performance of pre-optimization done (n=62): time 2.174e-06/0.5255, allocations: 4 kB / 0.5774 GB, free: 13.82 MB / 430.1 MB Notification: Performance of matching and sorting (n=74): time 0.005164/0.5306, allocations: 2.029 MB / 0.5794 GB, free: 11.76 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.045e-05/0.5307, allocations: 64.06 kB / 0.5795 GB, free: 11.68 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006778/0.5314, allocations: 0.4909 MB / 0.5799 GB, free: 11.18 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.14e-05/0.5314, allocations: 41.7 kB / 0.58 GB, free: 11.13 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004218/0.5318, allocations: 0.5503 MB / 0.5805 GB, free: 10.57 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002441/0.5321, allocations: 273.7 kB / 0.5808 GB, free: 10.3 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002775/0.5324, allocations: 198.9 kB / 0.581 GB, free: 10.11 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002391/0.5326, allocations: 374.7 kB / 0.5813 GB, free: 9.73 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004665/0.5331, allocations: 230.2 kB / 0.5815 GB, free: 9.508 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007765/0.5338, allocations: 0.5447 MB / 0.5821 GB, free: 8.82 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.006507/0.5403, allocations: 2.042 MB / 0.5841 GB, free: 6.633 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.013e-06/0.5404, allocations: 4 kB / 0.5841 GB, free: 6.629 MB / 430.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.001824/0.5422, allocations: 0.9549 MB / 0.585 GB, free: 5.664 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.841e-05/0.5422, allocations: 19.03 kB / 0.585 GB, free: 5.648 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.691e-05/0.5422, allocations: 11.98 kB / 0.585 GB, free: 5.637 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00026/0.5425, allocations: 68.83 kB / 0.5851 GB, free: 5.566 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007705/0.5433, allocations: 235.6 kB / 0.5853 GB, free: 5.336 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001886/0.5451, allocations: 1.601 MB / 0.5869 GB, free: 3.633 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005101/0.5456, allocations: 28 kB / 0.5869 GB, free: 3.605 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.885e-05/0.5457, allocations: 59.98 kB / 0.587 GB, free: 3.547 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.0004641/0.5462, allocations: 254 kB / 0.5872 GB, free: 3.289 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001305/0.5463, allocations: 67.58 kB / 0.5873 GB, free: 3.223 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001876/0.5482, allocations: 0.8376 MB / 0.5881 GB, free: 2.371 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.085e-06/0.5482, allocations: 4 kB / 0.5881 GB, free: 2.367 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.5482, allocations: 4 kB / 0.5881 GB, free: 2.363 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.394e-05/0.5482, allocations: 11.91 kB / 0.5881 GB, free: 2.352 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002862/0.5511, allocations: 1.481 MB / 0.5896 GB, free: 0.7969 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/0.5511, allocations: 0 / 0.5896 GB, free: 0.7969 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000718/0.5518, allocations: 188 kB / 0.5897 GB, free: 0.6133 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002094/0.552, allocations: 64.81 kB / 0.5898 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.789e-05/0.5521, allocations: 31.98 kB / 0.5898 GB, free: 0.5156 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001743/0.5538, allocations: 1.574 MB / 0.5914 GB, free: 14.84 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.501e-06/0.5538, allocations: 4 kB / 0.5914 GB, free: 14.84 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002137/0.556, allocations: 1.183 MB / 0.5925 GB, free: 13.61 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001596/0.5561, allocations: 63.56 kB / 0.5926 GB, free: 13.55 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.197e-05/0.5562, allocations: 23.94 kB / 0.5926 GB, free: 13.53 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000319/0.5566, allocations: 20 kB / 0.5926 GB, free: 13.51 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001369/0.5567, allocations: 76.41 kB / 0.5927 GB, free: 13.43 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.336e-05/0.5568, allocations: 36 kB / 0.5927 GB, free: 13.4 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004139/0.5572, allocations: 318.9 kB / 0.593 GB, free: 13.09 MB / 446.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.5572, allocations: 0 / 0.593 GB, free: 13.09 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001416/0.5586, allocations: 455 kB / 0.5935 GB, free: 12.64 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.001023/0.5596, allocations: 0.5212 MB / 0.594 GB, free: 12.11 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001605/0.5612, allocations: 0.7814 MB / 0.5947 GB, free: 11.31 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.5612, allocations: 0 / 0.5947 GB, free: 11.31 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000736/0.5619, allocations: 451.4 kB / 0.5952 GB, free: 10.86 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001003/0.563, allocations: 173.4 kB / 0.5953 GB, free: 10.7 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003451/0.5664, allocations: 1.829 MB / 0.5971 GB, free: 8.805 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005277/0.5669, allocations: 425.6 kB / 0.5975 GB, free: 8.359 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006763/0.5676, allocations: 189.8 kB / 0.5977 GB, free: 8.172 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003099/0.5679, allocations: 147.3 kB / 0.5979 GB, free: 8.027 MB / 446.1 MB Notification: Performance of SimCode: time 9.31e-07/0.5679, allocations: 0 / 0.5979 GB, free: 8.027 MB / 446.1 MB Notification: Performance of Templates: time 0.0298/0.5977, allocations: 16.28 MB / 0.6138 GB, free: 7.887 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 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.WaterSublimation.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 6.131851375568658] Failed to read output from testmodel.py, exit status != 0: 0.6074800728820264 0.6241241639999999 0.119986853 Calling exit ...