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.0007746/0.0007746, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.00081/0.00081, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8685/0.8685, allocations: 177.1 MB / 202.8 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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.08251/0.08251, allocations: 17.45 MB / 276.6 MB, free: 11.75 MB / 266.7 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: "" <> buildModelFMU(Chemical.Obsolete.Examples.WaterSublimation,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_WaterSublimation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.WaterSublimation,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_WaterSublimation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.203e-06/1.203e-06, allocations: 0 / 411.6 MB, free: 244 kB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.195e-05/1.316e-05, allocations: 2.281 kB / 411.6 MB, free: 240 kB / 378.7 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.02148/0.0215, allocations: 26.46 MB / 438.1 MB, free: 5.855 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.151/0.1725, allocations: 10.91 MB / 449 MB, free: 59.31 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005216/0.1731, allocations: 20.7 kB / 449 MB, free: 59.31 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005465/0.1736, allocations: 261 kB / 449.2 MB, free: 59.31 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001676/0.1753, allocations: 1.087 MB / 450.3 MB, free: 58.91 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002235/0.1775, allocations: 1.623 MB / 452 MB, free: 58.39 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008574/0.1784, allocations: 1.463 MB / 453.4 MB, free: 57.92 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004338/0.1788, allocations: 0.6832 MB / 454.1 MB, free: 57.64 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004714/0.1793, allocations: 0.9645 MB / 455.1 MB, free: 57.31 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003926/0.1797, allocations: 0.5695 MB / 455.6 MB, free: 57.19 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.143e-05/0.1798, allocations: 129.2 kB / 455.8 MB, free: 57.19 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001362/0.1811, allocations: 1.138 MB / 456.9 MB, free: 56.96 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001241/0.1813, allocations: 298.3 kB / 457.2 MB, free: 56.79 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002248/0.1815, allocations: 480.6 kB / 457.7 MB, free: 56.62 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001672/0.1832, allocations: 2.842 MB / 460.5 MB, free: 55.52 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1832, allocations: 0 / 460.5 MB, free: 55.52 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.1832, allocations: 0 / 460.5 MB, free: 55.52 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.221e-05/0.1832, allocations: 0 / 460.5 MB, free: 55.52 MB / 410.7 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.001333/0.1845, allocations: 1.561 MB / 462.1 MB, free: 54.56 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.1845, allocations: 11.94 kB / 462.1 MB, free: 54.56 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001102/0.1847, allocations: 171.1 kB / 462.2 MB, free: 54.45 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005292/0.1852, allocations: 258.8 kB / 462.5 MB, free: 54.37 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005346/0.1857, allocations: 0.5528 MB / 463.1 MB, free: 54 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.995e-05/0.1858, allocations: 98.77 kB / 463.1 MB, free: 53.96 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.915e-05/0.1859, allocations: 117.4 kB / 463.3 MB, free: 53.92 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001016/0.1869, allocations: 1.195 MB / 464.5 MB, free: 53.42 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.757e-05/0.1869, allocations: 192 / 464.5 MB, free: 53.42 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.735e-05/0.1869, allocations: 49.89 kB / 464.5 MB, free: 53.38 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.356e-05/0.187, allocations: 36.25 kB / 464.5 MB, free: 53.38 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001136/0.1881, allocations: 1.317 MB / 465.9 MB, free: 52.98 MB / 410.7 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.002857/0.191, allocations: 3.075 MB / 468.9 MB, free: 51.28 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008091/0.1918, allocations: 0.8969 MB / 469.8 MB, free: 50.87 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002978/0.1921, allocations: 345 kB / 470.2 MB, free: 50.74 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002153/0.1942, allocations: 2.018 MB / 472.2 MB, free: 49.86 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.615e-05/0.1942, allocations: 37.81 kB / 472.2 MB, free: 49.81 MB / 410.7 MB Notification: Performance of pre-optimization done (n=62): time 1.843e-06/0.1942, allocations: 0 / 472.2 MB, free: 49.81 MB / 410.7 MB Notification: Performance of matching and sorting (n=74): time 0.002478/0.1967, allocations: 2.038 MB / 474.3 MB, free: 48.88 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.764e-05/0.1967, allocations: 61.55 kB / 474.3 MB, free: 48.81 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000331/0.1971, allocations: 0.5397 MB / 474.9 MB, free: 48.55 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.54e-05/0.1971, allocations: 44.02 kB / 474.9 MB, free: 48.51 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001439/0.1972, allocations: 0.5437 MB / 475.4 MB, free: 48.07 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.365e-05/0.1973, allocations: 265.2 kB / 475.7 MB, free: 47.86 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001351/0.1975, allocations: 189.6 kB / 475.9 MB, free: 47.77 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.761e-05/0.1975, allocations: 385 kB / 476.3 MB, free: 47.43 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000237/0.1978, allocations: 228.4 kB / 476.5 MB, free: 47.35 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003248/0.1981, allocations: 0.5527 MB / 477 MB, free: 46.87 MB / 410.7 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.002846/0.2009, allocations: 2.049 MB / 479.1 MB, free: 45.98 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.2009, allocations: 3.062 kB / 479.1 MB, free: 45.98 MB / 410.7 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.0008992/0.2018, allocations: 0.9591 MB / 480.1 MB, free: 45.59 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.495e-05/0.2018, allocations: 9.875 kB / 480.1 MB, free: 45.59 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.743e-05/0.2019, allocations: 10.69 kB / 480.1 MB, free: 45.59 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001906/0.2021, allocations: 78.5 kB / 480.2 MB, free: 45.56 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003967/0.2025, allocations: 237.2 kB / 480.4 MB, free: 45.54 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000833/0.2033, allocations: 1.608 MB / 482 MB, free: 44.09 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002409/0.2035, allocations: 34.47 kB / 482 MB, free: 44.08 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.932e-05/0.2036, allocations: 56.3 kB / 482.1 MB, free: 44.07 MB / 410.7 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.0002469/0.2038, allocations: 254.5 kB / 482.3 MB, free: 43.86 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.932e-05/0.2039, allocations: 73.69 kB / 482.4 MB, free: 43.82 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009878/0.2049, allocations: 0.8319 MB / 483.2 MB, free: 43.5 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.601e-06/0.2049, allocations: 7.062 kB / 483.2 MB, free: 43.5 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.2049, allocations: 1.875 kB / 483.2 MB, free: 43.5 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.2049, allocations: 7.266 kB / 483.2 MB, free: 43.5 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00154/0.2064, allocations: 1.614 MB / 484.9 MB, free: 42.64 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.519e-06/0.2065, allocations: 6.438 kB / 484.9 MB, free: 42.64 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003674/0.2068, allocations: 179.8 kB / 485 MB, free: 42.63 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001245/0.2069, allocations: 65.17 kB / 485.1 MB, free: 42.61 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.354e-05/0.207, allocations: 33.62 kB / 485.1 MB, free: 42.59 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007543/0.2077, allocations: 1.593 MB / 486.7 MB, free: 41.15 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.2077, allocations: 3.781 kB / 486.7 MB, free: 41.15 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001077/0.2088, allocations: 1.169 MB / 487.9 MB, free: 40.54 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.51e-05/0.2089, allocations: 81.36 kB / 488 MB, free: 40.48 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.683e-05/0.2089, allocations: 18.62 kB / 488 MB, free: 40.47 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001622/0.2091, allocations: 18.28 kB / 488 MB, free: 40.46 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.296e-05/0.2092, allocations: 79.45 kB / 488.1 MB, free: 40.44 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.695e-05/0.2092, allocations: 35.12 kB / 488.1 MB, free: 40.44 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002434/0.2095, allocations: 351.2 kB / 488.5 MB, free: 40.27 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2095, allocations: 0 / 488.5 MB, free: 40.27 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008851/0.2103, allocations: 454.2 kB / 488.9 MB, free: 40.17 MB / 410.7 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.001693/0.212, allocations: 2.155 MB / 491.1 MB, free: 38.87 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0008522/0.2129, allocations: 0.7777 MB / 491.9 MB, free: 38.53 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.2129, allocations: 1.25 kB / 491.9 MB, free: 38.53 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003607/0.2133, allocations: 453.2 kB / 492.3 MB, free: 38.3 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005596/0.2138, allocations: 181.8 kB / 492.5 MB, free: 38.25 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005611/0.2194, allocations: 6.665 MB / 499.1 MB, free: 34.15 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002961/0.2197, allocations: 421 kB / 499.6 MB, free: 34.05 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004329/0.2202, allocations: 201.7 kB / 499.7 MB, free: 34.04 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003428/0.2205, allocations: 440.3 kB / 0.4885 GB, free: 33.76 MB / 410.7 MB Notification: Performance of SimCode: time 7.02e-07/0.2205, allocations: 3.781 kB / 0.4885 GB, free: 33.76 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03193/0.2524, allocations: 23.97 MB / 0.5119 GB, free: 18.61 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.995/7.247, allocations: 14.95 kB / 0.5119 GB, free: 18.59 MB / 410.7 MB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file Chemical_master_Chemical.Obsolete.Examples.WaterSublimation_res.csv --start-time 0 --stop-time 49.7 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.01988 Chemical_master_Chemical_Obsolete_Examples_WaterSublimation.fmu > Chemical_master_Chemical.Obsolete.Examples.WaterSublimation.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.065043054521084] Failed to read output from testmodel.py, exit status != 0: 7.335875263437629 7.342366973 7.157897846 Calling exit ...