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.001547/0.001547, 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.00138/0.00138, allocations: 215.7 kB / 22.25 MB, free: 5.258 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.454/1.454, allocations: 230.6 MB / 256 MB, free: 7.793 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.1412/0.1412, allocations: 23.89 MB / 336.3 MB, free: 11.03 MB / 270.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="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: 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.001982/0.001982, allocations: 71.89 kB / 471.1 MB, free: 7.508 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3374/0.3393, allocations: 59.86 MB / 0.5185 GB, free: 9.547 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.07221/0.4116, allocations: 26.13 MB / 0.544 GB, free: 13.46 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01523/0.4268, allocations: 10.92 MB / 0.5547 GB, free: 3.531 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009688/0.4278, allocations: 23.81 kB / 0.5547 GB, free: 3.508 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000783/0.4285, allocations: 259.7 kB / 0.555 GB, free: 3.316 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003627/0.4322, allocations: 1.04 MB / 0.556 GB, free: 2.43 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005877/0.438, allocations: 1.576 MB / 0.5575 GB, free: 1.133 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002557/0.4406, allocations: 1.419 MB / 0.5589 GB, free: 15.85 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009777/0.4416, allocations: 0.6947 MB / 0.5596 GB, free: 15.29 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008387/0.4424, allocations: 0.6967 MB / 0.5603 GB, free: 14.66 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009817/0.4434, allocations: 0.7234 MB / 0.561 GB, free: 14.07 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001988/0.4436, allocations: 131.9 kB / 0.5611 GB, free: 13.94 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003253/0.4468, allocations: 1.153 MB / 0.5622 GB, free: 12.89 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003288/0.4472, allocations: 297.1 kB / 0.5625 GB, free: 12.64 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005873/0.4478, allocations: 0.5437 MB / 0.563 GB, free: 12.15 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004685/0.4524, allocations: 2.718 MB / 0.5657 GB, free: 9.578 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.4525, allocations: 0 / 0.5657 GB, free: 9.578 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.4525, allocations: 0 / 0.5657 GB, free: 9.578 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.467e-05/0.4525, allocations: 0 / 0.5657 GB, free: 9.578 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.002649/0.4551, allocations: 1.575 MB / 0.5672 GB, free: 7.965 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.675e-05/0.4552, allocations: 12.03 kB / 0.5673 GB, free: 7.953 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001936/0.4554, allocations: 173.3 kB / 0.5674 GB, free: 7.773 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00106/0.4564, allocations: 259.9 kB / 0.5677 GB, free: 7.52 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001014/0.4574, allocations: 0.562 MB / 0.5682 GB, free: 6.934 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.053e-05/0.4575, allocations: 82.64 kB / 0.5683 GB, free: 6.852 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001989/0.4577, allocations: 128.3 kB / 0.5684 GB, free: 6.727 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001946/0.4596, allocations: 1.202 MB / 0.5696 GB, free: 5.48 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.61e-05/0.4597, allocations: 0 / 0.5696 GB, free: 5.48 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.41e-05/0.4598, allocations: 44 kB / 0.5696 GB, free: 5.438 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.017e-05/0.4598, allocations: 28 kB / 0.5697 GB, free: 5.41 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002216/0.462, allocations: 1.32 MB / 0.5709 GB, free: 4.082 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.005781/0.4678, allocations: 3.078 MB / 0.574 GB, free: 0.9141 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001445/0.4692, allocations: 0.8946 MB / 0.5748 GB, free: 12 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005698/0.4698, allocations: 339.7 kB / 0.5752 GB, free: 15.68 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004324/0.4741, allocations: 2.017 MB / 0.5771 GB, free: 13.64 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.274e-05/0.4742, allocations: 47.05 kB / 0.5772 GB, free: 13.58 MB / 430.1 MB Notification: Performance of pre-optimization done (n=62): time 2.364e-06/0.4742, allocations: 0 / 0.5772 GB, free: 13.58 MB / 430.1 MB Notification: Performance of matching and sorting (n=74): time 0.004585/0.4788, allocations: 2.033 MB / 0.5792 GB, free: 11.52 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.688e-05/0.4788, allocations: 64 kB / 0.5792 GB, free: 11.44 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006164/0.4794, allocations: 0.5418 MB / 0.5797 GB, free: 10.89 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.486e-05/0.4795, allocations: 37.7 kB / 0.5798 GB, free: 10.84 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003651/0.4798, allocations: 0.5465 MB / 0.5803 GB, free: 10.29 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002104/0.48, allocations: 269.7 kB / 0.5806 GB, free: 10.02 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000248/0.4803, allocations: 198.9 kB / 0.5808 GB, free: 9.824 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001843/0.4805, allocations: 382.8 kB / 0.5811 GB, free: 9.441 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004199/0.4809, allocations: 226.2 kB / 0.5813 GB, free: 9.223 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000694/0.4816, allocations: 0.5447 MB / 0.5819 GB, free: 8.535 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.00615/0.4877, allocations: 2.05 MB / 0.5839 GB, free: 6.34 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.4877, allocations: 0 / 0.5839 GB, free: 6.34 MB / 430.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.00173/0.4895, allocations: 0.9666 MB / 0.5848 GB, free: 5.363 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.449e-05/0.4895, allocations: 8 kB / 0.5848 GB, free: 5.355 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.786e-05/0.4895, allocations: 15.94 kB / 0.5848 GB, free: 5.34 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002636/0.4898, allocations: 72.81 kB / 0.5849 GB, free: 5.266 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007198/0.4905, allocations: 239.6 kB / 0.5851 GB, free: 5.031 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001721/0.4922, allocations: 1.62 MB / 0.5867 GB, free: 3.297 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005473/0.4928, allocations: 28 kB / 0.5867 GB, free: 3.27 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.11e-05/0.4929, allocations: 55.98 kB / 0.5868 GB, free: 3.215 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.0004993/0.4934, allocations: 254 kB / 0.587 GB, free: 2.957 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001304/0.4935, allocations: 75.47 kB / 0.5871 GB, free: 2.883 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001758/0.4952, allocations: 0.8381 MB / 0.5879 GB, free: 2.031 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.4952, allocations: 8 kB / 0.5879 GB, free: 2.023 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.4953, allocations: 4 kB / 0.5879 GB, free: 2.02 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/0.4953, allocations: 3.984 kB / 0.5879 GB, free: 2.016 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002725/0.498, allocations: 1.594 MB / 0.5895 GB, free: 344 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.436e-06/0.498, allocations: 7.984 kB / 0.5895 GB, free: 336 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006474/0.4986, allocations: 180.1 kB / 0.5897 GB, free: 156 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002107/0.4989, allocations: 72.69 kB / 0.5898 GB, free: 80 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.329e-05/0.4989, allocations: 31.98 kB / 0.5898 GB, free: 48 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001572/0.5005, allocations: 1.6 MB / 0.5913 GB, free: 14.33 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.5005, allocations: 0 / 0.5913 GB, free: 14.33 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001833/0.5023, allocations: 1.183 MB / 0.5925 GB, free: 13.11 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001587/0.5025, allocations: 75.52 kB / 0.5926 GB, free: 13.04 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.656e-05/0.5026, allocations: 20 kB / 0.5926 GB, free: 13.02 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003071/0.5029, allocations: 20 kB / 0.5926 GB, free: 13 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001285/0.503, allocations: 84.34 kB / 0.5927 GB, free: 12.91 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.126e-05/0.5031, allocations: 39.98 kB / 0.5927 GB, free: 12.88 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004226/0.5035, allocations: 346.8 kB / 0.5931 GB, free: 12.54 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5035, allocations: 4 kB / 0.5931 GB, free: 12.54 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001314/0.5048, allocations: 455 kB / 0.5935 GB, free: 12.09 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.00306/0.5079, allocations: 2.13 MB / 0.5956 GB, free: 9.895 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001413/0.5093, allocations: 0.7855 MB / 0.5963 GB, free: 9.098 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.706e-06/0.5093, allocations: 0 / 0.5963 GB, free: 9.098 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006285/0.5099, allocations: 450.7 kB / 0.5968 GB, free: 8.645 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008423/0.5107, allocations: 181.7 kB / 0.5969 GB, free: 8.469 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009353/0.5201, allocations: 6.766 MB / 0.6036 GB, free: 1.266 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004599/0.5206, allocations: 421.7 kB / 0.604 GB, free: 0.8203 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006549/0.5212, allocations: 202 kB / 0.6041 GB, free: 0.6211 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005805/0.5218, allocations: 447.2 kB / 0.6046 GB, free: 188 kB / 446.1 MB Notification: Performance of SimCode: time 1.552e-06/0.5218, allocations: 0 / 0.6046 GB, free: 188 kB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0641/0.5859, allocations: 24.14 MB / 0.6281 GB, free: 8.293 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.64/12.22, allocations: 4.062 kB / 0.6281 GB, free: 8.289 MB / 478.1 MB " [Timeout remaining time 648] (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: 15.057862376008416] Failed to read output from testmodel.py, exit status != 0: 12.342752836993895 12.357415689 11.901941696 Calling exit ...