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.001414/0.001414, allocations: 120 kB / 17.17 MB, free: 5.977 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.001418/0.001418, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.561/1.561, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.147/0.147, allocations: 23.86 MB / 333.4 MB, free: 1.215 MB / 254.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: "" <> buildModelFMU(Chemical.Obsolete.Examples.WaterSublimation,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_WaterSublimation",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.WaterSublimation,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_WaterSublimation",fmuType="cs",version="2.0",platforms={"static"}) [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.001972/0.001972, allocations: 67.52 kB / 466.7 MB, free: 30.73 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.1068, allocations: 59.82 MB / 0.5142 GB, free: 12.99 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.04332/0.1501, allocations: 26.47 MB / 0.54 GB, free: 2.566 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01699/0.1671, allocations: 12.38 MB / 0.5521 GB, free: 6.141 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007853/0.1679, allocations: 19.81 kB / 0.5521 GB, free: 6.121 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000807/0.1687, allocations: 289.7 kB / 0.5524 GB, free: 5.836 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002803/0.1715, allocations: 1.047 MB / 0.5534 GB, free: 4.781 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003877/0.1754, allocations: 1.561 MB / 0.5549 GB, free: 3.211 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002083/0.1775, allocations: 1.411 MB / 0.5563 GB, free: 1.793 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001003/0.1785, allocations: 0.6882 MB / 0.557 GB, free: 1.078 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009362/0.1794, allocations: 0.6857 MB / 0.5577 GB, free: 400 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001028/0.1804, allocations: 0.7357 MB / 0.5584 GB, free: 15.65 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000197/0.1806, allocations: 131.9 kB / 0.5585 GB, free: 15.52 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003828/0.1845, allocations: 1.201 MB / 0.5597 GB, free: 14.32 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004034/0.1849, allocations: 287.2 kB / 0.56 GB, free: 14.04 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008091/0.1857, allocations: 0.6533 MB / 0.5606 GB, free: 13.38 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006167/0.1919, allocations: 2.72 MB / 0.5632 GB, free: 10.65 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.1919, allocations: 0 / 0.5632 GB, free: 10.65 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.745e-06/0.1919, allocations: 0 / 0.5632 GB, free: 10.65 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.442e-05/0.1919, allocations: 0 / 0.5632 GB, free: 10.65 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.003827/0.1957, allocations: 1.657 MB / 0.5649 GB, free: 8.941 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.971e-05/0.1958, allocations: 12.03 kB / 0.5649 GB, free: 8.93 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.034e-05/0.1958, allocations: 30.44 kB / 0.5649 GB, free: 8.898 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002173/0.1961, allocations: 169.3 kB / 0.5651 GB, free: 8.723 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001248/0.1973, allocations: 259.9 kB / 0.5653 GB, free: 8.469 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00114/0.1984, allocations: 0.6262 MB / 0.5659 GB, free: 7.801 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.026e-05/0.1985, allocations: 90.64 kB / 0.566 GB, free: 7.711 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002027/0.1987, allocations: 120.3 kB / 0.5661 GB, free: 7.594 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002397/0.2011, allocations: 1.213 MB / 0.5673 GB, free: 6.336 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.402e-05/0.2012, allocations: 0 / 0.5673 GB, free: 6.336 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001136/0.2013, allocations: 44 kB / 0.5674 GB, free: 6.293 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.659e-05/0.2013, allocations: 28 kB / 0.5674 GB, free: 6.266 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002386/0.2037, allocations: 1.332 MB / 0.5687 GB, free: 4.926 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.007098/0.2108, allocations: 4.019 MB / 0.5726 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001669/0.2124, allocations: 0.9131 MB / 0.5735 GB, free: 15.75 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006232/0.2131, allocations: 339.7 kB / 0.5738 GB, free: 15.41 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005685/0.2188, allocations: 3.983 MB / 0.5777 GB, free: 10.95 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.445e-05/0.2188, allocations: 39.12 kB / 0.5778 GB, free: 10.91 MB / 446.1 MB Notification: Performance of pre-optimization done (n=62): time 2.885e-06/0.2188, allocations: 0 / 0.5778 GB, free: 10.91 MB / 446.1 MB Notification: Performance of matching and sorting (n=74): time 0.005396/0.2242, allocations: 2.107 MB / 0.5798 GB, free: 8.754 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.238e-05/0.2242, allocations: 68 kB / 0.5799 GB, free: 8.676 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007034/0.2249, allocations: 0.5263 MB / 0.5804 GB, free: 8.137 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.865e-05/0.225, allocations: 41.64 kB / 0.5804 GB, free: 8.09 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004069/0.2254, allocations: 0.5466 MB / 0.581 GB, free: 7.535 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002386/0.2256, allocations: 273.6 kB / 0.5812 GB, free: 7.266 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003165/0.226, allocations: 190.9 kB / 0.5814 GB, free: 7.074 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002114/0.2262, allocations: 382.8 kB / 0.5818 GB, free: 6.691 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004697/0.2266, allocations: 230.2 kB / 0.582 GB, free: 6.465 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008394/0.2275, allocations: 0.5486 MB / 0.5825 GB, free: 5.77 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.007197/0.2347, allocations: 2.121 MB / 0.5846 GB, free: 3.488 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.526e-06/0.2347, allocations: 4 kB / 0.5846 GB, free: 3.484 MB / 446.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.001967/0.2367, allocations: 0.9626 MB / 0.5855 GB, free: 2.512 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.68e-05/0.2367, allocations: 8 kB / 0.5855 GB, free: 2.504 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.807e-05/0.2367, allocations: 16.12 kB / 0.5856 GB, free: 2.488 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003286/0.237, allocations: 76.75 kB / 0.5856 GB, free: 2.41 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007542/0.2378, allocations: 235.6 kB / 0.5859 GB, free: 2.18 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00195/0.2397, allocations: 1.715 MB / 0.5875 GB, free: 328 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005835/0.2403, allocations: 32 kB / 0.5876 GB, free: 296 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001005/0.2404, allocations: 55.98 kB / 0.5876 GB, free: 240 kB / 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.2313/0.4717, allocations: 249.5 kB / 0.5879 GB, free: 64.82 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002414/0.472, allocations: 76.22 kB / 0.5879 GB, free: 64.82 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002225/0.4742, allocations: 0.8398 MB / 0.5888 GB, free: 64.77 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.113e-05/0.4742, allocations: 11.36 kB / 0.5888 GB, free: 64.77 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.4742, allocations: 1.844 kB / 0.5888 GB, free: 64.77 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.18e-05/0.4742, allocations: 3.422 kB / 0.5888 GB, free: 64.77 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002908/0.4771, allocations: 1.754 MB / 0.5905 GB, free: 64.32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.865e-06/0.4771, allocations: 2.969 kB / 0.5905 GB, free: 64.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007086/0.4779, allocations: 180.7 kB / 0.5907 GB, free: 64.32 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002311/0.4781, allocations: 67.31 kB / 0.5907 GB, free: 64.31 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.758e-05/0.4781, allocations: 29.47 kB / 0.5907 GB, free: 64.31 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00147/0.4796, allocations: 1.71 MB / 0.5924 GB, free: 62.89 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.785e-06/0.4796, allocations: 7.469 kB / 0.5924 GB, free: 62.89 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001987/0.4816, allocations: 1.172 MB / 0.5936 GB, free: 62.31 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002058/0.4818, allocations: 150 kB / 0.5937 GB, free: 62.21 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.215e-05/0.4819, allocations: 28.77 kB / 0.5937 GB, free: 62.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003388/0.4822, allocations: 18.47 kB / 0.5938 GB, free: 62.19 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001989/0.4824, allocations: 76.81 kB / 0.5938 GB, free: 62.17 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.482e-05/0.4825, allocations: 34.62 kB / 0.5939 GB, free: 62.17 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00051/0.483, allocations: 352.3 kB / 0.5942 GB, free: 62 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.483, allocations: 0 / 0.5942 GB, free: 62 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001466/0.4845, allocations: 455.4 kB / 0.5946 GB, free: 61.96 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.003047/0.4875, allocations: 2.143 MB / 0.5967 GB, free: 60.81 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001573/0.4891, allocations: 0.7815 MB / 0.5975 GB, free: 60.48 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.4891, allocations: 0 / 0.5975 GB, free: 60.48 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006185/0.4897, allocations: 447.1 kB / 0.5979 GB, free: 60.26 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009952/0.4907, allocations: 180.8 kB / 0.5981 GB, free: 60.21 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009672/0.5004, allocations: 6.755 MB / 0.6047 GB, free: 56.16 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006264/0.501, allocations: 1.009 MB / 0.6057 GB, free: 55.46 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006852/0.5017, allocations: 202 kB / 0.6059 GB, free: 55.46 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005173/0.5022, allocations: 440.6 kB / 0.6063 GB, free: 55.18 MB / 446.1 MB Notification: Performance of SimCode: time 1.263e-06/0.5022, allocations: 0 / 0.6063 GB, free: 55.18 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0518/0.554, allocations: 22.65 MB / 0.6284 GB, free: 41.21 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.59/13.14, allocations: 10.8 kB / 0.6284 GB, free: 41.2 MB / 446.1 MB " [Timeout remaining time 647] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_Chemical_Obsolete_Examples_WaterSublimation_fmu --startTime=0 --stopTime=49.7 --stepSize=0.01988 --timeout=50 --tolerance=1e-06 Chemical_Chemical_Obsolete_Examples_WaterSublimation.fmu > Chemical_Chemical.Obsolete.Examples.WaterSublimation.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.219189670984633] Failed to read output from testmodel.py, exit status != 0: 13.297372653963976 13.312969514 13.117933424 Calling exit ...