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.001698/0.001698, allocations: 114.1 kB / 17.13 MB, free: 5.926 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.001999/0.001999, allocations: 205.5 kB / 20.09 MB, free: 2.977 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.509/1.509, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.1391/0.1391, allocations: 23.89 MB / 333.4 MB, free: 1.176 MB / 254.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.002152/0.002152, allocations: 65.34 kB / 467.2 MB, free: 30.51 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1012/0.1033, allocations: 59.85 MB / 0.5147 GB, free: 12.41 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.04274/0.1461, allocations: 26.73 MB / 0.5408 GB, free: 1.73 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01749/0.1636, allocations: 12.39 MB / 0.5529 GB, free: 5.293 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006492/0.1642, allocations: 19.88 kB / 0.5529 GB, free: 5.273 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007448/0.165, allocations: 285.7 kB / 0.5532 GB, free: 4.992 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002582/0.1676, allocations: 1.051 MB / 0.5542 GB, free: 3.934 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003635/0.1712, allocations: 1.561 MB / 0.5558 GB, free: 2.363 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001666/0.1729, allocations: 1.407 MB / 0.5571 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008555/0.1737, allocations: 0.6882 MB / 0.5578 GB, free: 240 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00078/0.1745, allocations: 0.6857 MB / 0.5585 GB, free: 15.54 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009384/0.1754, allocations: 0.7357 MB / 0.5592 GB, free: 14.8 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001812/0.1756, allocations: 127.9 kB / 0.5593 GB, free: 14.68 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002897/0.1785, allocations: 1.201 MB / 0.5605 GB, free: 13.48 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003074/0.1788, allocations: 287.1 kB / 0.5608 GB, free: 13.2 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006255/0.1794, allocations: 0.6573 MB / 0.5614 GB, free: 12.54 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003922/0.1834, allocations: 2.72 MB / 0.5641 GB, free: 9.809 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.1834, allocations: 0 / 0.5641 GB, free: 9.809 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.031e-06/0.1834, allocations: 0 / 0.5641 GB, free: 9.809 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.829e-05/0.1834, allocations: 0 / 0.5641 GB, free: 9.809 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.002933/0.1863, allocations: 1.658 MB / 0.5657 GB, free: 8.094 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.468e-05/0.1864, allocations: 8.031 kB / 0.5657 GB, free: 8.086 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001161/0.1875, allocations: 267.6 kB / 0.5659 GB, free: 7.824 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009975/0.1885, allocations: 0.6224 MB / 0.5665 GB, free: 7.16 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.606e-05/0.1886, allocations: 86.62 kB / 0.5666 GB, free: 7.074 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001979/0.1888, allocations: 116.3 kB / 0.5667 GB, free: 6.961 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002191/0.191, allocations: 1.202 MB / 0.5679 GB, free: 5.715 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.178e-05/0.191, allocations: 8 kB / 0.5679 GB, free: 5.707 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001107/0.1911, allocations: 44 kB / 0.568 GB, free: 5.664 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.1e-05/0.1911, allocations: 31.94 kB / 0.568 GB, free: 5.633 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002436/0.1936, allocations: 1.328 MB / 0.5693 GB, free: 4.297 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.006687/0.2003, allocations: 4.019 MB / 0.5732 GB, free: 44 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001646/0.2019, allocations: 0.9055 MB / 0.5741 GB, free: 15.12 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006435/0.2026, allocations: 339.7 kB / 0.5744 GB, free: 14.79 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006145/0.2087, allocations: 3.979 MB / 0.5783 GB, free: 10.34 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.983e-05/0.2088, allocations: 55 kB / 0.5784 GB, free: 10.27 MB / 446.1 MB Notification: Performance of pre-optimization done (n=62): time 3.146e-06/0.2088, allocations: 0 / 0.5784 GB, free: 10.27 MB / 446.1 MB Notification: Performance of matching and sorting (n=74): time 0.005374/0.2142, allocations: 2.099 MB / 0.5804 GB, free: 8.129 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.878e-05/0.2143, allocations: 64 kB / 0.5805 GB, free: 8.055 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006473/0.2149, allocations: 0.5224 MB / 0.581 GB, free: 7.52 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.549e-05/0.215, allocations: 41.7 kB / 0.581 GB, free: 7.473 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004978/0.2155, allocations: 0.5543 MB / 0.5816 GB, free: 6.91 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002515/0.2157, allocations: 269.7 kB / 0.5818 GB, free: 6.645 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003079/0.216, allocations: 194.9 kB / 0.582 GB, free: 6.449 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002453/0.2163, allocations: 378.8 kB / 0.5824 GB, free: 6.07 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005066/0.2168, allocations: 230.2 kB / 0.5826 GB, free: 5.844 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007491/0.2175, allocations: 0.5408 MB / 0.5831 GB, free: 5.156 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.006936/0.2245, allocations: 2.121 MB / 0.5852 GB, free: 2.871 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/0.2245, allocations: 8 kB / 0.5852 GB, free: 2.863 MB / 446.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.001873/0.2263, allocations: 0.9625 MB / 0.5861 GB, free: 1.891 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.187e-05/0.2264, allocations: 12 kB / 0.5861 GB, free: 1.879 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.603e-05/0.2264, allocations: 8 kB / 0.5862 GB, free: 1.871 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002916/0.2267, allocations: 76.81 kB / 0.5862 GB, free: 1.793 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007959/0.2275, allocations: 231.6 kB / 0.5864 GB, free: 1.566 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2132/0.4407, allocations: 1.722 MB / 0.5881 GB, free: 63.45 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006887/0.4414, allocations: 34.03 kB / 0.5882 GB, free: 63.45 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.823e-05/0.4415, allocations: 53.98 kB / 0.5882 GB, free: 63.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.0003831/0.4419, allocations: 256.8 kB / 0.5885 GB, free: 63.34 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001324/0.442, allocations: 75.92 kB / 0.5885 GB, free: 63.34 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001807/0.4438, allocations: 0.835 MB / 0.5893 GB, free: 63.29 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.72e-05/0.4438, allocations: 8.609 kB / 0.5894 GB, free: 63.29 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.604e-05/0.4438, allocations: 4.781 kB / 0.5894 GB, free: 63.29 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.087e-05/0.4439, allocations: 3.844 kB / 0.5894 GB, free: 63.29 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002652/0.4465, allocations: 1.756 MB / 0.5911 GB, free: 62.84 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/0.4465, allocations: 2.938 kB / 0.5911 GB, free: 62.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007173/0.4472, allocations: 179.9 kB / 0.5913 GB, free: 62.84 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002093/0.4474, allocations: 62.86 kB / 0.5913 GB, free: 62.83 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.992e-05/0.4475, allocations: 31.27 kB / 0.5913 GB, free: 62.83 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001236/0.4487, allocations: 1.707 MB / 0.593 GB, free: 61.34 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.4488, allocations: 6.188 kB / 0.593 GB, free: 61.34 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001812/0.4506, allocations: 1.181 MB / 0.5942 GB, free: 60.76 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001401/0.4507, allocations: 149.9 kB / 0.5943 GB, free: 60.66 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.58e-05/0.4508, allocations: 19.73 kB / 0.5943 GB, free: 60.65 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003277/0.4511, allocations: 19.53 kB / 0.5943 GB, free: 60.64 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001352/0.4513, allocations: 79.28 kB / 0.5944 GB, free: 60.62 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.917e-05/0.4513, allocations: 34.25 kB / 0.5945 GB, free: 60.62 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004223/0.4517, allocations: 352.1 kB / 0.5948 GB, free: 60.45 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4517, allocations: 0.9688 kB / 0.5948 GB, free: 60.45 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001231/0.453, allocations: 456.3 kB / 0.5952 GB, free: 60.41 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.0008519/0.4538, allocations: 0.5247 MB / 0.5957 GB, free: 60.29 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001321/0.4551, allocations: 0.7785 MB / 0.5965 GB, free: 59.97 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.4551, allocations: 2.688 kB / 0.5965 GB, free: 59.97 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006293/0.4558, allocations: 444.6 kB / 0.5969 GB, free: 59.75 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008825/0.4567, allocations: 179.7 kB / 0.5971 GB, free: 59.7 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002664/0.4593, allocations: 1.862 MB / 0.5989 GB, free: 58.71 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004131/0.4597, allocations: 1.008 MB / 0.5999 GB, free: 58.01 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003762/0.4601, allocations: 187.2 kB / 0.6001 GB, free: 57.99 MB / 446.1 MB Notification: Performance of SimCode: time 2.91e-07/0.4601, allocations: 0 / 0.6001 GB, free: 57.99 MB / 446.1 MB Notification: Performance of Templates: time 0.02008/0.4802, allocations: 17.82 MB / 0.6175 GB, free: 51.68 MB / 446.1 MB " [Timeout remaining time 660] 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 sys.exit(0), Time elapsed: 8.820366870990256] Failed to read output from testmodel.py, exit status != 0: 0.4874763929983601 0.49600141099999995 0.31055148899999996 Calling exit ...