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.001819/0.001819, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002286/0.002286, allocations: 213.3 kB / 22.26 MB, free: 5.121 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.5/1.5, allocations: 230.6 MB / 256 MB, free: 7.98 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.1417/0.1417, allocations: 23.89 MB / 336.3 MB, free: 11.16 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: translateModel(Chemical.Obsolete.Examples.WaterSublimation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.WaterSublimation") translateModel(Chemical.Obsolete.Examples.WaterSublimation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.WaterSublimation") [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.00265/0.00265, allocations: 75.89 kB / 471.7 MB, free: 7.141 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3132/0.3159, allocations: 59.87 MB / 0.5191 GB, free: 9.789 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.04144/0.3573, allocations: 26.72 MB / 0.5452 GB, free: 13.08 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01929/0.3766, allocations: 12.42 MB / 0.5573 GB, free: 1.652 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001227/0.3778, allocations: 23.75 kB / 0.5574 GB, free: 1.629 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009667/0.3788, allocations: 277.2 kB / 0.5576 GB, free: 1.418 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003479/0.3823, allocations: 1.061 MB / 0.5587 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004544/0.3868, allocations: 1.575 MB / 0.5602 GB, free: 15.21 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002236/0.389, allocations: 1.415 MB / 0.5616 GB, free: 13.93 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001002/0.39, allocations: 0.6967 MB / 0.5623 GB, free: 13.37 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008734/0.3909, allocations: 0.6881 MB / 0.5629 GB, free: 12.75 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00111/0.392, allocations: 0.7348 MB / 0.5637 GB, free: 12.14 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001961/0.3922, allocations: 124 kB / 0.5638 GB, free: 12.02 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003722/0.3959, allocations: 1.206 MB / 0.565 GB, free: 10.93 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003258/0.3963, allocations: 288.6 kB / 0.5652 GB, free: 10.7 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007335/0.397, allocations: 0.6555 MB / 0.5659 GB, free: 10.09 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005121/0.4021, allocations: 2.717 MB / 0.5685 GB, free: 7.461 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.89e-06/0.4021, allocations: 0 / 0.5685 GB, free: 7.461 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.4021, allocations: 0 / 0.5685 GB, free: 7.461 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.866e-05/0.4022, allocations: 0 / 0.5685 GB, free: 7.461 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.002953/0.4051, allocations: 1.583 MB / 0.5701 GB, free: 5.84 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.4051, allocations: 12.03 kB / 0.5701 GB, free: 5.828 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001077/0.4062, allocations: 259.6 kB / 0.5703 GB, free: 5.574 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001063/0.4073, allocations: 0.5542 MB / 0.5709 GB, free: 4.996 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.302e-05/0.4074, allocations: 86.64 kB / 0.5709 GB, free: 4.91 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000182/0.4076, allocations: 124.3 kB / 0.5711 GB, free: 4.789 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002049/0.4096, allocations: 1.198 MB / 0.5722 GB, free: 3.547 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.584e-05/0.4096, allocations: 0 / 0.5722 GB, free: 3.547 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000104/0.4097, allocations: 47.98 kB / 0.5723 GB, free: 3.5 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.259e-05/0.4098, allocations: 32 kB / 0.5723 GB, free: 3.469 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002308/0.4121, allocations: 1.336 MB / 0.5736 GB, free: 2.125 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.006517/0.4186, allocations: 3.961 MB / 0.5775 GB, free: 13.93 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001572/0.4202, allocations: 0.9026 MB / 0.5784 GB, free: 13.02 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006141/0.4208, allocations: 343.7 kB / 0.5787 GB, free: 12.68 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004734/0.4255, allocations: 2.126 MB / 0.5808 GB, free: 10.53 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.212e-05/0.4255, allocations: 39.06 kB / 0.5808 GB, free: 10.48 MB / 430.1 MB Notification: Performance of pre-optimization done (n=62): time 2.474e-06/0.4255, allocations: 0 / 0.5808 GB, free: 10.48 MB / 430.1 MB Notification: Performance of matching and sorting (n=74): time 0.005206/0.4307, allocations: 2.036 MB / 0.5828 GB, free: 8.414 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.533e-05/0.4308, allocations: 60.06 kB / 0.5829 GB, free: 8.344 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007094/0.4315, allocations: 0.5225 MB / 0.5834 GB, free: 7.809 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.457e-05/0.4316, allocations: 41.7 kB / 0.5834 GB, free: 7.762 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004276/0.432, allocations: 0.5466 MB / 0.5839 GB, free: 7.207 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002464/0.4322, allocations: 273.7 kB / 0.5842 GB, free: 6.938 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002752/0.4325, allocations: 190.9 kB / 0.5844 GB, free: 6.746 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002059/0.4327, allocations: 382.8 kB / 0.5847 GB, free: 6.363 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004682/0.4332, allocations: 226.2 kB / 0.585 GB, free: 6.145 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007792/0.434, allocations: 0.5564 MB / 0.5855 GB, free: 5.445 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.006719/0.4407, allocations: 2.039 MB / 0.5875 GB, free: 3.262 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.873e-06/0.4407, allocations: 4 kB / 0.5875 GB, free: 3.258 MB / 430.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.00188/0.4426, allocations: 0.9543 MB / 0.5884 GB, free: 2.293 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.468e-05/0.4426, allocations: 12 kB / 0.5884 GB, free: 2.281 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.769e-05/0.4426, allocations: 15.92 kB / 0.5885 GB, free: 2.266 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002757/0.4429, allocations: 77.53 kB / 0.5885 GB, free: 2.188 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007541/0.4436, allocations: 239.6 kB / 0.5888 GB, free: 1.953 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001855/0.4455, allocations: 1.62 MB / 0.5903 GB, free: 224 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005175/0.446, allocations: 32 kB / 0.5904 GB, free: 192 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.597e-05/0.4461, allocations: 55.98 kB / 0.5904 GB, free: 136 kB / 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.0004894/0.4466, allocations: 257.6 kB / 0.5907 GB, free: 15.87 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001396/0.4467, allocations: 79.47 kB / 0.5907 GB, free: 15.79 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00181/0.4486, allocations: 0.8381 MB / 0.5916 GB, free: 14.94 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.231e-05/0.4486, allocations: 11.94 kB / 0.5916 GB, free: 14.93 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.4486, allocations: 0 / 0.5916 GB, free: 14.93 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.427e-06/0.4486, allocations: 3.984 kB / 0.5916 GB, free: 14.92 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002936/0.4515, allocations: 1.734 MB / 0.5933 GB, free: 13.09 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.023e-06/0.4515, allocations: 4 kB / 0.5933 GB, free: 13.09 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006925/0.4522, allocations: 180.1 kB / 0.5934 GB, free: 12.91 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002061/0.4524, allocations: 72.7 kB / 0.5935 GB, free: 12.84 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.569e-05/0.4525, allocations: 35.86 kB / 0.5936 GB, free: 12.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001727/0.4542, allocations: 1.608 MB / 0.5951 GB, free: 11.08 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.529e-06/0.4542, allocations: 4 kB / 0.5951 GB, free: 11.08 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001962/0.4562, allocations: 1.183 MB / 0.5963 GB, free: 9.855 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001855/0.4564, allocations: 75.52 kB / 0.5964 GB, free: 9.781 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.158e-05/0.4564, allocations: 20 kB / 0.5964 GB, free: 9.762 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003353/0.4568, allocations: 19.98 kB / 0.5964 GB, free: 9.742 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001392/0.4569, allocations: 76.42 kB / 0.5965 GB, free: 9.668 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.639e-05/0.457, allocations: 35.98 kB / 0.5965 GB, free: 9.633 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004538/0.4574, allocations: 350.8 kB / 0.5968 GB, free: 9.293 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4574, allocations: 0 / 0.5968 GB, free: 9.293 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001494/0.4589, allocations: 459 kB / 0.5973 GB, free: 8.844 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.0009881/0.4599, allocations: 0.5126 MB / 0.5978 GB, free: 8.32 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001497/0.4614, allocations: 0.7781 MB / 0.5985 GB, free: 7.523 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.4614, allocations: 0 / 0.5985 GB, free: 7.523 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006908/0.4621, allocations: 454.7 kB / 0.599 GB, free: 7.07 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009109/0.463, allocations: 182 kB / 0.5991 GB, free: 6.895 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003355/0.4664, allocations: 1.825 MB / 0.6009 GB, free: 5.008 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007504/0.4671, allocations: 1.005 MB / 0.6019 GB, free: 3.977 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006851/0.4678, allocations: 198.2 kB / 0.6021 GB, free: 3.781 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003103/0.4681, allocations: 143.3 kB / 0.6022 GB, free: 3.641 MB / 446.1 MB Notification: Performance of SimCode: time 1.182e-06/0.4681, allocations: 0 / 0.6022 GB, free: 3.641 MB / 446.1 MB Notification: Performance of Templates: time 0.02912/0.4972, allocations: 15.54 MB / 0.6174 GB, free: 4.148 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.WaterSublimation.makefile [Timeout 660] (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 & ./Chemical_master_Chemical.Obsolete.Examples.WaterSublimation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.WaterSublimation.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.6336885672062635] Failed to read output from testmodel.py, exit status != 0: 0.5065525472164154 0.522695741 0.11718129000000001 Calling exit ...