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.001362/0.001362, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001813/0.001813, allocations: 212.8 kB / 22.99 MB, free: 4.945 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.472/1.472, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.1477/0.1477, allocations: 23.99 MB / 337.2 MB, free: 10.88 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.002424/0.002424, allocations: 75.89 kB / 472.5 MB, free: 6.887 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3216/0.3241, allocations: 59.9 MB / 0.52 GB, free: 9.723 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.07194/0.396, allocations: 26.2 MB / 0.5455 GB, free: 13.27 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01687/0.4129, allocations: 10.92 MB / 0.5562 GB, free: 3.348 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001142/0.414, allocations: 19.81 kB / 0.5562 GB, free: 3.328 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001144/0.4151, allocations: 267 kB / 0.5565 GB, free: 3.129 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004029/0.4192, allocations: 1.045 MB / 0.5575 GB, free: 2.238 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005032/0.4242, allocations: 1.568 MB / 0.559 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003444/0.4276, allocations: 1.407 MB / 0.5604 GB, free: 15.68 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001804/0.4295, allocations: 0.6943 MB / 0.5611 GB, free: 15.11 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001682/0.4311, allocations: 0.6812 MB / 0.5617 GB, free: 14.5 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001612/0.4327, allocations: 0.6488 MB / 0.5624 GB, free: 13.98 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005171/0.4333, allocations: 128 kB / 0.5625 GB, free: 13.86 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004054/0.4373, allocations: 1.134 MB / 0.5636 GB, free: 12.83 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000567/0.4379, allocations: 288.6 kB / 0.5639 GB, free: 12.59 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001179/0.4391, allocations: 0.5512 MB / 0.5644 GB, free: 12.09 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006801/0.4459, allocations: 2.704 MB / 0.5671 GB, free: 9.434 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.4459, allocations: 0 / 0.5671 GB, free: 9.434 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.4459, allocations: 0 / 0.5671 GB, free: 9.434 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.59e-05/0.4459, allocations: 4 kB / 0.5671 GB, free: 9.43 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.003748/0.4497, allocations: 1.583 MB / 0.5686 GB, free: 7.809 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.56e-05/0.4497, allocations: 12.03 kB / 0.5686 GB, free: 7.797 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001321/0.4511, allocations: 259.6 kB / 0.5689 GB, free: 7.543 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001322/0.4524, allocations: 0.562 MB / 0.5694 GB, free: 6.957 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.854e-05/0.4525, allocations: 90.64 kB / 0.5695 GB, free: 6.867 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002456/0.4527, allocations: 120.3 kB / 0.5696 GB, free: 6.75 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002396/0.4551, allocations: 1.202 MB / 0.5708 GB, free: 5.504 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.943e-05/0.4551, allocations: 0 / 0.5708 GB, free: 5.504 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001069/0.4553, allocations: 51.94 kB / 0.5708 GB, free: 5.453 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.725e-05/0.4553, allocations: 28 kB / 0.5709 GB, free: 5.426 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002487/0.4578, allocations: 1.317 MB / 0.5722 GB, free: 4.102 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.006351/0.4641, allocations: 2.938 MB / 0.575 GB, free: 1.086 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001652/0.4658, allocations: 0.8866 MB / 0.5759 GB, free: 200 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006369/0.4664, allocations: 347.8 kB / 0.5762 GB, free: 15.85 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004874/0.4713, allocations: 2.009 MB / 0.5782 GB, free: 13.82 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.965e-05/0.4713, allocations: 47.05 kB / 0.5782 GB, free: 13.77 MB / 430.1 MB Notification: Performance of pre-optimization done (n=62): time 2.645e-06/0.4713, allocations: 3.938 kB / 0.5782 GB, free: 13.76 MB / 430.1 MB Notification: Performance of matching and sorting (n=74): time 0.005506/0.4768, allocations: 2.029 MB / 0.5802 GB, free: 11.7 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.403e-05/0.4769, allocations: 64.05 kB / 0.5803 GB, free: 11.62 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007236/0.4776, allocations: 0.4909 MB / 0.5808 GB, free: 11.12 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.423e-05/0.4777, allocations: 37.7 kB / 0.5808 GB, free: 11.08 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004593/0.4781, allocations: 0.5466 MB / 0.5813 GB, free: 10.52 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002825/0.4784, allocations: 269.7 kB / 0.5816 GB, free: 10.26 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002691/0.4787, allocations: 190.9 kB / 0.5818 GB, free: 10.07 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002622/0.4789, allocations: 382.7 kB / 0.5821 GB, free: 9.684 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004839/0.4794, allocations: 230.2 kB / 0.5823 GB, free: 9.461 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000825/0.4803, allocations: 0.5447 MB / 0.5829 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.006715/0.487, allocations: 2.046 MB / 0.5849 GB, free: 6.582 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.091e-05/0.487, allocations: 8 kB / 0.5849 GB, free: 6.574 MB / 430.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.001959/0.4889, allocations: 0.9509 MB / 0.5858 GB, free: 5.613 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.351e-05/0.489, allocations: 8 kB / 0.5858 GB, free: 5.605 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.895e-05/0.489, allocations: 12 kB / 0.5858 GB, free: 5.594 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002793/0.4893, allocations: 76.8 kB / 0.5859 GB, free: 5.516 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007391/0.49, allocations: 239.6 kB / 0.5861 GB, free: 5.281 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002084/0.4921, allocations: 1.593 MB / 0.5877 GB, free: 3.586 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005741/0.4927, allocations: 36 kB / 0.5877 GB, free: 3.551 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001078/0.4928, allocations: 55.98 kB / 0.5878 GB, free: 3.496 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.0004936/0.4933, allocations: 254 kB / 0.588 GB, free: 3.238 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001725/0.4934, allocations: 67.53 kB / 0.5881 GB, free: 3.172 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002098/0.4955, allocations: 0.8376 MB / 0.5889 GB, free: 2.32 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.049e-05/0.4955, allocations: 8 kB / 0.5889 GB, free: 2.312 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.4955, allocations: 0 / 0.5889 GB, free: 2.312 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.098e-05/0.4956, allocations: 15.92 kB / 0.5889 GB, free: 2.297 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002886/0.4984, allocations: 1.47 MB / 0.5904 GB, free: 0.7539 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/0.4984, allocations: 4 kB / 0.5904 GB, free: 0.75 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006926/0.4991, allocations: 188.1 kB / 0.5905 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002176/0.4994, allocations: 64.81 kB / 0.5906 GB, free: 0.5 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.626e-05/0.4994, allocations: 28 kB / 0.5906 GB, free: 484 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00216/0.5016, allocations: 1.581 MB / 0.5922 GB, free: 14.79 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.5016, allocations: 0 / 0.5922 GB, free: 14.79 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002107/0.5037, allocations: 1.183 MB / 0.5933 GB, free: 13.56 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001888/0.5039, allocations: 63.48 kB / 0.5934 GB, free: 13.5 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001299/0.504, allocations: 27.97 kB / 0.5934 GB, free: 13.47 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003549/0.5044, allocations: 16 kB / 0.5934 GB, free: 13.46 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001555/0.5045, allocations: 72.53 kB / 0.5935 GB, free: 13.39 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.412e-05/0.5046, allocations: 40 kB / 0.5935 GB, free: 13.35 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005073/0.5051, allocations: 318.9 kB / 0.5938 GB, free: 13.04 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5051, allocations: 4 kB / 0.5938 GB, free: 13.04 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001426/0.5065, allocations: 451 kB / 0.5943 GB, free: 12.59 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.001133/0.5077, allocations: 0.521 MB / 0.5948 GB, free: 12.06 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001682/0.5093, allocations: 0.7809 MB / 0.5956 GB, free: 11.26 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.5093, allocations: 0 / 0.5956 GB, free: 11.26 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000753/0.5101, allocations: 448 kB / 0.596 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.0009851/0.5111, allocations: 191.5 kB / 0.5962 GB, free: 10.64 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003765/0.5149, allocations: 1.858 MB / 0.598 GB, free: 8.711 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005846/0.5154, allocations: 421.6 kB / 0.5984 GB, free: 8.27 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004158/0.5159, allocations: 183.3 kB / 0.5986 GB, free: 8.09 MB / 446.1 MB Notification: Performance of SimCode: time 7.62e-07/0.5159, allocations: 0 / 0.5986 GB, free: 8.09 MB / 446.1 MB Notification: Performance of Templates: time 0.02911/0.545, allocations: 18.13 MB / 0.6163 GB, free: 5.992 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: 8.979459907859564] Failed to read output from testmodel.py, exit status != 0: 0.5555443721823394 0.5720493 0.12259070700000001 Calling exit ...