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.001812/0.001812, allocations: 103.9 kB / 16.45 MB, free: 6.5 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.001858/0.001858, allocations: 210.4 kB / 19.43 MB, free: 3.656 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.476/1.476, allocations: 230.6 MB / 252.8 MB, free: 8.953 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.1449/0.1449, allocations: 23.85 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 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.002246/0.002246, allocations: 71.89 kB / 466 MB, free: 10.07 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3042/0.3065, allocations: 59.81 MB / 0.5135 GB, free: 8.879 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.03921/0.3457, allocations: 26.66 MB / 0.5395 GB, free: 13.99 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01819/0.3639, allocations: 12.38 MB / 0.5516 GB, free: 2.594 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001036/0.3649, allocations: 19.81 kB / 0.5516 GB, free: 2.574 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001071/0.366, allocations: 286.2 kB / 0.5519 GB, free: 2.355 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00362/0.3696, allocations: 1.054 MB / 0.5529 GB, free: 1.461 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004698/0.3743, allocations: 1.551 MB / 0.5544 GB, free: 204 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002524/0.3768, allocations: 1.414 MB / 0.5558 GB, free: 14.91 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001288/0.3781, allocations: 0.7042 MB / 0.5565 GB, free: 14.34 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001131/0.3792, allocations: 0.6811 MB / 0.5572 GB, free: 13.73 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001311/0.3806, allocations: 0.7349 MB / 0.5579 GB, free: 13.13 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003654/0.3809, allocations: 128 kB / 0.558 GB, free: 13 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004391/0.3853, allocations: 1.205 MB / 0.5592 GB, free: 11.91 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005518/0.3859, allocations: 292.7 kB / 0.5595 GB, free: 11.68 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001287/0.3872, allocations: 0.6485 MB / 0.5601 GB, free: 11.07 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006944/0.3941, allocations: 2.721 MB / 0.5627 GB, free: 8.797 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/0.3941, allocations: 0 / 0.5627 GB, free: 8.797 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.3941, allocations: 4 kB / 0.5627 GB, free: 8.793 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.284e-05/0.3942, allocations: 0 / 0.5627 GB, free: 8.793 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.00433/0.3985, allocations: 1.654 MB / 0.5644 GB, free: 7.082 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.825e-05/0.3986, allocations: 8.031 kB / 0.5644 GB, free: 7.074 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000386/0.3989, allocations: 169.3 kB / 0.5645 GB, free: 6.898 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00139/0.4003, allocations: 263.9 kB / 0.5648 GB, free: 6.641 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001233/0.4016, allocations: 0.6223 MB / 0.5654 GB, free: 5.977 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.553e-05/0.4017, allocations: 86.64 kB / 0.5655 GB, free: 5.891 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002537/0.4019, allocations: 116.3 kB / 0.5656 GB, free: 5.777 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002501/0.4044, allocations: 1.202 MB / 0.5668 GB, free: 4.531 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.572e-05/0.4044, allocations: 0 / 0.5668 GB, free: 4.531 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001271/0.4046, allocations: 48 kB / 0.5668 GB, free: 4.484 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.411e-05/0.4046, allocations: 28 kB / 0.5668 GB, free: 4.457 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002583/0.4072, allocations: 1.336 MB / 0.5681 GB, free: 3.113 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.007124/0.4143, allocations: 4.023 MB / 0.5721 GB, free: 14.86 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001719/0.416, allocations: 0.898 MB / 0.5729 GB, free: 13.95 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006542/0.4167, allocations: 343.7 kB / 0.5733 GB, free: 13.61 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006086/0.4227, allocations: 3.979 MB / 0.5772 GB, free: 9.152 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.384e-05/0.4228, allocations: 39.12 kB / 0.5772 GB, free: 9.105 MB / 430.1 MB Notification: Performance of pre-optimization done (n=62): time 2.485e-06/0.4228, allocations: 4 kB / 0.5772 GB, free: 9.102 MB / 430.1 MB Notification: Performance of matching and sorting (n=74): time 0.005656/0.4285, allocations: 2.118 MB / 0.5793 GB, free: 6.938 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.356e-05/0.4285, allocations: 68 kB / 0.5793 GB, free: 6.859 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007586/0.4293, allocations: 0.5186 MB / 0.5798 GB, free: 6.328 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.262e-05/0.4293, allocations: 41.7 kB / 0.5799 GB, free: 6.281 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004258/0.4298, allocations: 0.5427 MB / 0.5804 GB, free: 5.73 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002728/0.43, allocations: 273.7 kB / 0.5807 GB, free: 5.461 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003001/0.4303, allocations: 190.9 kB / 0.5809 GB, free: 5.27 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002373/0.4306, allocations: 382.8 kB / 0.5812 GB, free: 4.887 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005043/0.4311, allocations: 230.2 kB / 0.5814 GB, free: 4.66 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007848/0.4319, allocations: 0.5525 MB / 0.582 GB, free: 3.965 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.01095/0.4428, allocations: 2.117 MB / 0.584 GB, free: 1.684 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.384e-05/0.4428, allocations: 4 kB / 0.584 GB, free: 1.68 MB / 430.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.003042/0.4459, allocations: 0.9627 MB / 0.585 GB, free: 0.707 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.171e-05/0.4459, allocations: 12.03 kB / 0.585 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.289e-05/0.4459, allocations: 12 kB / 0.585 GB, free: 0.6836 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004109/0.4463, allocations: 72.77 kB / 0.5851 GB, free: 0.6094 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00113/0.4475, allocations: 235.6 kB / 0.5853 GB, free: 388 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002613/0.4501, allocations: 1.727 MB / 0.587 GB, free: 14.51 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009189/0.451, allocations: 28 kB / 0.587 GB, free: 14.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001846/0.4512, allocations: 59.98 kB / 0.5871 GB, free: 14.42 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.0005835/0.4518, allocations: 249.5 kB / 0.5873 GB, free: 14.17 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002044/0.452, allocations: 75.47 kB / 0.5874 GB, free: 14.09 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002904/0.4549, allocations: 0.8419 MB / 0.5882 GB, free: 13.24 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.417e-05/0.4549, allocations: 11.98 kB / 0.5882 GB, free: 13.23 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.025e-05/0.4549, allocations: 4 kB / 0.5882 GB, free: 13.23 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.752e-05/0.4549, allocations: 3.984 kB / 0.5882 GB, free: 13.22 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004621/0.4595, allocations: 1.754 MB / 0.5899 GB, free: 11.37 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.847e-06/0.4596, allocations: 0 / 0.5899 GB, free: 11.37 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001154/0.4607, allocations: 175.8 kB / 0.5901 GB, free: 11.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002434/0.4609, allocations: 76.67 kB / 0.5902 GB, free: 11.12 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001072/0.4611, allocations: 31.98 kB / 0.5902 GB, free: 11.09 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002877/0.4639, allocations: 1.715 MB / 0.5919 GB, free: 9.234 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.125e-06/0.4639, allocations: 4 kB / 0.5919 GB, free: 9.23 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003268/0.4672, allocations: 1.183 MB / 0.593 GB, free: 7.992 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003511/0.4676, allocations: 148.6 kB / 0.5932 GB, free: 7.828 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001359/0.4677, allocations: 20 kB / 0.5932 GB, free: 7.809 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004651/0.4682, allocations: 16 kB / 0.5932 GB, free: 7.793 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002254/0.4684, allocations: 84.42 kB / 0.5933 GB, free: 7.707 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000107/0.4685, allocations: 36 kB / 0.5933 GB, free: 7.672 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007631/0.4693, allocations: 346.8 kB / 0.5937 GB, free: 7.336 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4693, allocations: 0 / 0.5937 GB, free: 7.336 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002191/0.4714, allocations: 462.9 kB / 0.5941 GB, free: 6.883 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.005007/0.4765, allocations: 2.143 MB / 0.5962 GB, free: 4.684 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001951/0.4784, allocations: 0.7699 MB / 0.597 GB, free: 3.898 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/0.4784, allocations: 0.5 kB / 0.597 GB, free: 3.898 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001061/0.4795, allocations: 454.1 kB / 0.5974 GB, free: 3.445 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001531/0.481, allocations: 183.4 kB / 0.5976 GB, free: 3.27 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01731/0.4983, allocations: 6.736 MB / 0.6041 GB, free: 12.08 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001356/0.4997, allocations: 1.017 MB / 0.6051 GB, free: 11.03 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001056/0.5007, allocations: 206 kB / 0.6053 GB, free: 10.83 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009668/0.5017, allocations: 443.2 kB / 0.6057 GB, free: 10.39 MB / 462.1 MB Notification: Performance of SimCode: time 9.61e-07/0.5017, allocations: 0 / 0.6057 GB, free: 10.39 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08562/0.5873, allocations: 22.6 MB / 0.6278 GB, free: 3.93 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.65/13.23, allocations: 11.38 kB / 0.6278 GB, free: 3.922 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_Chemical_Obsolete_Examples_WaterSublimation_fmu --startTime=0 --stopTime=49.7 --stepSize=0.01988 --timeout=50 --tolerance=1e-06 Chemical_Chemical_Obsolete_Examples_WaterSublimation.fmu > Chemical_Chemical.Obsolete.Examples.WaterSublimation.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.975914153037593] Failed to read output from testmodel.py, exit status != 0: 13.337598294951022 13.36480415 12.965487745 Calling exit ...