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.001325/0.001325, allocations: 99.64 kB / 18.95 MB, free: 2.668 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: 213.8 kB / 22.25 MB, free: 5.262 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.521/1.521, allocations: 230.6 MB / 256 MB, free: 7.777 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.1531/0.1531, allocations: 23.89 MB / 336.3 MB, free: 10.94 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.00242/0.00242, allocations: 64.09 kB / 471.1 MB, free: 7.5 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3575/0.3599, allocations: 59.85 MB / 0.5185 GB, free: 9.523 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.07687/0.4367, allocations: 26.21 MB / 0.5441 GB, free: 13.4 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01925/0.456, allocations: 10.93 MB / 0.5548 GB, free: 3.469 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001241/0.4572, allocations: 15.88 kB / 0.5548 GB, free: 3.453 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001244/0.4585, allocations: 261.4 kB / 0.555 GB, free: 3.262 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003986/0.4625, allocations: 1.05 MB / 0.5561 GB, free: 2.363 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007143/0.4696, allocations: 1.576 MB / 0.5576 GB, free: 1.066 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003284/0.4729, allocations: 1.414 MB / 0.559 GB, free: 15.79 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001846/0.4747, allocations: 0.6792 MB / 0.5597 GB, free: 15.24 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001503/0.4762, allocations: 0.6851 MB / 0.5603 GB, free: 14.62 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001529/0.4778, allocations: 0.6444 MB / 0.561 GB, free: 14.11 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004872/0.4783, allocations: 132 kB / 0.5611 GB, free: 13.98 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00422/0.4825, allocations: 1.131 MB / 0.5622 GB, free: 12.95 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005254/0.483, allocations: 292.2 kB / 0.5625 GB, free: 12.71 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008676/0.4839, allocations: 0.5473 MB / 0.563 GB, free: 12.21 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005821/0.4897, allocations: 2.713 MB / 0.5656 GB, free: 9.645 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.4897, allocations: 0 / 0.5656 GB, free: 9.645 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.4897, allocations: 0 / 0.5656 GB, free: 9.645 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.79e-05/0.4897, allocations: 3.938 kB / 0.5656 GB, free: 9.641 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.003199/0.4929, allocations: 1.579 MB / 0.5672 GB, free: 8.023 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.992e-05/0.493, allocations: 12.03 kB / 0.5672 GB, free: 8.012 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002301/0.4932, allocations: 165.4 kB / 0.5674 GB, free: 7.84 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001128/0.4943, allocations: 259.9 kB / 0.5676 GB, free: 7.586 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001063/0.4954, allocations: 0.562 MB / 0.5682 GB, free: 7 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.653e-05/0.4955, allocations: 86.64 kB / 0.5682 GB, free: 6.914 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001821/0.4957, allocations: 116.3 kB / 0.5684 GB, free: 6.801 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002068/0.4977, allocations: 1.206 MB / 0.5695 GB, free: 5.551 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.794e-05/0.4978, allocations: 4 kB / 0.5695 GB, free: 5.547 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.729e-05/0.4979, allocations: 48 kB / 0.5696 GB, free: 5.5 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.916e-05/0.4979, allocations: 28 kB / 0.5696 GB, free: 5.473 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002221/0.5001, allocations: 1.32 MB / 0.5709 GB, free: 4.145 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.00585/0.506, allocations: 3.07 MB / 0.5739 GB, free: 0.9844 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001511/0.5075, allocations: 0.9051 MB / 0.5748 GB, free: 80 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006178/0.5081, allocations: 343.7 kB / 0.5751 GB, free: 15.74 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004674/0.5128, allocations: 2.017 MB / 0.5771 GB, free: 13.7 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.525e-05/0.5128, allocations: 39.06 kB / 0.5771 GB, free: 13.65 MB / 430.1 MB Notification: Performance of pre-optimization done (n=62): time 2.234e-06/0.5128, allocations: 0 / 0.5771 GB, free: 13.65 MB / 430.1 MB Notification: Performance of matching and sorting (n=74): time 0.005195/0.518, allocations: 2.04 MB / 0.5791 GB, free: 11.58 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.241e-05/0.5181, allocations: 64 kB / 0.5792 GB, free: 11.51 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000654/0.5187, allocations: 0.5418 MB / 0.5797 GB, free: 10.95 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.869e-05/0.5188, allocations: 41.7 kB / 0.5797 GB, free: 10.91 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003889/0.5191, allocations: 0.5466 MB / 0.5803 GB, free: 10.35 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002191/0.5194, allocations: 269.7 kB / 0.5805 GB, free: 10.09 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002529/0.5196, allocations: 194.9 kB / 0.5807 GB, free: 9.891 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002047/0.5198, allocations: 382.8 kB / 0.5811 GB, free: 9.508 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004391/0.5203, allocations: 222.2 kB / 0.5813 GB, free: 9.293 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007033/0.521, allocations: 0.5526 MB / 0.5818 GB, free: 8.598 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.006328/0.5273, allocations: 2.05 MB / 0.5838 GB, free: 6.402 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/0.5273, allocations: 0 / 0.5838 GB, free: 6.402 MB / 430.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.001745/0.529, allocations: 0.9588 MB / 0.5848 GB, free: 5.434 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.279e-05/0.5291, allocations: 14.44 kB / 0.5848 GB, free: 5.422 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.908e-05/0.5291, allocations: 12.09 kB / 0.5848 GB, free: 5.41 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002582/0.5293, allocations: 80.81 kB / 0.5849 GB, free: 5.328 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007379/0.5301, allocations: 235.6 kB / 0.5851 GB, free: 5.098 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001826/0.5319, allocations: 1.612 MB / 0.5867 GB, free: 3.371 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005126/0.5324, allocations: 28 kB / 0.5867 GB, free: 3.344 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.481e-05/0.5325, allocations: 64.03 kB / 0.5868 GB, free: 3.281 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.0004263/0.5329, allocations: 254 kB / 0.587 GB, free: 3.023 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001298/0.5331, allocations: 75.47 kB / 0.5871 GB, free: 2.949 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001717/0.5348, allocations: 0.8418 MB / 0.5879 GB, free: 2.094 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.135e-06/0.5348, allocations: 8 kB / 0.5879 GB, free: 2.086 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.5348, allocations: 4 kB / 0.5879 GB, free: 2.082 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.638e-06/0.5348, allocations: 3.984 kB / 0.5879 GB, free: 2.078 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002721/0.5375, allocations: 1.598 MB / 0.5895 GB, free: 404 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.733e-06/0.5375, allocations: 4 kB / 0.5895 GB, free: 400 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006617/0.5382, allocations: 179.8 kB / 0.5896 GB, free: 220 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002024/0.5384, allocations: 69.08 kB / 0.5897 GB, free: 148 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.429e-05/0.5385, allocations: 35.98 kB / 0.5897 GB, free: 112 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001664/0.5401, allocations: 1.596 MB / 0.5913 GB, free: 14.4 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.5401, allocations: 0 / 0.5913 GB, free: 14.4 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00191/0.542, allocations: 1.186 MB / 0.5925 GB, free: 13.17 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001531/0.5422, allocations: 75.52 kB / 0.5925 GB, free: 13.09 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.347e-05/0.5423, allocations: 15.94 kB / 0.5925 GB, free: 13.08 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003202/0.5426, allocations: 23.98 kB / 0.5926 GB, free: 13.05 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001317/0.5427, allocations: 72.48 kB / 0.5926 GB, free: 12.98 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.344e-05/0.5428, allocations: 39.98 kB / 0.5927 GB, free: 12.95 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004257/0.5432, allocations: 346.8 kB / 0.593 GB, free: 12.61 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5432, allocations: 0 / 0.593 GB, free: 12.61 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001454/0.5447, allocations: 455 kB / 0.5934 GB, free: 12.16 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.003749/0.5484, allocations: 2.149 MB / 0.5955 GB, free: 9.949 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001716/0.5501, allocations: 0.7805 MB / 0.5963 GB, free: 9.16 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.282e-06/0.5501, allocations: 1.562 kB / 0.5963 GB, free: 9.16 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006857/0.5508, allocations: 446.8 kB / 0.5967 GB, free: 8.711 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001027/0.5519, allocations: 179.4 kB / 0.5969 GB, free: 8.531 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01075/0.5626, allocations: 6.758 MB / 0.6035 GB, free: 1.332 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005323/0.5631, allocations: 425.7 kB / 0.6039 GB, free: 0.8828 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0007308/0.5639, allocations: 202 kB / 0.6041 GB, free: 0.6836 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006179/0.5645, allocations: 439.2 kB / 0.6045 GB, free: 260 kB / 446.1 MB Notification: Performance of SimCode: time 1.363e-06/0.5645, allocations: 0 / 0.6045 GB, free: 260 kB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06415/0.6286, allocations: 23.81 MB / 0.6278 GB, free: 8.684 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.55/13.18, allocations: 3.859 kB / 0.6278 GB, free: 8.68 MB / 478.1 MB " [Timeout remaining time 647] (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: 16.13269044039771] Failed to read output from testmodel.py, exit status != 0: 13.301369787193835 13.317336651 12.824241329 Calling exit ...