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.001306/0.001306, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001529/0.001529, allocations: 225.6 kB / 22.25 MB, free: 5.254 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.387/1.387, allocations: 230.6 MB / 256 MB, free: 7.781 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.1336/0.1336, allocations: 23.92 MB / 336.4 MB, free: 10.93 MB / 270.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: "" <> 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.001914/0.001914, allocations: 67.91 kB / 471.2 MB, free: 7.465 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3248/0.3267, allocations: 59.88 MB / 0.5186 GB, free: 9.492 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.0683/0.395, allocations: 26.11 MB / 0.5441 GB, free: 13.4 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01592/0.411, allocations: 10.93 MB / 0.5548 GB, free: 3.473 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001187/0.4122, allocations: 23.81 kB / 0.5548 GB, free: 3.449 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008292/0.413, allocations: 260.2 kB / 0.555 GB, free: 3.258 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003504/0.4165, allocations: 1.047 MB / 0.5561 GB, free: 2.363 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004881/0.4214, allocations: 1.572 MB / 0.5576 GB, free: 1.07 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002227/0.4236, allocations: 1.412 MB / 0.559 GB, free: 15.79 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009588/0.4246, allocations: 0.7024 MB / 0.5597 GB, free: 15.23 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008227/0.4254, allocations: 0.6896 MB / 0.5603 GB, free: 14.61 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009981/0.4264, allocations: 0.7341 MB / 0.5611 GB, free: 14 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002102/0.4266, allocations: 128 kB / 0.5612 GB, free: 13.88 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003343/0.4299, allocations: 1.154 MB / 0.5623 GB, free: 12.83 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003126/0.4302, allocations: 292.3 kB / 0.5626 GB, free: 12.59 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006057/0.4308, allocations: 0.5434 MB / 0.5631 GB, free: 12.09 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00491/0.4358, allocations: 2.716 MB / 0.5658 GB, free: 9.512 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.4358, allocations: 0 / 0.5658 GB, free: 9.512 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.4358, allocations: 0 / 0.5658 GB, free: 9.512 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.399e-05/0.4358, allocations: 0 / 0.5658 GB, free: 9.512 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.002846/0.4386, allocations: 1.575 MB / 0.5673 GB, free: 7.898 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.4387, allocations: 12.03 kB / 0.5673 GB, free: 7.887 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002052/0.4389, allocations: 173.3 kB / 0.5675 GB, free: 7.707 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001031/0.4399, allocations: 267.6 kB / 0.5677 GB, free: 7.445 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001041/0.441, allocations: 0.5542 MB / 0.5683 GB, free: 6.867 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.561e-05/0.441, allocations: 86.64 kB / 0.5684 GB, free: 6.781 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001931/0.4412, allocations: 116.3 kB / 0.5685 GB, free: 6.668 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001954/0.4432, allocations: 1.206 MB / 0.5697 GB, free: 5.418 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.745e-05/0.4432, allocations: 0 / 0.5697 GB, free: 5.418 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001018/0.4433, allocations: 44 kB / 0.5697 GB, free: 5.375 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.106e-05/0.4433, allocations: 28 kB / 0.5697 GB, free: 5.348 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002171/0.4455, allocations: 1.32 MB / 0.571 GB, free: 4.02 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.00557/0.4511, allocations: 3.082 MB / 0.574 GB, free: 0.8477 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001477/0.4526, allocations: 0.8987 MB / 0.5749 GB, free: 15.94 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005547/0.4531, allocations: 347.7 kB / 0.5752 GB, free: 15.6 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00436/0.4575, allocations: 2.017 MB / 0.5772 GB, free: 13.56 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.262e-05/0.4575, allocations: 43.06 kB / 0.5772 GB, free: 13.51 MB / 430.1 MB Notification: Performance of pre-optimization done (n=62): time 1.984e-06/0.4575, allocations: 4 kB / 0.5772 GB, free: 13.5 MB / 430.1 MB Notification: Performance of matching and sorting (n=74): time 0.004565/0.4621, allocations: 2.029 MB / 0.5792 GB, free: 11.44 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.832e-05/0.4621, allocations: 68 kB / 0.5793 GB, free: 11.36 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006392/0.4628, allocations: 0.5379 MB / 0.5798 GB, free: 10.81 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.76e-05/0.4628, allocations: 41.7 kB / 0.5799 GB, free: 10.77 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003694/0.4632, allocations: 0.5504 MB / 0.5804 GB, free: 10.21 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002106/0.4634, allocations: 273.7 kB / 0.5807 GB, free: 9.938 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002404/0.4636, allocations: 186.9 kB / 0.5808 GB, free: 9.75 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001928/0.4638, allocations: 386.7 kB / 0.5812 GB, free: 9.363 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000415/0.4642, allocations: 226.2 kB / 0.5814 GB, free: 9.145 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006775/0.4649, allocations: 0.5447 MB / 0.5819 GB, free: 8.457 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.005936/0.4709, allocations: 2.046 MB / 0.5839 GB, free: 6.266 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.553e-06/0.4709, allocations: 4 kB / 0.584 GB, free: 6.262 MB / 430.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.001674/0.4725, allocations: 0.9666 MB / 0.5849 GB, free: 5.285 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.492e-05/0.4726, allocations: 12 kB / 0.5849 GB, free: 5.273 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.334e-05/0.4726, allocations: 8 kB / 0.5849 GB, free: 5.266 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002423/0.4728, allocations: 80.8 kB / 0.585 GB, free: 5.184 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000693/0.4735, allocations: 235.6 kB / 0.5852 GB, free: 4.953 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001725/0.4752, allocations: 1.608 MB / 0.5868 GB, free: 3.23 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004739/0.4757, allocations: 35.98 kB / 0.5868 GB, free: 3.195 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.318e-05/0.4758, allocations: 52 kB / 0.5869 GB, free: 3.145 MB / 430.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.000421/0.4762, allocations: 257.2 kB / 0.5871 GB, free: 2.887 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001215/0.4763, allocations: 75.47 kB / 0.5872 GB, free: 2.812 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001719/0.4781, allocations: 0.842 MB / 0.588 GB, free: 1.957 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.065e-06/0.4781, allocations: 8 kB / 0.588 GB, free: 1.949 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.4781, allocations: 0 / 0.588 GB, free: 1.949 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/0.4781, allocations: 3.984 kB / 0.588 GB, free: 1.945 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002658/0.4807, allocations: 1.594 MB / 0.5896 GB, free: 272 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.361e-06/0.4807, allocations: 4 kB / 0.5896 GB, free: 268 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006423/0.4814, allocations: 188 kB / 0.5898 GB, free: 80 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000197/0.4816, allocations: 72.77 kB / 0.5898 GB, free: 4 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.004e-05/0.4816, allocations: 32.03 kB / 0.5899 GB, free: 15.97 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001633/0.4833, allocations: 1.6 MB / 0.5914 GB, free: 14.26 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.4833, allocations: 4 kB / 0.5914 GB, free: 14.25 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001821/0.4851, allocations: 1.183 MB / 0.5926 GB, free: 13.03 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001488/0.4853, allocations: 75.52 kB / 0.5927 GB, free: 12.96 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.488e-05/0.4853, allocations: 20 kB / 0.5927 GB, free: 12.94 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002911/0.4856, allocations: 12 kB / 0.5927 GB, free: 12.93 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001312/0.4858, allocations: 84.41 kB / 0.5928 GB, free: 12.84 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.8e-05/0.4858, allocations: 32 kB / 0.5928 GB, free: 12.81 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004229/0.4862, allocations: 346.8 kB / 0.5931 GB, free: 12.48 MB / 446.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4862, allocations: 3.938 kB / 0.5931 GB, free: 12.47 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001322/0.4876, allocations: 463 kB / 0.5936 GB, free: 12.02 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.003091/0.4907, allocations: 2.127 MB / 0.5956 GB, free: 9.824 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0015/0.4922, allocations: 0.7817 MB / 0.5964 GB, free: 9.031 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.4922, allocations: 0 / 0.5964 GB, free: 9.031 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006521/0.4928, allocations: 454.8 kB / 0.5968 GB, free: 8.574 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009321/0.4937, allocations: 183.9 kB / 0.597 GB, free: 8.398 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009951/0.5037, allocations: 6.762 MB / 0.6036 GB, free: 1.199 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004753/0.5042, allocations: 417.7 kB / 0.604 GB, free: 0.7578 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000648/0.5048, allocations: 206.2 kB / 0.6042 GB, free: 0.5547 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000608/0.5054, allocations: 447.2 kB / 0.6046 GB, free: 120 kB / 446.1 MB Notification: Performance of SimCode: time 1.012e-06/0.5054, allocations: 0 / 0.6046 GB, free: 120 kB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06272/0.5681, allocations: 24.14 MB / 0.6282 GB, free: 8.211 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.06/12.63, allocations: 0 / 0.6282 GB, free: 8.211 MB / 478.1 MB " [Timeout remaining time 647] (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: 15.444568110979162] Failed to read output from testmodel.py, exit status != 0: 12.747459822014207 12.770279728 12.330387255 Calling exit ...