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.001357/0.001357, 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.001643/0.001643, 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.9288/0.9288, allocations: 177.1 MB / 202.8 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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.0912/0.0912, allocations: 17.38 MB / 276.6 MB, free: 11.83 MB / 266.7 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.WaterSublimation,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_WaterSublimation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.695e-06/2.695e-06, allocations: 0 / 411.4 MB, free: 412 kB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.589e-05/2.858e-05, allocations: 3.969 kB / 411.4 MB, free: 408 kB / 378.7 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.02498/0.02501, allocations: 26.45 MB / 437.9 MB, free: 6.02 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1918/0.2168, allocations: 10.92 MB / 448.8 MB, free: 59.34 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004268/0.2172, allocations: 15.25 kB / 448.8 MB, free: 59.34 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004663/0.2177, allocations: 267.8 kB / 449.1 MB, free: 59.34 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001573/0.2193, allocations: 1.087 MB / 450.2 MB, free: 58.97 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001987/0.2212, allocations: 1.609 MB / 451.8 MB, free: 58.46 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007393/0.222, allocations: 1.466 MB / 453.2 MB, free: 58 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004253/0.2224, allocations: 0.6858 MB / 453.9 MB, free: 57.71 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004841/0.2229, allocations: 0.9706 MB / 454.9 MB, free: 57.38 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003867/0.2233, allocations: 0.5654 MB / 455.5 MB, free: 57.26 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.26e-05/0.2234, allocations: 126 kB / 455.6 MB, free: 57.26 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001255/0.2246, allocations: 1.141 MB / 456.7 MB, free: 57.03 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001361/0.2248, allocations: 301.3 kB / 457 MB, free: 56.86 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002346/0.225, allocations: 480 kB / 457.5 MB, free: 56.68 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001591/0.2266, allocations: 2.832 MB / 460.3 MB, free: 55.7 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.2266, allocations: 0 / 460.3 MB, free: 55.7 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.193e-06/0.2266, allocations: 3.938 kB / 460.3 MB, free: 55.69 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.225e-05/0.2266, allocations: 0 / 460.3 MB, free: 55.69 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.001354/0.228, allocations: 1.571 MB / 461.9 MB, free: 54.73 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.228, allocations: 12.44 kB / 461.9 MB, free: 54.73 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001101/0.2281, allocations: 167.5 kB / 462.1 MB, free: 54.62 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005288/0.2286, allocations: 259.1 kB / 462.3 MB, free: 54.54 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006051/0.2292, allocations: 0.5654 MB / 462.9 MB, free: 54.17 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.668e-05/0.2293, allocations: 88.11 kB / 463 MB, free: 54.13 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001193/0.2294, allocations: 119.2 kB / 463.1 MB, free: 54.09 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001135/0.2305, allocations: 1.197 MB / 464.3 MB, free: 53.59 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.039e-05/0.2306, allocations: 0.8438 kB / 464.3 MB, free: 53.59 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.159e-05/0.2306, allocations: 45.47 kB / 464.3 MB, free: 53.55 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.666e-05/0.2306, allocations: 35.06 kB / 464.4 MB, free: 53.55 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001212/0.2319, allocations: 1.316 MB / 465.7 MB, free: 53.16 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.002934/0.2348, allocations: 3.077 MB / 468.8 MB, free: 51.45 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007927/0.2356, allocations: 0.9006 MB / 469.7 MB, free: 51.04 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003181/0.2359, allocations: 347.9 kB / 470 MB, free: 50.91 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002114/0.238, allocations: 2.01 MB / 472 MB, free: 50.04 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.353e-05/0.238, allocations: 38.22 kB / 472.1 MB, free: 49.99 MB / 410.7 MB Notification: Performance of pre-optimization done (n=62): time 1.743e-06/0.238, allocations: 6 kB / 472.1 MB, free: 49.99 MB / 410.7 MB Notification: Performance of matching and sorting (n=74): time 0.002551/0.2406, allocations: 2.038 MB / 474.1 MB, free: 49.05 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.777e-05/0.2406, allocations: 58.03 kB / 474.2 MB, free: 48.99 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003413/0.2409, allocations: 0.5398 MB / 474.7 MB, free: 48.73 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.718e-05/0.241, allocations: 36.64 kB / 474.7 MB, free: 48.69 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001587/0.2411, allocations: 0.5408 MB / 475.3 MB, free: 48.26 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.211e-05/0.2412, allocations: 271.8 kB / 475.5 MB, free: 48.04 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001278/0.2414, allocations: 190.8 kB / 475.7 MB, free: 47.95 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.005e-05/0.2414, allocations: 388.6 kB / 476.1 MB, free: 47.6 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002394/0.2417, allocations: 225.3 kB / 476.3 MB, free: 47.53 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003492/0.242, allocations: 0.552 MB / 476.9 MB, free: 47.05 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.002917/0.2449, allocations: 2.042 MB / 478.9 MB, free: 46.16 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.2449, allocations: 2.656 kB / 478.9 MB, free: 46.16 MB / 410.7 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.0008975/0.2458, allocations: 0.9638 MB / 479.9 MB, free: 45.76 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.2458, allocations: 9.312 kB / 479.9 MB, free: 45.76 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.114e-05/0.2458, allocations: 9.469 kB / 479.9 MB, free: 45.76 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001925/0.246, allocations: 85.14 kB / 480 MB, free: 45.73 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004487/0.2465, allocations: 238.6 kB / 480.2 MB, free: 45.71 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009181/0.2474, allocations: 1.612 MB / 481.8 MB, free: 44.27 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002287/0.2476, allocations: 31.41 kB / 481.9 MB, free: 44.25 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.648e-05/0.2477, allocations: 56 kB / 481.9 MB, free: 44.24 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.0002364/0.2479, allocations: 246.1 kB / 482.2 MB, free: 44.04 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.939e-05/0.248, allocations: 76 kB / 482.2 MB, free: 44 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001014/0.249, allocations: 0.8458 MB / 483.1 MB, free: 43.67 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.091e-06/0.249, allocations: 11.05 kB / 483.1 MB, free: 43.67 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.249, allocations: 4.031 kB / 483.1 MB, free: 43.67 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.249, allocations: 8.594 kB / 483.1 MB, free: 43.67 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001558/0.2506, allocations: 1.594 MB / 484.7 MB, free: 42.82 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.157e-06/0.2506, allocations: 2.75 kB / 484.7 MB, free: 42.82 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003569/0.251, allocations: 180.9 kB / 484.9 MB, free: 42.81 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001173/0.2511, allocations: 66.67 kB / 484.9 MB, free: 42.79 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.328e-05/0.2511, allocations: 30.23 kB / 485 MB, free: 42.77 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000737/0.2518, allocations: 1.594 MB / 486.6 MB, free: 41.34 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.2518, allocations: 6.062 kB / 486.6 MB, free: 41.34 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001098/0.2529, allocations: 1.167 MB / 487.7 MB, free: 40.72 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.551e-05/0.253, allocations: 81.67 kB / 487.8 MB, free: 40.66 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.955e-05/0.2531, allocations: 20.88 kB / 487.8 MB, free: 40.65 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001645/0.2532, allocations: 23.3 kB / 487.9 MB, free: 40.64 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.548e-05/0.2533, allocations: 72.03 kB / 487.9 MB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-05/0.2533, allocations: 37.38 kB / 488 MB, free: 40.62 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002477/0.2536, allocations: 345.6 kB / 488.3 MB, free: 40.46 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2536, allocations: 1.188 kB / 488.3 MB, free: 40.46 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008268/0.2544, allocations: 466.1 kB / 488.8 MB, free: 40.34 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.001815/0.2562, allocations: 2.148 MB / 490.9 MB, free: 39.05 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0008427/0.2571, allocations: 0.7838 MB / 491.7 MB, free: 38.71 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.2571, allocations: 0 / 491.7 MB, free: 38.71 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003702/0.2575, allocations: 451.9 kB / 492.1 MB, free: 38.48 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005434/0.258, allocations: 185 kB / 492.3 MB, free: 38.43 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006143/0.2641, allocations: 6.664 MB / 499 MB, free: 34.33 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003075/0.2644, allocations: 422.5 kB / 499.4 MB, free: 34.22 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004593/0.2649, allocations: 203.6 kB / 499.6 MB, free: 34.21 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003775/0.2653, allocations: 442.6 kB / 0.4883 GB, free: 33.93 MB / 410.7 MB Notification: Performance of SimCode: time 2.254e-06/0.2653, allocations: 0 / 0.4883 GB, free: 33.93 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03325/0.2985, allocations: 23.97 MB / 0.5117 GB, free: 18.85 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.789/8.087, allocations: 7.031 kB / 0.5117 GB, free: 18.85 MB / 410.7 MB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file Chemical_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_Chemical_Obsolete_Examples_WaterSublimation.fmu > Chemical_Chemical.Obsolete.Examples.WaterSublimation.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.13553400337696] Failed to read output from testmodel.py, exit status != 0: 8.181192131713033 8.188388089 7.959607989 Calling exit ...