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.001593/0.001593, allocations: 98.86 kB / 16.35 MB, free: 5.828 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.001749/0.001749, allocations: 193.4 kB / 17.29 MB, free: 5.484 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.371/1.371, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.0849/0.0849, allocations: 15.3 MB / 306.5 MB, free: 15.43 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001238, allocations: 60.8 kB / 371.7 MB, free: 50.78 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09943/0.1007, allocations: 53.61 MB / 425.3 MB, free: 13.32 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.03083/0.1316, allocations: 25.2 MB / 450.5 MB, free: 4.234 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01662/0.1482, allocations: 12.3 MB / 462.8 MB, free: 7.883 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001521/0.1498, allocations: 11.94 kB / 462.9 MB, free: 7.871 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001316/0.1511, allocations: 277.8 kB / 463.1 MB, free: 7.598 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004221/0.1554, allocations: 1.051 MB / 464.2 MB, free: 6.539 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004796/0.1602, allocations: 1.538 MB / 465.7 MB, free: 4.992 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002335/0.1625, allocations: 1.399 MB / 467.1 MB, free: 3.586 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001228/0.1638, allocations: 0.8481 MB / 468 MB, free: 2.723 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001117/0.1649, allocations: 0.6623 MB / 468.6 MB, free: 2.059 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001255/0.1662, allocations: 0.7278 MB / 469.4 MB, free: 1.328 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003091/0.1665, allocations: 124 kB / 469.5 MB, free: 1.207 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004047/0.1706, allocations: 1.19 MB / 470.7 MB, free: 16 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003998/0.171, allocations: 295 kB / 471 MB, free: 15.73 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009996/0.172, allocations: 0.6495 MB / 471.6 MB, free: 15.07 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005935/0.178, allocations: 2.612 MB / 474.2 MB, free: 12.45 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.178, allocations: 0 / 474.2 MB, free: 12.45 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.178, allocations: 0 / 474.2 MB, free: 12.45 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.55e-05/0.1781, allocations: 0 / 474.2 MB, free: 12.45 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.003229/0.1813, allocations: 1.618 MB / 475.8 MB, free: 10.78 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.1813, allocations: 12.03 kB / 475.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001185/0.1825, allocations: 262.9 kB / 476.1 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001045/0.1836, allocations: 0.6142 MB / 476.7 MB, free: 9.855 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.93e-05/0.1837, allocations: 82.64 kB / 476.8 MB, free: 9.773 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001753/0.1838, allocations: 120.4 kB / 476.9 MB, free: 9.656 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002076/0.1859, allocations: 1.194 MB / 478.1 MB, free: 8.418 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.338e-05/0.186, allocations: 4 kB / 478.1 MB, free: 8.414 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.382e-05/0.1861, allocations: 48 kB / 478.2 MB, free: 8.367 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.62e-05/0.1861, allocations: 31.94 kB / 478.2 MB, free: 8.336 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002052/0.1882, allocations: 1.328 MB / 479.5 MB, free: 7 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.005667/0.1938, allocations: 4.014 MB / 483.5 MB, free: 2.746 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001451/0.1953, allocations: 0.9873 MB / 484.5 MB, free: 1.746 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005837/0.1959, allocations: 387.7 kB / 484.9 MB, free: 1.363 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004963/0.2009, allocations: 3.967 MB / 488.9 MB, free: 12.92 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.69e-05/0.2009, allocations: 47.06 kB / 488.9 MB, free: 12.86 MB / 366.1 MB Notification: Performance of pre-optimization done (n=62): time 2.254e-06/0.2009, allocations: 0 / 488.9 MB, free: 12.86 MB / 366.1 MB Notification: Performance of matching and sorting (n=74): time 0.004678/0.2056, allocations: 2.093 MB / 491 MB, free: 10.71 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.487e-05/0.2057, allocations: 60 kB / 491.1 MB, free: 10.64 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005952/0.2063, allocations: 0.5262 MB / 491.6 MB, free: 10.11 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.254e-05/0.2063, allocations: 41.7 kB / 491.6 MB, free: 10.06 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003526/0.2067, allocations: 0.5332 MB / 492.2 MB, free: 9.516 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001793/0.2069, allocations: 260.2 kB / 492.4 MB, free: 9.258 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002324/0.2071, allocations: 194.8 kB / 492.6 MB, free: 9.062 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001455/0.2073, allocations: 378.8 kB / 493 MB, free: 8.684 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004101/0.2077, allocations: 230.2 kB / 493.2 MB, free: 8.457 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006197/0.2083, allocations: 0.5408 MB / 493.7 MB, free: 7.777 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.006144/0.2145, allocations: 2.129 MB / 495.9 MB, free: 5.484 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.935e-06/0.2145, allocations: 4 kB / 495.9 MB, free: 5.48 MB / 366.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.001631/0.2161, allocations: 0.9621 MB / 496.8 MB, free: 4.508 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.251e-05/0.2162, allocations: 11.98 kB / 496.9 MB, free: 4.496 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.636e-05/0.2162, allocations: 12 kB / 496.9 MB, free: 4.484 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002452/0.2164, allocations: 68.83 kB / 496.9 MB, free: 4.414 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007176/0.2172, allocations: 235.6 kB / 497.2 MB, free: 4.184 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001645/0.2188, allocations: 1.719 MB / 498.9 MB, free: 2.324 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005092/0.2193, allocations: 32 kB / 498.9 MB, free: 2.293 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-05/0.2194, allocations: 60.05 kB / 499 MB, free: 2.234 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.0004025/0.2198, allocations: 253.5 kB / 499.2 MB, free: 1.977 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001408/0.22, allocations: 71.09 kB / 499.3 MB, free: 1.906 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001629/0.2216, allocations: 0.8302 MB / 0.4884 GB, free: 1.062 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.626e-06/0.2216, allocations: 11.88 kB / 0.4884 GB, free: 1.051 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.2217, allocations: 4 kB / 0.4884 GB, free: 1.047 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.066e-05/0.2217, allocations: 7.984 kB / 0.4884 GB, free: 1.039 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002654/0.2243, allocations: 1.75 MB / 0.4901 GB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.782e-06/0.2244, allocations: 7.938 kB / 0.4901 GB, free: 15.17 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006359/0.225, allocations: 183.8 kB / 0.4903 GB, free: 14.99 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001976/0.2252, allocations: 64.75 kB / 0.4904 GB, free: 14.93 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.846e-05/0.2253, allocations: 35.92 kB / 0.4904 GB, free: 14.89 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001565/0.2268, allocations: 1.7 MB / 0.4921 GB, free: 13.05 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.001e-06/0.2269, allocations: 12.03 kB / 0.4921 GB, free: 13.04 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001812/0.2287, allocations: 1.174 MB / 0.4932 GB, free: 11.82 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002494/0.229, allocations: 152.1 kB / 0.4934 GB, free: 11.65 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001096/0.2291, allocations: 16 kB / 0.4934 GB, free: 11.64 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003409/0.2294, allocations: 24 kB / 0.4934 GB, free: 11.61 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001442/0.2296, allocations: 76.44 kB / 0.4935 GB, free: 11.54 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.765e-05/0.2296, allocations: 36 kB / 0.4935 GB, free: 11.5 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004843/0.2301, allocations: 346.8 kB / 0.4938 GB, free: 11.17 MB / 382.1 MB Notification: Performance of sort global known variables: time 6.11e-07/0.2301, allocations: 0 / 0.4938 GB, free: 11.17 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001318/0.2315, allocations: 451.8 kB / 0.4943 GB, free: 10.73 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.00105/0.2325, allocations: 0.5141 MB / 0.4948 GB, free: 10.2 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001532/0.2341, allocations: 0.821 MB / 0.4956 GB, free: 9.367 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.2341, allocations: 0 / 0.4956 GB, free: 9.367 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000672/0.2348, allocations: 482.7 kB / 0.496 GB, free: 8.887 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008413/0.2356, allocations: 184.3 kB / 0.4962 GB, free: 8.715 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003198/0.2388, allocations: 1.797 MB / 0.498 GB, free: 6.859 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000682/0.2395, allocations: 1.001 MB / 0.499 GB, free: 5.828 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000612/0.2401, allocations: 198.2 kB / 0.4991 GB, free: 5.633 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002781/0.2404, allocations: 143.3 kB / 0.4993 GB, free: 5.492 MB / 382.1 MB Notification: Performance of SimCode: time 7.81e-07/0.2404, allocations: 0 / 0.4993 GB, free: 5.492 MB / 382.1 MB Notification: Performance of Templates: time 0.1841/0.4246, allocations: 14.47 MB / 0.5134 GB, free: 76.07 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 gbode -lv LOG_STATS > Chemical_Chemical.Examples.WaterSublimation.pipe 2>&1)