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.00164/0.00164, allocations: 104.3 kB / 19.7 MB, free: 2.145 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.001749/0.001749, allocations: 209.2 kB / 22.99 MB, free: 4.969 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.605/1.605, allocations: 230.6 MB / 256.8 MB, free: 7.82 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.1402/0.1402, allocations: 23.94 MB / 337.1 MB, free: 10.92 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.00203/0.00203, allocations: 63.91 kB / 472.4 MB, free: 6.957 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3819/0.3839, allocations: 59.87 MB / 0.5198 GB, free: 9.773 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.07516/0.4591, allocations: 26.12 MB / 0.5453 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01697/0.4761, allocations: 10.93 MB / 0.556 GB, free: 3.492 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001321/0.4774, allocations: 19.88 kB / 0.556 GB, free: 3.473 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001064/0.4785, allocations: 254.3 kB / 0.5563 GB, free: 3.285 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004078/0.4825, allocations: 1.053 MB / 0.5573 GB, free: 2.387 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005443/0.488, allocations: 1.56 MB / 0.5588 GB, free: 1.105 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002899/0.4909, allocations: 1.416 MB / 0.5602 GB, free: 15.82 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001292/0.4922, allocations: 0.7059 MB / 0.5609 GB, free: 15.25 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001136/0.4933, allocations: 0.693 MB / 0.5616 GB, free: 14.62 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001309/0.4946, allocations: 0.7235 MB / 0.5623 GB, free: 14.04 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002365/0.4948, allocations: 128 kB / 0.5624 GB, free: 13.91 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003903/0.4987, allocations: 1.157 MB / 0.5635 GB, free: 12.86 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004433/0.4992, allocations: 304.2 kB / 0.5638 GB, free: 12.61 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008593/0.5001, allocations: 0.5434 MB / 0.5643 GB, free: 12.11 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006914/0.507, allocations: 2.713 MB / 0.567 GB, free: 9.434 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/0.507, allocations: 0 / 0.567 GB, free: 9.434 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.507, allocations: 0 / 0.567 GB, free: 9.434 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.483e-05/0.507, allocations: 0 / 0.567 GB, free: 9.434 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.003401/0.5104, allocations: 1.583 MB / 0.5685 GB, free: 7.812 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.714e-05/0.5105, allocations: 12.03 kB / 0.5686 GB, free: 7.801 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001139/0.5116, allocations: 259.6 kB / 0.5688 GB, free: 7.547 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001152/0.5128, allocations: 0.562 MB / 0.5693 GB, free: 6.961 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.146e-05/0.5128, allocations: 82.64 kB / 0.5694 GB, free: 6.879 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002079/0.513, allocations: 124.3 kB / 0.5695 GB, free: 6.758 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002178/0.5152, allocations: 1.194 MB / 0.5707 GB, free: 5.52 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.685e-05/0.5152, allocations: 7.938 kB / 0.5707 GB, free: 5.512 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001022/0.5153, allocations: 47.98 kB / 0.5708 GB, free: 5.465 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.517e-05/0.5154, allocations: 32 kB / 0.5708 GB, free: 5.434 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00224/0.5176, allocations: 1.317 MB / 0.5721 GB, free: 4.109 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.006104/0.5237, allocations: 2.938 MB / 0.575 GB, free: 1.094 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001575/0.5253, allocations: 0.8973 MB / 0.5758 GB, free: 196 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006032/0.5259, allocations: 339.8 kB / 0.5762 GB, free: 15.85 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004698/0.5306, allocations: 2.005 MB / 0.5781 GB, free: 13.83 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.587e-05/0.5307, allocations: 43 kB / 0.5782 GB, free: 13.78 MB / 430.1 MB Notification: Performance of pre-optimization done (n=62): time 2.745e-06/0.5307, allocations: 0 / 0.5782 GB, free: 13.78 MB / 430.1 MB Notification: Performance of matching and sorting (n=74): time 0.005002/0.5357, allocations: 2.033 MB / 0.5801 GB, free: 11.71 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.391e-05/0.5357, allocations: 60.06 kB / 0.5802 GB, free: 11.64 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006533/0.5364, allocations: 0.4987 MB / 0.5807 GB, free: 11.13 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.179e-05/0.5364, allocations: 33.7 kB / 0.5807 GB, free: 11.09 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004227/0.5368, allocations: 0.5505 MB / 0.5812 GB, free: 10.53 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002414/0.5371, allocations: 277.7 kB / 0.5815 GB, free: 10.26 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002539/0.5373, allocations: 190.8 kB / 0.5817 GB, free: 10.07 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002179/0.5376, allocations: 386.7 kB / 0.5821 GB, free: 9.68 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004421/0.538, allocations: 226.2 kB / 0.5823 GB, free: 9.461 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007651/0.5388, allocations: 0.5448 MB / 0.5828 GB, free: 8.773 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.006362/0.5451, allocations: 2.038 MB / 0.5848 GB, free: 6.59 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.284e-06/0.5451, allocations: 4 kB / 0.5848 GB, free: 6.586 MB / 430.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.001853/0.547, allocations: 0.958 MB / 0.5857 GB, free: 5.617 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.752e-05/0.547, allocations: 12 kB / 0.5858 GB, free: 5.605 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.652e-05/0.547, allocations: 8.875 kB / 0.5858 GB, free: 5.598 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000266/0.5473, allocations: 72.81 kB / 0.5858 GB, free: 5.523 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007336/0.548, allocations: 243.6 kB / 0.5861 GB, free: 5.285 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001851/0.5499, allocations: 1.597 MB / 0.5876 GB, free: 3.586 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005291/0.5504, allocations: 35.98 kB / 0.5877 GB, free: 3.551 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.709e-05/0.5505, allocations: 52 kB / 0.5877 GB, free: 3.5 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.0004834/0.551, allocations: 258 kB / 0.588 GB, free: 3.238 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001416/0.5511, allocations: 67.58 kB / 0.588 GB, free: 3.172 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00182/0.553, allocations: 0.8375 MB / 0.5888 GB, free: 2.32 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.709e-06/0.553, allocations: 8 kB / 0.5888 GB, free: 2.312 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.273e-06/0.553, allocations: 4 kB / 0.5888 GB, free: 2.309 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.104e-05/0.553, allocations: 7.922 kB / 0.5889 GB, free: 2.301 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002743/0.5557, allocations: 1.477 MB / 0.5903 GB, free: 0.75 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.5557, allocations: 0 / 0.5903 GB, free: 0.75 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006799/0.5564, allocations: 183.8 kB / 0.5905 GB, free: 0.5703 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002085/0.5566, allocations: 60.81 kB / 0.5905 GB, free: 0.5078 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.558e-05/0.5567, allocations: 28 kB / 0.5906 GB, free: 492 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001726/0.5584, allocations: 1.578 MB / 0.5921 GB, free: 14.8 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/0.5584, allocations: 3.938 kB / 0.5921 GB, free: 14.8 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001978/0.5604, allocations: 1.179 MB / 0.5933 GB, free: 13.58 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001678/0.5605, allocations: 67.59 kB / 0.5933 GB, free: 13.51 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.807e-05/0.5606, allocations: 23.88 kB / 0.5933 GB, free: 13.49 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003073/0.5609, allocations: 28.03 kB / 0.5934 GB, free: 13.46 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001315/0.5611, allocations: 64.64 kB / 0.5934 GB, free: 13.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.657e-05/0.5612, allocations: 43.97 kB / 0.5935 GB, free: 13.36 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004163/0.5616, allocations: 322.8 kB / 0.5938 GB, free: 13.04 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5616, allocations: 0 / 0.5938 GB, free: 13.04 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001422/0.563, allocations: 455 kB / 0.5942 GB, free: 12.6 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.0009539/0.5639, allocations: 0.5094 MB / 0.5947 GB, free: 12.07 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001538/0.5655, allocations: 0.782 MB / 0.5955 GB, free: 11.27 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/0.5655, allocations: 8 kB / 0.5955 GB, free: 11.27 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006757/0.5662, allocations: 446.1 kB / 0.5959 GB, free: 10.82 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009025/0.5671, allocations: 177.5 kB / 0.5961 GB, free: 10.66 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003351/0.5704, allocations: 1.869 MB / 0.5979 GB, free: 8.719 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000479/0.5709, allocations: 421.6 kB / 0.5983 GB, free: 8.277 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003948/0.5713, allocations: 187.3 kB / 0.5985 GB, free: 8.094 MB / 446.1 MB Notification: Performance of SimCode: time 6.91e-07/0.5713, allocations: 4 kB / 0.5985 GB, free: 8.09 MB / 446.1 MB Notification: Performance of Templates: time 0.02709/0.5984, allocations: 18.12 MB / 0.6162 GB, free: 5.996 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 sys.exit(0), Time elapsed: 9.152846489974763] Failed to read output from testmodel.py, exit status != 0: 0.607520834018942 0.6230439959999999 0.11268414900000001 Calling exit ...