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.001352/0.001352, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001631/0.001631, allocations: 214.3 kB / 22.25 MB, free: 4.859 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 / 256 MB, free: 7.805 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.1415/0.1415, allocations: 23.99 MB / 336.4 MB, free: 10.86 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.002255/0.002255, allocations: 71.91 kB / 471.3 MB, free: 7.363 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3071/0.3094, allocations: 59.89 MB / 0.5187 GB, free: 9.465 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.07131/0.3807, allocations: 26.21 MB / 0.5443 GB, free: 13.23 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01792/0.3986, allocations: 10.92 MB / 0.555 GB, free: 3.305 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000966/0.3996, allocations: 15.88 kB / 0.555 GB, free: 3.289 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009035/0.4005, allocations: 258.8 kB / 0.5552 GB, free: 3.098 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00309/0.4036, allocations: 1.045 MB / 0.5563 GB, free: 2.207 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004998/0.4086, allocations: 1.575 MB / 0.5578 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002176/0.4107, allocations: 1.415 MB / 0.5592 GB, free: 15.63 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001247/0.412, allocations: 0.6831 MB / 0.5599 GB, free: 15.08 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00126/0.4132, allocations: 0.6884 MB / 0.5605 GB, free: 14.46 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001073/0.4143, allocations: 0.6448 MB / 0.5612 GB, free: 13.95 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003472/0.4147, allocations: 124 kB / 0.5613 GB, free: 13.82 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003378/0.418, allocations: 1.138 MB / 0.5624 GB, free: 12.79 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003557/0.4184, allocations: 288.9 kB / 0.5627 GB, free: 12.55 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006842/0.4191, allocations: 0.5473 MB / 0.5632 GB, free: 12.05 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004825/0.4239, allocations: 2.709 MB / 0.5658 GB, free: 9.477 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.4239, allocations: 0 / 0.5658 GB, free: 9.477 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.4239, allocations: 0 / 0.5658 GB, free: 9.477 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.365e-05/0.4239, allocations: 7.938 kB / 0.5658 GB, free: 9.469 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.002878/0.4268, allocations: 1.575 MB / 0.5674 GB, free: 7.855 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.4269, allocations: 8.031 kB / 0.5674 GB, free: 7.848 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002054/0.4271, allocations: 173.3 kB / 0.5676 GB, free: 7.668 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001075/0.4281, allocations: 271.6 kB / 0.5678 GB, free: 7.402 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00109/0.4292, allocations: 0.5542 MB / 0.5684 GB, free: 6.824 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.604e-05/0.4293, allocations: 90.64 kB / 0.5684 GB, free: 6.734 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001962/0.4295, allocations: 116.3 kB / 0.5686 GB, free: 6.621 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002135/0.4316, allocations: 1.198 MB / 0.5697 GB, free: 5.379 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.593e-05/0.4317, allocations: 3.938 kB / 0.5697 GB, free: 5.375 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001044/0.4318, allocations: 48 kB / 0.5698 GB, free: 5.328 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.872e-05/0.4318, allocations: 28 kB / 0.5698 GB, free: 5.301 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002313/0.4341, allocations: 1.32 MB / 0.5711 GB, free: 3.973 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.005967/0.4401, allocations: 3.082 MB / 0.5741 GB, free: 0.8008 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001579/0.4417, allocations: 0.8971 MB / 0.575 GB, free: 15.9 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006037/0.4423, allocations: 339.7 kB / 0.5753 GB, free: 15.56 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004634/0.4469, allocations: 2.017 MB / 0.5773 GB, free: 13.53 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.658e-05/0.4469, allocations: 39.06 kB / 0.5773 GB, free: 13.48 MB / 430.1 MB Notification: Performance of pre-optimization done (n=62): time 2.455e-06/0.4469, allocations: 0 / 0.5773 GB, free: 13.48 MB / 430.1 MB Notification: Performance of matching and sorting (n=74): time 0.005318/0.4523, allocations: 2.037 MB / 0.5793 GB, free: 11.41 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.257e-05/0.4523, allocations: 64 kB / 0.5794 GB, free: 11.34 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007308/0.453, allocations: 0.5379 MB / 0.5799 GB, free: 10.79 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.052e-05/0.4531, allocations: 37.7 kB / 0.5799 GB, free: 10.74 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004318/0.4535, allocations: 0.5543 MB / 0.5805 GB, free: 10.18 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002395/0.4538, allocations: 273.7 kB / 0.5807 GB, free: 9.91 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002644/0.454, allocations: 186.9 kB / 0.5809 GB, free: 9.723 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002346/0.4543, allocations: 382.8 kB / 0.5813 GB, free: 9.34 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004587/0.4547, allocations: 226.2 kB / 0.5815 GB, free: 9.121 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007983/0.4555, allocations: 0.5486 MB / 0.582 GB, free: 8.43 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.006551/0.4621, allocations: 2.046 MB / 0.584 GB, free: 6.238 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.666e-06/0.4621, allocations: 4 kB / 0.584 GB, free: 6.234 MB / 430.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.001866/0.4639, allocations: 0.9579 MB / 0.585 GB, free: 5.266 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.275e-05/0.464, allocations: 12.91 kB / 0.585 GB, free: 5.254 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.799e-05/0.464, allocations: 12 kB / 0.585 GB, free: 5.242 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002606/0.4642, allocations: 80.81 kB / 0.5851 GB, free: 5.16 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007535/0.465, allocations: 235.6 kB / 0.5853 GB, free: 4.93 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001907/0.4669, allocations: 1.616 MB / 0.5869 GB, free: 3.199 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005192/0.4674, allocations: 32 kB / 0.5869 GB, free: 3.168 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.332e-05/0.4675, allocations: 55.98 kB / 0.5869 GB, free: 3.113 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.0004428/0.468, allocations: 258.1 kB / 0.5872 GB, free: 2.852 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001456/0.4681, allocations: 79.45 kB / 0.5873 GB, free: 2.773 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001843/0.4699, allocations: 0.838 MB / 0.5881 GB, free: 1.922 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.476e-06/0.47, allocations: 8 kB / 0.5881 GB, free: 1.914 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.47, allocations: 0 / 0.5881 GB, free: 1.914 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.001e-05/0.47, allocations: 7.922 kB / 0.5881 GB, free: 1.906 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002984/0.4729, allocations: 1.598 MB / 0.5897 GB, free: 228 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.203e-06/0.473, allocations: 4 kB / 0.5897 GB, free: 224 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006886/0.4736, allocations: 183.7 kB / 0.5898 GB, free: 40 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003468/0.474, allocations: 64.77 kB / 0.5899 GB, free: 15.97 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.476e-05/0.4741, allocations: 32.3 kB / 0.5899 GB, free: 15.94 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002093/0.4762, allocations: 1.596 MB / 0.5915 GB, free: 14.23 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.688e-06/0.4762, allocations: 4.031 kB / 0.5915 GB, free: 14.23 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00219/0.4783, allocations: 1.186 MB / 0.5927 GB, free: 13 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002004/0.4785, allocations: 67.48 kB / 0.5927 GB, free: 12.93 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001137/0.4787, allocations: 24.03 kB / 0.5927 GB, free: 12.91 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003514/0.479, allocations: 20 kB / 0.5928 GB, free: 12.89 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000139/0.4791, allocations: 80.41 kB / 0.5928 GB, free: 12.81 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.48e-05/0.4792, allocations: 32 kB / 0.5929 GB, free: 12.78 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00055/0.4798, allocations: 346.8 kB / 0.5932 GB, free: 12.44 MB / 446.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4798, allocations: 0 / 0.5932 GB, free: 12.44 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001509/0.4813, allocations: 459 kB / 0.5936 GB, free: 11.99 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.003795/0.4851, allocations: 2.143 MB / 0.5957 GB, free: 9.781 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002513/0.4876, allocations: 0.7848 MB / 0.5965 GB, free: 8.988 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.813e-06/0.4876, allocations: 0 / 0.5965 GB, free: 8.988 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001126/0.4887, allocations: 447.9 kB / 0.5969 GB, free: 8.539 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001704/0.4904, allocations: 186.4 kB / 0.5971 GB, free: 8.355 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01745/0.5079, allocations: 6.755 MB / 0.6037 GB, free: 1.16 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005982/0.5085, allocations: 425.7 kB / 0.6041 GB, free: 0.7109 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0007586/0.5092, allocations: 194.1 kB / 0.6043 GB, free: 0.5195 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000707/0.5099, allocations: 447.2 kB / 0.6047 GB, free: 84 kB / 446.1 MB Notification: Performance of SimCode: time 1.092e-06/0.5099, allocations: 4 kB / 0.6047 GB, free: 80 kB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07/0.5799, allocations: 23.82 MB / 0.628 GB, free: 8.496 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.71/13.29, allocations: 7.031 kB / 0.628 GB, free: 8.492 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: 16.09732183115557] Failed to read output from testmodel.py, exit status != 0: 13.414979367051274 13.434443644 13.006932379 Calling exit ...