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.00144/0.00144, allocations: 106.4 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.001449/0.001449, allocations: 213.7 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.6/1.6, allocations: 230.6 MB / 252.8 MB, free: 8.93 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.1508/0.1508, allocations: 23.85 MB / 332.7 MB, free: 12.33 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.002406/0.002406, allocations: 59.91 kB / 466 MB, free: 10.09 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3535/0.3559, allocations: 59.82 MB / 0.5135 GB, free: 8.863 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.04368/0.3996, allocations: 26.47 MB / 0.5393 GB, free: 14.17 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01922/0.4188, allocations: 12.39 MB / 0.5514 GB, free: 2.758 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001549/0.4203, allocations: 19.88 kB / 0.5514 GB, free: 2.738 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001193/0.4215, allocations: 278.7 kB / 0.5517 GB, free: 2.527 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00405/0.4256, allocations: 1.054 MB / 0.5527 GB, free: 1.633 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005513/0.4311, allocations: 1.562 MB / 0.5543 GB, free: 368 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003001/0.4341, allocations: 1.412 MB / 0.5556 GB, free: 15.08 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001158/0.4353, allocations: 0.6961 MB / 0.5563 GB, free: 14.52 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000993/0.4363, allocations: 0.6807 MB / 0.557 GB, free: 13.9 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001102/0.4374, allocations: 0.7275 MB / 0.5577 GB, free: 13.31 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001965/0.4375, allocations: 128 kB / 0.5578 GB, free: 13.18 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004251/0.4418, allocations: 1.205 MB / 0.559 GB, free: 12.09 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000351/0.4422, allocations: 293 kB / 0.5593 GB, free: 11.86 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007861/0.4429, allocations: 0.6602 MB / 0.5599 GB, free: 11.24 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00865/0.4516, allocations: 2.713 MB / 0.5626 GB, free: 8.98 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.185e-06/0.4516, allocations: 4 kB / 0.5626 GB, free: 8.977 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.696e-06/0.4516, allocations: 0 / 0.5626 GB, free: 8.977 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.749e-05/0.4517, allocations: 0 / 0.5626 GB, free: 8.977 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.005356/0.457, allocations: 1.664 MB / 0.5642 GB, free: 7.258 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.277e-05/0.4571, allocations: 8.031 kB / 0.5642 GB, free: 7.25 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003058/0.4574, allocations: 169.3 kB / 0.5644 GB, free: 7.074 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00185/0.4592, allocations: 255.9 kB / 0.5646 GB, free: 6.824 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001783/0.461, allocations: 0.6263 MB / 0.5652 GB, free: 6.156 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001112/0.4611, allocations: 82.64 kB / 0.5653 GB, free: 6.074 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003031/0.4614, allocations: 120.3 kB / 0.5654 GB, free: 5.957 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00341/0.4648, allocations: 1.206 MB / 0.5666 GB, free: 4.707 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.239e-05/0.4649, allocations: 0 / 0.5666 GB, free: 4.707 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001622/0.465, allocations: 48 kB / 0.5666 GB, free: 4.66 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-05/0.4651, allocations: 28 kB / 0.5667 GB, free: 4.633 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003744/0.4688, allocations: 1.328 MB / 0.568 GB, free: 3.297 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.01008/0.4789, allocations: 4.023 MB / 0.5719 GB, free: 15.04 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002607/0.4815, allocations: 0.9048 MB / 0.5728 GB, free: 14.12 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001032/0.4825, allocations: 339.7 kB / 0.5731 GB, free: 13.79 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009866/0.4924, allocations: 3.987 MB / 0.577 GB, free: 9.328 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.705e-05/0.4925, allocations: 39.12 kB / 0.577 GB, free: 9.281 MB / 430.1 MB Notification: Performance of pre-optimization done (n=62): time 4.228e-06/0.4925, allocations: 0 / 0.577 GB, free: 9.281 MB / 430.1 MB Notification: Performance of matching and sorting (n=74): time 0.008884/0.5014, allocations: 2.126 MB / 0.5791 GB, free: 7.109 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.526e-05/0.5014, allocations: 64 kB / 0.5792 GB, free: 7.035 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001215/0.5027, allocations: 0.5186 MB / 0.5797 GB, free: 6.504 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.563e-05/0.5027, allocations: 41.7 kB / 0.5797 GB, free: 6.457 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006579/0.5034, allocations: 0.5505 MB / 0.5802 GB, free: 5.898 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003997/0.5038, allocations: 277.6 kB / 0.5805 GB, free: 5.625 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004293/0.5042, allocations: 186.9 kB / 0.5807 GB, free: 5.438 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000329/0.5046, allocations: 382.8 kB / 0.5811 GB, free: 5.055 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008241/0.5054, allocations: 230.2 kB / 0.5813 GB, free: 4.828 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001256/0.5066, allocations: 0.5408 MB / 0.5818 GB, free: 4.145 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.01187/0.5185, allocations: 2.13 MB / 0.5839 GB, free: 1.852 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-05/0.5185, allocations: 4 kB / 0.5839 GB, free: 1.848 MB / 430.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.003272/0.5218, allocations: 0.9585 MB / 0.5848 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.741e-05/0.5218, allocations: 12 kB / 0.5848 GB, free: 0.8672 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.387e-05/0.5219, allocations: 8 kB / 0.5848 GB, free: 0.8594 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004545/0.5223, allocations: 72.83 kB / 0.5849 GB, free: 0.7852 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001363/0.5237, allocations: 235.6 kB / 0.5851 GB, free: 0.5547 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003104/0.5268, allocations: 1.727 MB / 0.5868 GB, free: 14.68 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009088/0.5277, allocations: 32 kB / 0.5868 GB, free: 14.65 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00016/0.5279, allocations: 63.92 kB / 0.5869 GB, free: 14.59 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.0006778/0.5285, allocations: 241.5 kB / 0.5871 GB, free: 14.34 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002571/0.5288, allocations: 83.41 kB / 0.5872 GB, free: 14.26 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003011/0.5318, allocations: 0.8381 MB / 0.588 GB, free: 13.41 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.415e-05/0.5318, allocations: 8 kB / 0.588 GB, free: 13.41 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.5318, allocations: 0 / 0.588 GB, free: 13.41 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.407e-05/0.5318, allocations: 7.984 kB / 0.5881 GB, free: 13.4 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004785/0.5366, allocations: 1.75 MB / 0.5898 GB, free: 11.55 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.061e-05/0.5366, allocations: 4 kB / 0.5898 GB, free: 11.55 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001139/0.5378, allocations: 179.8 kB / 0.5899 GB, free: 11.37 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003419/0.5381, allocations: 68.73 kB / 0.59 GB, free: 11.3 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.418e-05/0.5382, allocations: 32.31 kB / 0.59 GB, free: 11.27 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002882/0.5411, allocations: 1.716 MB / 0.5917 GB, free: 9.414 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.893e-06/0.5411, allocations: 7.969 kB / 0.5917 GB, free: 9.406 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00343/0.5445, allocations: 1.179 MB / 0.5929 GB, free: 8.172 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003192/0.5448, allocations: 148.6 kB / 0.593 GB, free: 8.008 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001322/0.545, allocations: 24 kB / 0.593 GB, free: 7.984 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005304/0.5455, allocations: 20 kB / 0.5931 GB, free: 7.965 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001994/0.5457, allocations: 68.5 kB / 0.5931 GB, free: 7.895 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001025/0.5458, allocations: 39.94 kB / 0.5932 GB, free: 7.855 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007271/0.5465, allocations: 346.8 kB / 0.5935 GB, free: 7.52 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5465, allocations: 0 / 0.5935 GB, free: 7.52 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002531/0.5491, allocations: 462.9 kB / 0.5939 GB, free: 7.066 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.005442/0.5545, allocations: 2.139 MB / 0.596 GB, free: 4.871 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002584/0.5571, allocations: 0.7821 MB / 0.5968 GB, free: 4.074 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/0.5571, allocations: 0 / 0.5968 GB, free: 4.074 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001174/0.5583, allocations: 442.1 kB / 0.5972 GB, free: 3.633 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001495/0.5598, allocations: 187 kB / 0.5974 GB, free: 3.453 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01564/0.5754, allocations: 6.747 MB / 0.604 GB, free: 12.25 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009365/0.5763, allocations: 1.009 MB / 0.605 GB, free: 11.21 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.00094/0.5773, allocations: 206 kB / 0.6052 GB, free: 11.01 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008621/0.5781, allocations: 451.1 kB / 0.6056 GB, free: 10.57 MB / 462.1 MB Notification: Performance of SimCode: time 8.22e-07/0.5781, allocations: 0 / 0.6056 GB, free: 10.57 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06968/0.6478, allocations: 22.59 MB / 0.6276 GB, free: 4.105 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.38/13.03, allocations: 4.047 kB / 0.6276 GB, free: 4.102 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.057333481992828] Failed to read output from testmodel.py, exit status != 0: 13.13240585901076 13.157742848 12.701375652 Calling exit ...