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.001492/0.001492, allocations: 108.7 kB / 16.45 MB, free: 6.453 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.001694/0.001694, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.59/1.59, allocations: 230.6 MB / 252.8 MB, free: 8.965 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.1581/0.1581, allocations: 23.88 MB / 332.7 MB, free: 12.34 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/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: 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.002478/0.002478, allocations: 63.91 kB / 466 MB, free: 10.06 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.391/0.3935, allocations: 59.83 MB / 0.5135 GB, free: 8.871 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.0499/0.4434, allocations: 26.66 MB / 0.5396 GB, free: 13.97 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01936/0.4627, allocations: 12.38 MB / 0.5517 GB, free: 2.566 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001589/0.4643, allocations: 23.81 kB / 0.5517 GB, free: 2.543 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001138/0.4654, allocations: 282.8 kB / 0.5519 GB, free: 2.328 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00376/0.4692, allocations: 1.046 MB / 0.553 GB, free: 1.441 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004852/0.4741, allocations: 1.562 MB / 0.5545 GB, free: 172 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002835/0.4769, allocations: 1.415 MB / 0.5559 GB, free: 14.89 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001321/0.4782, allocations: 0.6932 MB / 0.5565 GB, free: 14.33 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001084/0.4793, allocations: 0.6919 MB / 0.5572 GB, free: 13.7 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001246/0.4805, allocations: 0.7271 MB / 0.5579 GB, free: 13.11 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002238/0.4808, allocations: 131.9 kB / 0.5581 GB, free: 12.98 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004502/0.4853, allocations: 1.202 MB / 0.5592 GB, free: 11.89 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005067/0.4858, allocations: 297 kB / 0.5595 GB, free: 11.65 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000938/0.4867, allocations: 0.6481 MB / 0.5602 GB, free: 11.05 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007434/0.4942, allocations: 2.714 MB / 0.5628 GB, free: 8.785 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.4942, allocations: 4 kB / 0.5628 GB, free: 8.781 MB / 414.1 MB Notification: Performance of FrontEnd: time 4.498e-06/0.4942, allocations: 3.984 kB / 0.5628 GB, free: 8.777 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.547e-05/0.4942, allocations: 0 / 0.5628 GB, free: 8.777 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.004383/0.4986, allocations: 1.65 MB / 0.5644 GB, free: 7.07 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.691e-05/0.4987, allocations: 12.03 kB / 0.5644 GB, free: 7.059 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003674/0.499, allocations: 169.3 kB / 0.5646 GB, free: 6.883 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001364/0.5004, allocations: 263.9 kB / 0.5648 GB, free: 6.625 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001349/0.5017, allocations: 0.6223 MB / 0.5655 GB, free: 5.961 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.404e-05/0.5018, allocations: 86.64 kB / 0.5655 GB, free: 5.875 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002663/0.5021, allocations: 120.3 kB / 0.5657 GB, free: 5.758 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002602/0.5047, allocations: 1.198 MB / 0.5668 GB, free: 4.516 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.03e-05/0.5047, allocations: 7.984 kB / 0.5668 GB, free: 4.508 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001343/0.5049, allocations: 48 kB / 0.5669 GB, free: 4.461 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.99e-05/0.5049, allocations: 24 kB / 0.5669 GB, free: 4.438 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002676/0.5076, allocations: 1.336 MB / 0.5682 GB, free: 3.094 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.007402/0.515, allocations: 4.023 MB / 0.5721 GB, free: 14.84 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001683/0.5167, allocations: 0.905 MB / 0.573 GB, free: 13.92 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006562/0.5173, allocations: 343.7 kB / 0.5733 GB, free: 13.59 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006363/0.5237, allocations: 3.983 MB / 0.5772 GB, free: 9.125 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.054e-05/0.5237, allocations: 43.12 kB / 0.5773 GB, free: 9.074 MB / 430.1 MB Notification: Performance of pre-optimization done (n=62): time 2.474e-06/0.5237, allocations: 0 / 0.5773 GB, free: 9.074 MB / 430.1 MB Notification: Performance of matching and sorting (n=74): time 0.006069/0.5298, allocations: 2.114 MB / 0.5793 GB, free: 6.914 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.086e-05/0.5299, allocations: 64 kB / 0.5794 GB, free: 6.84 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008674/0.5307, allocations: 0.5263 MB / 0.5799 GB, free: 6.301 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.609e-05/0.5308, allocations: 41.7 kB / 0.58 GB, free: 6.254 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004653/0.5313, allocations: 0.5427 MB / 0.5805 GB, free: 5.703 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002764/0.5315, allocations: 273.7 kB / 0.5807 GB, free: 5.434 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002956/0.5318, allocations: 190.9 kB / 0.5809 GB, free: 5.242 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002151/0.5321, allocations: 382.8 kB / 0.5813 GB, free: 4.859 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004928/0.5325, allocations: 234.1 kB / 0.5815 GB, free: 4.629 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008069/0.5334, allocations: 0.5408 MB / 0.582 GB, free: 3.945 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.006897/0.5402, allocations: 2.117 MB / 0.5841 GB, free: 1.664 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.139e-05/0.5403, allocations: 8 kB / 0.5841 GB, free: 1.656 MB / 430.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.00204/0.5423, allocations: 0.9547 MB / 0.585 GB, free: 0.6914 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.064e-05/0.5423, allocations: 11.94 kB / 0.5851 GB, free: 0.6797 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.813e-05/0.5423, allocations: 12 kB / 0.5851 GB, free: 0.668 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002829/0.5426, allocations: 76.81 kB / 0.5851 GB, free: 0.5898 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007562/0.5434, allocations: 235.6 kB / 0.5854 GB, free: 368 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001948/0.5453, allocations: 1.724 MB / 0.5871 GB, free: 14.49 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000583/0.5459, allocations: 36.06 kB / 0.5871 GB, free: 14.46 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001128/0.546, allocations: 59.97 kB / 0.5871 GB, free: 14.4 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.0004888/0.5465, allocations: 249.5 kB / 0.5874 GB, free: 14.14 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001541/0.5467, allocations: 75.47 kB / 0.5875 GB, free: 14.07 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00187/0.5485, allocations: 0.838 MB / 0.5883 GB, free: 13.22 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/0.5486, allocations: 8 kB / 0.5883 GB, free: 13.21 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.5486, allocations: 4 kB / 0.5883 GB, free: 13.21 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.428e-06/0.5486, allocations: 3.984 kB / 0.5883 GB, free: 13.21 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003201/0.5518, allocations: 1.758 MB / 0.59 GB, free: 11.35 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.063e-06/0.5518, allocations: 4 kB / 0.59 GB, free: 11.35 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006985/0.5525, allocations: 183.8 kB / 0.5902 GB, free: 11.17 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002195/0.5527, allocations: 72.67 kB / 0.5903 GB, free: 11.09 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.442e-05/0.5527, allocations: 28 kB / 0.5903 GB, free: 11.07 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001739/0.5545, allocations: 1.708 MB / 0.5919 GB, free: 9.219 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.5545, allocations: 4 kB / 0.592 GB, free: 9.215 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001993/0.5565, allocations: 1.179 MB / 0.5931 GB, free: 7.98 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000206/0.5567, allocations: 148.6 kB / 0.5932 GB, free: 7.816 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.713e-05/0.5568, allocations: 23.94 kB / 0.5933 GB, free: 7.793 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003408/0.5571, allocations: 23.98 kB / 0.5933 GB, free: 7.77 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001468/0.5573, allocations: 72.45 kB / 0.5934 GB, free: 7.695 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.719e-05/0.5573, allocations: 39.98 kB / 0.5934 GB, free: 7.656 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004575/0.5578, allocations: 346.8 kB / 0.5937 GB, free: 7.32 MB / 446.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.5578, allocations: 0 / 0.5937 GB, free: 7.32 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001465/0.5593, allocations: 458.9 kB / 0.5942 GB, free: 6.871 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.003576/0.5628, allocations: 2.147 MB / 0.5963 GB, free: 4.668 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001641/0.5645, allocations: 0.7704 MB / 0.597 GB, free: 3.883 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.5645, allocations: 4.062 kB / 0.597 GB, free: 3.879 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007181/0.5652, allocations: 450.1 kB / 0.5974 GB, free: 3.43 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001006/0.5662, allocations: 187.9 kB / 0.5976 GB, free: 3.246 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0118/0.578, allocations: 6.739 MB / 0.6042 GB, free: 12.05 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008905/0.5789, allocations: 1.013 MB / 0.6052 GB, free: 11.01 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000734/0.5796, allocations: 202 kB / 0.6054 GB, free: 10.81 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007151/0.5804, allocations: 443.2 kB / 0.6058 GB, free: 10.38 MB / 462.1 MB Notification: Performance of SimCode: time 1.533e-06/0.5804, allocations: 0 / 0.6058 GB, free: 10.38 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06237/0.6427, allocations: 22.6 MB / 0.6279 GB, free: 3.914 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.77/13.42, allocations: 15.45 kB / 0.6279 GB, free: 3.902 MB / 478.1 MB " [Timeout remaining time 646] (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: 16.61978097492829] Failed to read output from testmodel.py, exit status != 0: 13.518438888946548 13.546232625 13.046551051 Calling exit ...