Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_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.001803/0.001803, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.002311/0.002311, allocations: 214.7 kB / 22.99 MB, free: 4.984 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.474/1.474, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo): time 0.1528/0.1528, allocations: 23.88 MB / 337.1 MB, free: 10.99 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/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_Chemical.Obsolete.Examples.WaterSublimation") translateModel(Chemical.Obsolete.Examples.WaterSublimation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_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.002037/0.002037, allocations: 67.88 kB / 472.4 MB, free: 7.039 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3705/0.3726, allocations: 59.86 MB / 0.5197 GB, free: 9.809 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Obsolete.mo:14337:7-14337: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 2.0.0/Obsolete.mo:14337:7-14337: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.07495/0.4475, allocations: 26.04 MB / 0.5452 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01733/0.4649, allocations: 10.93 MB / 0.5558 GB, free: 3.66 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001251/0.4661, allocations: 19.81 kB / 0.5559 GB, free: 3.641 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001108/0.4672, allocations: 257.1 kB / 0.5561 GB, free: 3.449 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003925/0.4711, allocations: 1.041 MB / 0.5571 GB, free: 2.562 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005358/0.4765, allocations: 1.58 MB / 0.5587 GB, free: 1.262 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003242/0.4797, allocations: 1.41 MB / 0.56 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001394/0.4811, allocations: 0.6982 MB / 0.5607 GB, free: 15.42 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001092/0.4822, allocations: 0.6888 MB / 0.5614 GB, free: 14.8 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001131/0.4834, allocations: 0.7307 MB / 0.5621 GB, free: 14.2 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002023/0.4836, allocations: 128 kB / 0.5622 GB, free: 14.08 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004554/0.4881, allocations: 1.154 MB / 0.5634 GB, free: 13.03 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003492/0.4885, allocations: 288.5 kB / 0.5636 GB, free: 12.79 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008222/0.4893, allocations: 0.555 MB / 0.5642 GB, free: 12.29 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006253/0.4955, allocations: 2.719 MB / 0.5668 GB, free: 9.637 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.4955, allocations: 0 / 0.5668 GB, free: 9.637 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.043e-06/0.4955, allocations: 0 / 0.5668 GB, free: 9.637 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.186e-05/0.4956, allocations: 3.938 kB / 0.5668 GB, free: 9.633 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.00317/0.4987, allocations: 1.579 MB / 0.5684 GB, free: 8.016 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.923e-05/0.4988, allocations: 12.03 kB / 0.5684 GB, free: 8.004 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001189/0.5, allocations: 259.9 kB / 0.5686 GB, free: 7.75 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001192/0.5012, allocations: 0.5581 MB / 0.5692 GB, free: 7.168 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.747e-05/0.5013, allocations: 86.64 kB / 0.5693 GB, free: 7.082 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002109/0.5015, allocations: 120.3 kB / 0.5694 GB, free: 6.965 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002305/0.5038, allocations: 1.198 MB / 0.5705 GB, free: 5.723 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.732e-05/0.5038, allocations: 0 / 0.5705 GB, free: 5.723 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001181/0.5039, allocations: 48 kB / 0.5706 GB, free: 5.676 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.854e-05/0.5039, allocations: 28 kB / 0.5706 GB, free: 5.648 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002417/0.5064, allocations: 1.317 MB / 0.5719 GB, free: 4.324 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.00608/0.5124, allocations: 2.946 MB / 0.5748 GB, free: 1.301 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001628/0.5141, allocations: 0.8899 MB / 0.5757 GB, free: 416 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006713/0.5147, allocations: 347.7 kB / 0.576 GB, free: 64 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004918/0.5197, allocations: 2.009 MB / 0.5779 GB, free: 14.03 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.954e-05/0.5197, allocations: 39.06 kB / 0.578 GB, free: 13.98 MB / 430.1 MB Notification: Performance of pre-optimization done (n=62): time 2.304e-06/0.5197, allocations: 0 / 0.578 GB, free: 13.98 MB / 430.1 MB Notification: Performance of matching and sorting (n=74): time 0.005232/0.5249, allocations: 2.036 MB / 0.58 GB, free: 11.92 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.6e-05/0.525, allocations: 64.05 kB / 0.58 GB, free: 11.84 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006164/0.5256, allocations: 0.4909 MB / 0.5805 GB, free: 11.34 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.776e-05/0.5257, allocations: 41.64 kB / 0.5806 GB, free: 11.29 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004106/0.5261, allocations: 0.5466 MB / 0.5811 GB, free: 10.74 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003394/0.5264, allocations: 273.7 kB / 0.5813 GB, free: 10.47 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00038/0.5268, allocations: 190.9 kB / 0.5815 GB, free: 10.28 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002915/0.5271, allocations: 386.7 kB / 0.5819 GB, free: 9.891 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004323/0.5275, allocations: 234.1 kB / 0.5821 GB, free: 9.664 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007639/0.5283, allocations: 0.5447 MB / 0.5827 GB, free: 8.977 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.006898/0.5352, allocations: 2.046 MB / 0.5847 GB, free: 6.785 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.273e-06/0.5352, allocations: 4 kB / 0.5847 GB, free: 6.781 MB / 430.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.001865/0.537, allocations: 0.9506 MB / 0.5856 GB, free: 5.82 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.363e-05/0.5371, allocations: 11.94 kB / 0.5856 GB, free: 5.809 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.722e-05/0.5371, allocations: 12 kB / 0.5856 GB, free: 5.797 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002726/0.5374, allocations: 72.81 kB / 0.5857 GB, free: 5.723 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007607/0.5381, allocations: 236.2 kB / 0.5859 GB, free: 5.492 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001848/0.54, allocations: 1.597 MB / 0.5875 GB, free: 3.793 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005307/0.5405, allocations: 35.94 kB / 0.5875 GB, free: 3.758 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001019/0.5406, allocations: 55.98 kB / 0.5875 GB, free: 3.703 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.0004844/0.5411, allocations: 254 kB / 0.5878 GB, free: 3.445 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001253/0.5412, allocations: 67.64 kB / 0.5879 GB, free: 3.379 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001894/0.5431, allocations: 0.8375 MB / 0.5887 GB, free: 2.527 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.656e-06/0.5431, allocations: 8 kB / 0.5887 GB, free: 2.52 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.5431, allocations: 4 kB / 0.5887 GB, free: 2.516 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.087e-05/0.5431, allocations: 7.922 kB / 0.5887 GB, free: 2.508 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002825/0.546, allocations: 1.462 MB / 0.5901 GB, free: 0.9727 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/0.546, allocations: 4 kB / 0.5901 GB, free: 0.9688 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000694/0.5467, allocations: 183.8 kB / 0.5903 GB, free: 0.7891 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002336/0.5469, allocations: 76.72 kB / 0.5904 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.724e-05/0.5469, allocations: 28 kB / 0.5904 GB, free: 0.6836 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001802/0.5487, allocations: 1.581 MB / 0.5919 GB, free: 15 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.5488, allocations: 0 / 0.5919 GB, free: 15 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001981/0.5507, allocations: 1.186 MB / 0.5931 GB, free: 13.77 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001728/0.5509, allocations: 67.47 kB / 0.5932 GB, free: 13.71 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.134e-05/0.551, allocations: 27.97 kB / 0.5932 GB, free: 13.68 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003071/0.5513, allocations: 19.94 kB / 0.5932 GB, free: 13.66 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001411/0.5514, allocations: 80.53 kB / 0.5933 GB, free: 13.58 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.632e-05/0.5515, allocations: 36 kB / 0.5933 GB, free: 13.55 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004034/0.5519, allocations: 318.9 kB / 0.5936 GB, free: 13.24 MB / 446.1 MB Notification: Performance of sort global known variables: time 6e-08/0.5519, allocations: 0 / 0.5936 GB, free: 13.24 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001526/0.5534, allocations: 451 kB / 0.5941 GB, free: 12.8 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.0009729/0.5544, allocations: 0.5142 MB / 0.5946 GB, free: 12.27 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001467/0.5559, allocations: 0.7817 MB / 0.5953 GB, free: 11.47 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.5559, allocations: 0 / 0.5953 GB, free: 11.47 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000642/0.5565, allocations: 450.8 kB / 0.5958 GB, free: 11.02 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008757/0.5574, allocations: 180.9 kB / 0.5959 GB, free: 10.85 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003229/0.5606, allocations: 1.821 MB / 0.5977 GB, free: 8.965 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004538/0.5611, allocations: 421.6 kB / 0.5981 GB, free: 8.523 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006369/0.5617, allocations: 194 kB / 0.5983 GB, free: 8.332 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002887/0.562, allocations: 147.3 kB / 0.5984 GB, free: 8.188 MB / 446.1 MB Notification: Performance of SimCode: time 5.01e-07/0.562, allocations: 0 / 0.5984 GB, free: 8.188 MB / 446.1 MB Notification: Performance of Templates: time 0.02885/0.5909, allocations: 16.28 MB / 0.6143 GB, free: 8.047 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Chemical_Chemical.Obsolete.Examples.WaterSublimation.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.WaterSublimation.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.WaterSublimation.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.WaterSublimation.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.WaterSublimation.sim & ./Chemical_Chemical.Obsolete.Examples.WaterSublimation -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.WaterSublimation.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.6799706049932865] Failed to read output from testmodel.py, exit status != 0: 0.6001780969963875 0.6153739429999999 0.11662744499999994 Calling exit ...