Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Examples.WaterSublimation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo", uses=false) Using package Chemical with version 1.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Chemical.Examples.WaterSublimation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.WaterSublimation") translateModel(Chemical.Examples.WaterSublimation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.WaterSublimation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001133/0.001133, allocations: 106.7 kB / 16.36 MB, free: 5.875 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00114/0.00114, allocations: 191 kB / 17.29 MB, free: 5.516 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.395/1.395, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.09893/0.09893, allocations: 15.31 MB / 306.5 MB, free: 15.4 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001496/0.001496, allocations: 66.84 kB / 371.7 MB, free: 50.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.1092, allocations: 53.61 MB / 425.3 MB, free: 13.3 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo:4740:7-4740: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 1.4.1-master/package.mo:4740:7-4740: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.Examples.WaterSublimation): time 0.03138/0.1406, allocations: 25.19 MB / 450.5 MB, free: 4.219 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0142/0.1548, allocations: 12.29 MB / 462.8 MB, free: 7.871 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00088/0.1557, allocations: 15.88 kB / 462.9 MB, free: 7.855 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008079/0.1565, allocations: 285.8 kB / 463.1 MB, free: 7.574 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003086/0.1596, allocations: 1.043 MB / 464.2 MB, free: 6.523 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004239/0.1639, allocations: 1.542 MB / 465.7 MB, free: 4.973 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002165/0.1661, allocations: 1.403 MB / 467.1 MB, free: 3.562 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001002/0.1671, allocations: 0.852 MB / 468 MB, free: 2.695 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007577/0.1679, allocations: 0.6662 MB / 468.6 MB, free: 2.027 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008259/0.1687, allocations: 0.7239 MB / 469.4 MB, free: 1.301 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001514/0.1689, allocations: 128 kB / 469.5 MB, free: 1.176 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003383/0.1723, allocations: 1.194 MB / 470.7 MB, free: 15.98 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000271/0.1725, allocations: 287.1 kB / 471 MB, free: 15.7 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006338/0.1732, allocations: 0.6494 MB / 471.6 MB, free: 15.05 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006284/0.1795, allocations: 2.612 MB / 474.2 MB, free: 12.43 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.095e-06/0.1795, allocations: 0 / 474.2 MB, free: 12.43 MB / 350.1 MB Notification: Performance of FrontEnd: time 5.079e-06/0.1796, allocations: 4 kB / 474.2 MB, free: 12.42 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.611e-05/0.1796, allocations: 0 / 474.2 MB, free: 12.42 MB / 350.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.003328/0.1829, allocations: 1.618 MB / 475.8 MB, free: 10.75 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.12e-05/0.183, allocations: 8.031 kB / 475.9 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001155/0.1841, allocations: 262.9 kB / 476.1 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001173/0.1853, allocations: 0.6142 MB / 476.7 MB, free: 9.828 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.624e-05/0.1854, allocations: 82.64 kB / 476.8 MB, free: 9.746 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002669/0.1857, allocations: 116.4 kB / 476.9 MB, free: 9.633 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001983/0.1877, allocations: 1.206 MB / 478.1 MB, free: 8.383 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.349e-05/0.1877, allocations: 0 / 478.1 MB, free: 8.383 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001019/0.1878, allocations: 48 kB / 478.2 MB, free: 8.336 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.256e-05/0.1879, allocations: 24 kB / 478.2 MB, free: 8.312 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002389/0.1903, allocations: 1.336 MB / 479.5 MB, free: 6.969 MB / 350.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.006302/0.1966, allocations: 4.014 MB / 483.5 MB, free: 2.715 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001581/0.1982, allocations: 0.9813 MB / 484.5 MB, free: 1.723 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007001/0.1989, allocations: 387.7 kB / 484.9 MB, free: 1.34 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005329/0.2042, allocations: 3.975 MB / 488.9 MB, free: 12.89 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.169e-05/0.2043, allocations: 39.12 kB / 488.9 MB, free: 12.84 MB / 366.1 MB Notification: Performance of pre-optimization done (n=62): time 2.174e-06/0.2043, allocations: 0 / 488.9 MB, free: 12.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=74): time 0.005011/0.2093, allocations: 2.093 MB / 491 MB, free: 10.69 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.925e-05/0.2094, allocations: 60.06 kB / 491.1 MB, free: 10.62 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006461/0.21, allocations: 0.5262 MB / 491.6 MB, free: 10.08 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.366e-05/0.2101, allocations: 41.7 kB / 491.6 MB, free: 10.04 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003487/0.2104, allocations: 0.5371 MB / 492.2 MB, free: 9.488 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001847/0.2106, allocations: 256.3 kB / 492.4 MB, free: 9.234 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002462/0.2109, allocations: 186.8 kB / 492.6 MB, free: 9.047 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001777/0.2111, allocations: 382.8 kB / 493 MB, free: 8.664 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004944/0.2116, allocations: 226.2 kB / 493.2 MB, free: 8.441 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005974/0.2122, allocations: 0.5447 MB / 493.7 MB, free: 7.758 MB / 366.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.006056/0.2182, allocations: 2.129 MB / 495.9 MB, free: 5.465 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.422e-06/0.2183, allocations: 4 kB / 495.9 MB, free: 5.461 MB / 366.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.001662/0.2199, allocations: 0.9619 MB / 496.8 MB, free: 4.488 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.477e-05/0.22, allocations: 11.94 kB / 496.9 MB, free: 4.477 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.856e-05/0.22, allocations: 12 kB / 496.9 MB, free: 4.465 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000259/0.2203, allocations: 80.73 kB / 496.9 MB, free: 4.383 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006753/0.221, allocations: 232.1 kB / 497.2 MB, free: 4.156 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001694/0.2227, allocations: 1.723 MB / 498.9 MB, free: 2.293 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005225/0.2232, allocations: 31.98 kB / 498.9 MB, free: 2.262 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.95e-05/0.2233, allocations: 56 kB / 499 MB, free: 2.207 MB / 366.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.0004089/0.2237, allocations: 249.5 kB / 499.2 MB, free: 1.953 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001346/0.2238, allocations: 75.09 kB / 499.3 MB, free: 1.879 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001662/0.2255, allocations: 0.8342 MB / 0.4884 GB, free: 1.031 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.17e-05/0.2255, allocations: 11.94 kB / 0.4884 GB, free: 1.02 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.2256, allocations: 4 kB / 0.4884 GB, free: 1.016 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.075e-05/0.2256, allocations: 7.984 kB / 0.4884 GB, free: 1.008 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003167/0.2287, allocations: 1.743 MB / 0.4901 GB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.522e-06/0.2288, allocations: 0 / 0.4901 GB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007002/0.2295, allocations: 183.8 kB / 0.4903 GB, free: 14.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002562/0.2297, allocations: 73.06 kB / 0.4904 GB, free: 14.91 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.898e-05/0.2298, allocations: 35.88 kB / 0.4904 GB, free: 14.87 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00193/0.2318, allocations: 1.704 MB / 0.4921 GB, free: 13.03 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.785e-06/0.2318, allocations: 7.984 kB / 0.4921 GB, free: 13.02 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001987/0.2338, allocations: 1.174 MB / 0.4932 GB, free: 11.8 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002525/0.234, allocations: 152.1 kB / 0.4934 GB, free: 11.63 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.629e-05/0.2341, allocations: 20.09 kB / 0.4934 GB, free: 11.61 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003144/0.2345, allocations: 23.98 kB / 0.4934 GB, free: 11.59 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001528/0.2346, allocations: 76.44 kB / 0.4935 GB, free: 11.51 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.339e-05/0.2347, allocations: 31.98 kB / 0.4935 GB, free: 11.48 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004891/0.2352, allocations: 350.8 kB / 0.4939 GB, free: 11.14 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2352, allocations: 4 kB / 0.4939 GB, free: 11.14 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001564/0.2368, allocations: 447.8 kB / 0.4943 GB, free: 10.7 MB / 382.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.0008701/0.2376, allocations: 0.5137 MB / 0.4948 GB, free: 10.18 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001364/0.239, allocations: 0.825 MB / 0.4956 GB, free: 9.34 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.155e-06/0.239, allocations: 4 kB / 0.4956 GB, free: 9.336 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006238/0.2397, allocations: 478.2 kB / 0.4961 GB, free: 8.859 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008445/0.2405, allocations: 177.6 kB / 0.4962 GB, free: 8.695 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002858/0.2434, allocations: 1.785 MB / 0.498 GB, free: 6.852 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007516/0.2441, allocations: 1.009 MB / 0.4989 GB, free: 5.812 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0009468/0.2451, allocations: 206 kB / 0.4991 GB, free: 5.609 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003849/0.2455, allocations: 147.3 kB / 0.4993 GB, free: 5.465 MB / 382.1 MB Notification: Performance of SimCode: time 9.12e-07/0.2455, allocations: 0 / 0.4993 GB, free: 5.465 MB / 382.1 MB Notification: Performance of Templates: time 0.2205/0.466, allocations: 14.46 MB / 0.5134 GB, free: 76.09 MB / 382.1 MB make -j1 -f Chemical_Chemical.Examples.WaterSublimation.makefile (rm -f Chemical_Chemical.Examples.WaterSublimation.pipe ; mkfifo Chemical_Chemical.Examples.WaterSublimation.pipe ; head -c 1048576 < Chemical_Chemical.Examples.WaterSublimation.pipe >> ../files/Chemical_Chemical.Examples.WaterSublimation.sim & ./Chemical_Chemical.Examples.WaterSublimation -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Chemical_Chemical.Examples.WaterSublimation.pipe 2>&1)