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.001565/0.001565, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001831/0.001831, allocations: 220.4 kB / 23 MB, free: 4.914 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.484/1.484, allocations: 230.6 MB / 256.8 MB, free: 7.82 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.1377/0.1377, allocations: 23.88 MB / 337.1 MB, free: 11 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.00211/0.00211, allocations: 67.89 kB / 472.4 MB, free: 7.043 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3623/0.3645, allocations: 59.86 MB / 0.5197 GB, free: 9.812 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.07259/0.437, allocations: 26.2 MB / 0.5453 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01662/0.4537, allocations: 10.92 MB / 0.556 GB, free: 3.496 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001211/0.4549, allocations: 19.88 kB / 0.556 GB, free: 3.477 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009154/0.4558, allocations: 258 kB / 0.5563 GB, free: 3.285 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003435/0.4592, allocations: 1.049 MB / 0.5573 GB, free: 2.391 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005098/0.4643, allocations: 1.571 MB / 0.5588 GB, free: 1.098 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002795/0.4671, allocations: 1.415 MB / 0.5602 GB, free: 15.82 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001239/0.4684, allocations: 0.6871 MB / 0.5609 GB, free: 15.26 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00122/0.4696, allocations: 0.685 MB / 0.5615 GB, free: 14.64 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001262/0.4708, allocations: 0.6445 MB / 0.5622 GB, free: 14.13 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002242/0.4711, allocations: 128 kB / 0.5623 GB, free: 14.01 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004183/0.4752, allocations: 1.126 MB / 0.5634 GB, free: 12.98 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003522/0.4756, allocations: 300.7 kB / 0.5637 GB, free: 12.74 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006707/0.4763, allocations: 0.5438 MB / 0.5642 GB, free: 12.24 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005373/0.4816, allocations: 2.715 MB / 0.5669 GB, free: 9.594 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.4816, allocations: 0 / 0.5669 GB, free: 9.594 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.4816, allocations: 0 / 0.5669 GB, free: 9.594 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.283e-05/0.4817, allocations: 0 / 0.5669 GB, free: 9.594 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.002915/0.4846, allocations: 1.579 MB / 0.5684 GB, free: 7.977 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.4846, allocations: 12.03 kB / 0.5684 GB, free: 7.965 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001113/0.4857, allocations: 259.9 kB / 0.5687 GB, free: 7.711 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001137/0.4869, allocations: 0.562 MB / 0.5692 GB, free: 7.125 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.756e-05/0.487, allocations: 82.64 kB / 0.5693 GB, free: 7.043 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001898/0.4872, allocations: 120.3 kB / 0.5694 GB, free: 6.926 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002105/0.4893, allocations: 1.214 MB / 0.5706 GB, free: 5.668 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.597e-05/0.4893, allocations: 0 / 0.5706 GB, free: 5.668 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001002/0.4894, allocations: 44 kB / 0.5706 GB, free: 5.625 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.555e-05/0.4894, allocations: 28 kB / 0.5707 GB, free: 5.598 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002253/0.4917, allocations: 1.317 MB / 0.5719 GB, free: 4.273 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.005684/0.4973, allocations: 2.934 MB / 0.5748 GB, free: 1.262 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001509/0.4989, allocations: 0.9024 MB / 0.5757 GB, free: 364 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00057/0.4994, allocations: 339.7 kB / 0.576 GB, free: 20 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004566/0.504, allocations: 2.009 MB / 0.578 GB, free: 13.99 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.151e-05/0.504, allocations: 43 kB / 0.578 GB, free: 13.94 MB / 430.1 MB Notification: Performance of pre-optimization done (n=62): time 2.434e-06/0.504, allocations: 4 kB / 0.578 GB, free: 13.93 MB / 430.1 MB Notification: Performance of matching and sorting (n=74): time 0.004911/0.5089, allocations: 2.032 MB / 0.58 GB, free: 11.87 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.712e-05/0.509, allocations: 68.05 kB / 0.5801 GB, free: 11.79 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006133/0.5096, allocations: 0.4948 MB / 0.5806 GB, free: 11.29 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.971e-05/0.5097, allocations: 37.7 kB / 0.5806 GB, free: 11.24 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004113/0.5101, allocations: 0.5466 MB / 0.5811 GB, free: 10.69 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002271/0.5103, allocations: 269.7 kB / 0.5814 GB, free: 10.42 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000253/0.5105, allocations: 190.9 kB / 0.5816 GB, free: 10.23 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001982/0.5107, allocations: 382.7 kB / 0.5819 GB, free: 9.848 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004342/0.5112, allocations: 226.2 kB / 0.5821 GB, free: 9.629 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000734/0.5119, allocations: 0.5525 MB / 0.5827 GB, free: 8.934 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.0063/0.5182, allocations: 2.038 MB / 0.5847 GB, free: 6.75 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.343e-06/0.5182, allocations: 4 kB / 0.5847 GB, free: 6.746 MB / 430.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.001804/0.52, allocations: 0.9588 MB / 0.5856 GB, free: 5.777 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.831e-05/0.5201, allocations: 16.03 kB / 0.5856 GB, free: 5.762 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.439e-05/0.5201, allocations: 8 kB / 0.5856 GB, free: 5.754 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002729/0.5203, allocations: 76.81 kB / 0.5857 GB, free: 5.676 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007278/0.5211, allocations: 235.6 kB / 0.5859 GB, free: 5.445 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001773/0.5228, allocations: 1.597 MB / 0.5875 GB, free: 3.746 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004967/0.5233, allocations: 32 kB / 0.5875 GB, free: 3.715 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.425e-05/0.5234, allocations: 59.98 kB / 0.5876 GB, free: 3.656 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.0004519/0.5239, allocations: 259.1 kB / 0.5878 GB, free: 3.398 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001326/0.524, allocations: 67.58 kB / 0.5879 GB, free: 3.332 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001751/0.5258, allocations: 0.8337 MB / 0.5887 GB, free: 2.484 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.517e-05/0.5258, allocations: 8 kB / 0.5887 GB, free: 2.477 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.5258, allocations: 4 kB / 0.5887 GB, free: 2.473 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.211e-05/0.5258, allocations: 7.922 kB / 0.5887 GB, free: 2.465 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002655/0.5285, allocations: 1.473 MB / 0.5902 GB, free: 0.918 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/0.5285, allocations: 0 / 0.5902 GB, free: 0.918 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006765/0.5291, allocations: 184.1 kB / 0.5903 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002031/0.5293, allocations: 64.81 kB / 0.5904 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.315e-05/0.5294, allocations: 28 kB / 0.5904 GB, free: 0.6445 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001688/0.5311, allocations: 1.578 MB / 0.592 GB, free: 14.96 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.509e-06/0.5311, allocations: 8.016 kB / 0.592 GB, free: 14.96 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001969/0.5331, allocations: 1.182 MB / 0.5931 GB, free: 13.73 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001677/0.5332, allocations: 67.53 kB / 0.5932 GB, free: 13.66 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.05e-05/0.5333, allocations: 27.97 kB / 0.5932 GB, free: 13.64 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003148/0.5336, allocations: 16 kB / 0.5932 GB, free: 13.62 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001368/0.5338, allocations: 72.53 kB / 0.5933 GB, free: 13.55 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.968e-05/0.5338, allocations: 32 kB / 0.5933 GB, free: 13.52 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004126/0.5342, allocations: 318.9 kB / 0.5936 GB, free: 13.21 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5342, allocations: 0 / 0.5936 GB, free: 13.21 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001355/0.5356, allocations: 459 kB / 0.5941 GB, free: 12.76 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.0009575/0.5366, allocations: 0.5258 MB / 0.5946 GB, free: 12.22 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001485/0.538, allocations: 0.7775 MB / 0.5954 GB, free: 11.43 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.5381, allocations: 4 kB / 0.5954 GB, free: 11.43 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006639/0.5387, allocations: 443.4 kB / 0.5958 GB, free: 10.98 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008806/0.5396, allocations: 174.5 kB / 0.5959 GB, free: 10.82 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003226/0.5428, allocations: 1.866 MB / 0.5978 GB, free: 8.879 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00048/0.5433, allocations: 425.6 kB / 0.5982 GB, free: 8.434 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004096/0.5437, allocations: 187.3 kB / 0.5984 GB, free: 8.25 MB / 446.1 MB Notification: Performance of SimCode: time 1.022e-06/0.5437, allocations: 0 / 0.5984 GB, free: 8.25 MB / 446.1 MB Notification: Performance of Templates: time 0.02672/0.5704, allocations: 18.13 MB / 0.6161 GB, free: 6.156 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 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.WaterSublimation.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.959030049853027] Failed to read output from testmodel.py, exit status != 0: 0.5796020464040339 0.594636406 0.109800642 Calling exit ...