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.00127/0.00127, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001466/0.001466, allocations: 212.3 kB / 22.25 MB, free: 5.086 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.348/1.348, allocations: 230.6 MB / 256 MB, free: 8.031 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.1296/0.1296, allocations: 23.85 MB / 336.3 MB, free: 11.24 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.001958/0.001958, allocations: 75.02 kB / 471.6 MB, free: 7.242 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.286/0.2879, allocations: 59.86 MB / 0.519 GB, free: 9.836 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.03849/0.3264, allocations: 26.68 MB / 0.5451 GB, free: 13.21 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01704/0.3435, allocations: 12.41 MB / 0.5572 GB, free: 1.789 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009266/0.3444, allocations: 23.81 kB / 0.5572 GB, free: 1.766 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009213/0.3453, allocations: 286.1 kB / 0.5575 GB, free: 1.547 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003096/0.3484, allocations: 1.056 MB / 0.5586 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004167/0.3526, allocations: 1.58 MB / 0.5601 GB, free: 15.34 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00206/0.3546, allocations: 1.419 MB / 0.5615 GB, free: 14.06 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000874/0.3555, allocations: 0.693 MB / 0.5622 GB, free: 13.5 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007587/0.3563, allocations: 0.6801 MB / 0.5628 GB, free: 12.88 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009853/0.3572, allocations: 0.7346 MB / 0.5635 GB, free: 12.28 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000169/0.3574, allocations: 124 kB / 0.5637 GB, free: 12.16 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003264/0.3607, allocations: 1.209 MB / 0.5648 GB, free: 11.07 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002866/0.361, allocations: 288.7 kB / 0.5651 GB, free: 10.83 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006471/0.3616, allocations: 0.6486 MB / 0.5657 GB, free: 10.23 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004396/0.366, allocations: 2.718 MB / 0.5684 GB, free: 7.594 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.366, allocations: 0 / 0.5684 GB, free: 7.594 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.366, allocations: 4 kB / 0.5684 GB, free: 7.59 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.245e-05/0.366, allocations: 3.984 kB / 0.5684 GB, free: 7.586 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.002733/0.3688, allocations: 1.579 MB / 0.57 GB, free: 5.969 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.3688, allocations: 8.031 kB / 0.57 GB, free: 5.961 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001014/0.3698, allocations: 263.9 kB / 0.5702 GB, free: 5.703 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009537/0.3708, allocations: 0.562 MB / 0.5708 GB, free: 5.117 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.128e-05/0.3708, allocations: 86.64 kB / 0.5708 GB, free: 5.031 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001775/0.371, allocations: 116.3 kB / 0.571 GB, free: 4.918 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001882/0.3729, allocations: 1.202 MB / 0.5721 GB, free: 3.672 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.473e-05/0.3729, allocations: 0 / 0.5721 GB, free: 3.672 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.81e-05/0.373, allocations: 44 kB / 0.5722 GB, free: 3.629 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.547e-05/0.3731, allocations: 28 kB / 0.5722 GB, free: 3.602 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002107/0.3752, allocations: 1.34 MB / 0.5735 GB, free: 2.254 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.00586/0.381, allocations: 3.961 MB / 0.5774 GB, free: 14.06 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001474/0.3825, allocations: 0.9024 MB / 0.5783 GB, free: 13.15 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005661/0.3831, allocations: 343.7 kB / 0.5786 GB, free: 12.81 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004327/0.3874, allocations: 2.119 MB / 0.5806 GB, free: 10.67 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.447e-05/0.3874, allocations: 39.06 kB / 0.5807 GB, free: 10.62 MB / 430.1 MB Notification: Performance of pre-optimization done (n=62): time 2.525e-06/0.3874, allocations: 0 / 0.5807 GB, free: 10.62 MB / 430.1 MB Notification: Performance of matching and sorting (n=74): time 0.004591/0.392, allocations: 2.048 MB / 0.5827 GB, free: 8.539 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.746e-05/0.3921, allocations: 60.06 kB / 0.5827 GB, free: 8.469 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006081/0.3927, allocations: 0.5263 MB / 0.5833 GB, free: 7.93 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.564e-05/0.3927, allocations: 37.7 kB / 0.5833 GB, free: 7.887 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003698/0.3931, allocations: 0.5466 MB / 0.5838 GB, free: 7.332 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002125/0.3933, allocations: 269.7 kB / 0.5841 GB, free: 7.066 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002342/0.3935, allocations: 194.9 kB / 0.5843 GB, free: 6.871 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001909/0.3937, allocations: 382.8 kB / 0.5846 GB, free: 6.488 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004185/0.3941, allocations: 230.2 kB / 0.5849 GB, free: 6.266 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006728/0.3948, allocations: 0.5448 MB / 0.5854 GB, free: 5.578 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.006103/0.4009, allocations: 2.046 MB / 0.5874 GB, free: 3.387 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.846e-06/0.4009, allocations: 4 kB / 0.5874 GB, free: 3.383 MB / 430.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.00166/0.4026, allocations: 0.9586 MB / 0.5883 GB, free: 2.414 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.348e-05/0.4026, allocations: 16.22 kB / 0.5883 GB, free: 2.398 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.335e-05/0.4026, allocations: 8 kB / 0.5883 GB, free: 2.391 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002425/0.4029, allocations: 72.81 kB / 0.5884 GB, free: 2.316 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007345/0.4036, allocations: 239.6 kB / 0.5886 GB, free: 2.082 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001673/0.4053, allocations: 1.62 MB / 0.5902 GB, free: 356 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004548/0.4057, allocations: 39.92 kB / 0.5903 GB, free: 316 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.817e-05/0.4058, allocations: 52 kB / 0.5903 GB, free: 264 kB / 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.0004208/0.4062, allocations: 265.6 kB / 0.5906 GB, free: 15.98 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001212/0.4063, allocations: 79.47 kB / 0.5906 GB, free: 15.91 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001693/0.408, allocations: 0.8342 MB / 0.5915 GB, free: 15.06 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.448e-06/0.408, allocations: 11.94 kB / 0.5915 GB, free: 15.05 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.4081, allocations: 0 / 0.5915 GB, free: 15.05 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.607e-06/0.4081, allocations: 3.984 kB / 0.5915 GB, free: 15.04 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002651/0.4107, allocations: 1.726 MB / 0.5932 GB, free: 13.22 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.503e-06/0.4107, allocations: 4 kB / 0.5932 GB, free: 13.22 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006486/0.4114, allocations: 183.8 kB / 0.5933 GB, free: 13.04 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001866/0.4116, allocations: 56.83 kB / 0.5934 GB, free: 12.98 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.839e-05/0.4116, allocations: 39.91 kB / 0.5934 GB, free: 12.94 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00156/0.4132, allocations: 1.604 MB / 0.595 GB, free: 11.22 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.4132, allocations: 7.938 kB / 0.595 GB, free: 11.21 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001801/0.415, allocations: 1.19 MB / 0.5962 GB, free: 9.984 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001273/0.4151, allocations: 75.52 kB / 0.5962 GB, free: 9.91 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.521e-05/0.4152, allocations: 19.94 kB / 0.5963 GB, free: 9.891 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003131/0.4155, allocations: 24 kB / 0.5963 GB, free: 9.867 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001276/0.4156, allocations: 80.47 kB / 0.5964 GB, free: 9.789 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.442e-05/0.4157, allocations: 31.98 kB / 0.5964 GB, free: 9.758 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003958/0.4161, allocations: 350.8 kB / 0.5967 GB, free: 9.418 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4161, allocations: 3.938 kB / 0.5967 GB, free: 9.414 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001198/0.4173, allocations: 455 kB / 0.5972 GB, free: 8.969 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.0008236/0.4181, allocations: 0.5095 MB / 0.5977 GB, free: 8.445 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001338/0.4194, allocations: 0.7859 MB / 0.5984 GB, free: 7.641 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.4194, allocations: 0 / 0.5984 GB, free: 7.641 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006276/0.4201, allocations: 450.1 kB / 0.5989 GB, free: 7.191 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008131/0.4209, allocations: 180.8 kB / 0.599 GB, free: 7.023 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002889/0.4238, allocations: 1.825 MB / 0.6008 GB, free: 5.137 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006295/0.4244, allocations: 1.009 MB / 0.6018 GB, free: 4.102 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005952/0.425, allocations: 210.2 kB / 0.602 GB, free: 3.895 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002621/0.4253, allocations: 143.3 kB / 0.6021 GB, free: 3.754 MB / 446.1 MB Notification: Performance of SimCode: time 2.91e-07/0.4253, allocations: 0 / 0.6021 GB, free: 3.754 MB / 446.1 MB Notification: Performance of Templates: time 0.02772/0.453, allocations: 15.53 MB / 0.6173 GB, free: 4.27 MB / 462.1 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 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.WaterSublimation.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.0584870730526745] Failed to read output from testmodel.py, exit status != 0: 0.4617011391092092 0.47670206200000004 0.10764205800000001 Calling exit ...