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.001529/0.001529, 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.00172/0.00172, allocations: 222.8 kB / 22.25 MB, free: 5.254 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.366/1.366, allocations: 230.6 MB / 256 MB, free: 7.789 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.1259/0.1259, allocations: 23.93 MB / 336.4 MB, free: 10.91 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.001964/0.001964, allocations: 71.91 kB / 471.2 MB, free: 7.453 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3006/0.3026, allocations: 59.88 MB / 0.5186 GB, free: 9.57 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.07246/0.3751, allocations: 26.06 MB / 0.5441 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01525/0.3903, allocations: 10.93 MB / 0.5547 GB, free: 3.488 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009019/0.3912, allocations: 15.88 kB / 0.5548 GB, free: 3.473 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008453/0.3921, allocations: 267 kB / 0.555 GB, free: 3.273 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003172/0.3952, allocations: 1.037 MB / 0.556 GB, free: 2.391 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004318/0.3995, allocations: 1.579 MB / 0.5576 GB, free: 1.09 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002189/0.4017, allocations: 1.421 MB / 0.559 GB, free: 15.8 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009844/0.4027, allocations: 0.691 MB / 0.5596 GB, free: 15.25 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008363/0.4036, allocations: 0.6926 MB / 0.5603 GB, free: 14.62 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001114/0.4047, allocations: 0.7233 MB / 0.561 GB, free: 14.03 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001871/0.4049, allocations: 128 kB / 0.5611 GB, free: 13.91 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003066/0.4079, allocations: 1.161 MB / 0.5623 GB, free: 12.85 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003213/0.4082, allocations: 296.6 kB / 0.5626 GB, free: 12.61 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006782/0.4089, allocations: 0.5441 MB / 0.5631 GB, free: 12.11 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005515/0.4144, allocations: 2.718 MB / 0.5657 GB, free: 9.523 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.4144, allocations: 0 / 0.5657 GB, free: 9.523 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.4144, allocations: 0 / 0.5657 GB, free: 9.523 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.824e-05/0.4145, allocations: 0 / 0.5657 GB, free: 9.523 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.002919/0.4174, allocations: 1.579 MB / 0.5673 GB, free: 7.906 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.4174, allocations: 12.03 kB / 0.5673 GB, free: 7.895 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002031/0.4176, allocations: 169.3 kB / 0.5675 GB, free: 7.719 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001152/0.4188, allocations: 267.6 kB / 0.5677 GB, free: 7.457 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001017/0.4198, allocations: 0.5581 MB / 0.5683 GB, free: 6.875 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.561e-05/0.4199, allocations: 86.64 kB / 0.5683 GB, free: 6.789 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001891/0.4201, allocations: 116.3 kB / 0.5684 GB, free: 6.676 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002085/0.4221, allocations: 1.202 MB / 0.5696 GB, free: 5.43 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.574e-05/0.4222, allocations: 0 / 0.5696 GB, free: 5.43 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001054/0.4223, allocations: 44 kB / 0.5697 GB, free: 5.387 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.694e-05/0.4223, allocations: 31.94 kB / 0.5697 GB, free: 5.355 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002237/0.4245, allocations: 1.321 MB / 0.571 GB, free: 4.027 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.005972/0.4305, allocations: 3.078 MB / 0.574 GB, free: 0.8594 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001575/0.4321, allocations: 0.8909 MB / 0.5749 GB, free: 15.96 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006073/0.4327, allocations: 343.7 kB / 0.5752 GB, free: 15.62 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004678/0.4374, allocations: 2.017 MB / 0.5772 GB, free: 13.58 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.286e-05/0.4374, allocations: 43.05 kB / 0.5772 GB, free: 13.53 MB / 430.1 MB Notification: Performance of pre-optimization done (n=62): time 2.334e-06/0.4374, allocations: 3.938 kB / 0.5772 GB, free: 13.53 MB / 430.1 MB Notification: Performance of matching and sorting (n=74): time 0.005007/0.4424, allocations: 2.028 MB / 0.5792 GB, free: 11.47 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.019e-05/0.4425, allocations: 63.94 kB / 0.5792 GB, free: 11.39 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006655/0.4431, allocations: 0.5418 MB / 0.5798 GB, free: 10.84 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.352e-05/0.4432, allocations: 37.7 kB / 0.5798 GB, free: 10.8 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003847/0.4436, allocations: 0.5466 MB / 0.5803 GB, free: 10.24 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002261/0.4438, allocations: 273.7 kB / 0.5806 GB, free: 9.973 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002639/0.4441, allocations: 198.9 kB / 0.5808 GB, free: 9.773 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001806/0.4443, allocations: 390.6 kB / 0.5812 GB, free: 9.383 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004448/0.4447, allocations: 226.2 kB / 0.5814 GB, free: 9.164 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006857/0.4454, allocations: 0.5408 MB / 0.5819 GB, free: 8.48 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.006608/0.452, allocations: 2.046 MB / 0.5839 GB, free: 6.289 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.513e-06/0.452, allocations: 4 kB / 0.5839 GB, free: 6.285 MB / 430.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.001724/0.4537, allocations: 0.962 MB / 0.5848 GB, free: 5.312 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.311e-05/0.4537, allocations: 12 kB / 0.5849 GB, free: 5.301 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.369e-05/0.4538, allocations: 8 kB / 0.5849 GB, free: 5.293 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002526/0.454, allocations: 77.5 kB / 0.5849 GB, free: 5.215 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007239/0.4547, allocations: 243.6 kB / 0.5852 GB, free: 4.977 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00165/0.4564, allocations: 1.616 MB / 0.5868 GB, free: 3.246 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004773/0.4569, allocations: 32 kB / 0.5868 GB, free: 3.215 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.94e-05/0.4569, allocations: 55.98 kB / 0.5868 GB, free: 3.16 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.0004048/0.4574, allocations: 259.9 kB / 0.5871 GB, free: 2.898 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000125/0.4575, allocations: 79.47 kB / 0.5872 GB, free: 2.82 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001745/0.4592, allocations: 0.838 MB / 0.588 GB, free: 1.969 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.867e-06/0.4592, allocations: 8 kB / 0.588 GB, free: 1.961 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.4592, allocations: 3.938 kB / 0.588 GB, free: 1.957 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.125e-06/0.4592, allocations: 3.984 kB / 0.588 GB, free: 1.953 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00272/0.462, allocations: 1.598 MB / 0.5896 GB, free: 276 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.64e-06/0.462, allocations: 0 / 0.5896 GB, free: 276 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006883/0.4627, allocations: 179.8 kB / 0.5897 GB, free: 96 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002138/0.4629, allocations: 72.75 kB / 0.5898 GB, free: 20 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.35e-05/0.4629, allocations: 28.08 kB / 0.5898 GB, free: 15.99 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001619/0.4646, allocations: 1.596 MB / 0.5914 GB, free: 14.28 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/0.4646, allocations: 7.938 kB / 0.5914 GB, free: 14.27 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001997/0.4666, allocations: 1.179 MB / 0.5925 GB, free: 13.05 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001669/0.4667, allocations: 71.52 kB / 0.5926 GB, free: 12.98 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.522e-05/0.4668, allocations: 20 kB / 0.5926 GB, free: 12.96 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003405/0.4672, allocations: 24.06 kB / 0.5927 GB, free: 12.94 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001299/0.4673, allocations: 76.41 kB / 0.5927 GB, free: 12.87 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.658e-05/0.4674, allocations: 39.98 kB / 0.5928 GB, free: 12.83 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004206/0.4678, allocations: 346.8 kB / 0.5931 GB, free: 12.49 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4678, allocations: 7.875 kB / 0.5931 GB, free: 12.48 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001309/0.4691, allocations: 455 kB / 0.5935 GB, free: 12.04 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.003072/0.4722, allocations: 2.134 MB / 0.5956 GB, free: 9.84 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001452/0.4736, allocations: 0.7856 MB / 0.5964 GB, free: 9.043 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.4736, allocations: 0 / 0.5964 GB, free: 9.043 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006304/0.4743, allocations: 450.1 kB / 0.5968 GB, free: 8.59 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008763/0.4751, allocations: 175.3 kB / 0.597 GB, free: 8.418 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009328/0.4845, allocations: 6.762 MB / 0.6036 GB, free: 1.219 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004387/0.4849, allocations: 429.7 kB / 0.604 GB, free: 0.7656 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006197/0.4855, allocations: 202 kB / 0.6042 GB, free: 0.5664 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006096/0.4861, allocations: 439.2 kB / 0.6046 GB, free: 140 kB / 446.1 MB Notification: Performance of SimCode: time 6.11e-07/0.4861, allocations: 0 / 0.6046 GB, free: 140 kB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08066/0.5668, allocations: 24.13 MB / 0.6282 GB, free: 8.242 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.55/12.12, allocations: 12.17 kB / 0.6282 GB, free: 8.234 MB / 478.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_master_Chemical_Obsolete_Examples_WaterSublimation_fmu --startTime=0 --stopTime=49.7 --stepSize=0.01988 --timeout=50 --tolerance=1e-06 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: 14.66375078598503] Failed to read output from testmodel.py, exit status != 0: 12.237157016003039 12.252087794 11.834645701 Calling exit ...