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.00131/0.00131, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001386/0.001386, allocations: 197.3 kB / 16.79 MB, free: 6.809 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.349/1.349, allocations: 222.9 MB / 240.5 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.2481/0.2481, allocations: 15.31 MB / 305.9 MB, free: 15.42 MB / 254.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 71.89 kB / 370.3 MB, free: 4.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1105/0.1118, allocations: 53.61 MB / 423.9 MB, free: 14.77 MB / 366.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.3669/0.4787, allocations: 25.79 MB / 449.7 MB, free: 39.34 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01073/0.4895, allocations: 12.27 MB / 462 MB, free: 33.83 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009961/0.4905, allocations: 28.12 kB / 462 MB, free: 33.82 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007727/0.4913, allocations: 252.9 kB / 462.3 MB, free: 33.69 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002718/0.494, allocations: 0.9301 MB / 463.2 MB, free: 33.18 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003901/0.4979, allocations: 1.354 MB / 464.5 MB, free: 32.63 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001648/0.4996, allocations: 1.341 MB / 465.9 MB, free: 32.28 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008657/0.5005, allocations: 0.711 MB / 466.6 MB, free: 31.97 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008236/0.5013, allocations: 0.656 MB / 467.2 MB, free: 31.75 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007152/0.502, allocations: 0.7055 MB / 468 MB, free: 31.46 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000162/0.5022, allocations: 84.09 kB / 468 MB, free: 31.46 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003644/0.5059, allocations: 1.154 MB / 469.2 MB, free: 31.18 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002417/0.5061, allocations: 254.8 kB / 469.4 MB, free: 31.03 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000618/0.5067, allocations: 0.6145 MB / 470.1 MB, free: 30.68 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002453/0.5092, allocations: 1.928 MB / 472 MB, free: 29.88 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.5092, allocations: 1.062 kB / 472 MB, free: 29.88 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.22e-07/0.5092, allocations: 3.938 kB / 472 MB, free: 29.87 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.92e-05/0.5092, allocations: 0 / 472 MB, free: 29.87 MB / 366.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.002638/0.5119, allocations: 1.626 MB / 473.6 MB, free: 28.84 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.5119, allocations: 9.625 kB / 473.6 MB, free: 28.84 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001098/0.513, allocations: 253.9 kB / 473.9 MB, free: 28.76 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007947/0.5138, allocations: 0.5951 MB / 474.5 MB, free: 28.34 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.35e-05/0.5139, allocations: 84.83 kB / 474.5 MB, free: 28.3 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001733/0.5141, allocations: 119.4 kB / 474.7 MB, free: 28.25 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001872/0.516, allocations: 1.206 MB / 475.9 MB, free: 27.74 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.452e-05/0.516, allocations: 1.625 kB / 475.9 MB, free: 27.74 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.913e-05/0.5161, allocations: 44.84 kB / 475.9 MB, free: 27.71 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.967e-05/0.5162, allocations: 27.5 kB / 475.9 MB, free: 27.71 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002151/0.5183, allocations: 1.334 MB / 477.3 MB, free: 27.31 MB / 366.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.005699/0.524, allocations: 4.031 MB / 481.3 MB, free: 24.72 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001637/0.5257, allocations: 0.9715 MB / 482.3 MB, free: 24.27 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006131/0.5263, allocations: 392.6 kB / 482.7 MB, free: 24.12 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005168/0.5315, allocations: 3.989 MB / 486.7 MB, free: 20.91 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.272e-05/0.5315, allocations: 38.25 kB / 486.7 MB, free: 20.86 MB / 366.1 MB Notification: Performance of pre-optimization done (n=62): time 2.064e-06/0.5315, allocations: 0 / 486.7 MB, free: 20.86 MB / 366.1 MB Notification: Performance of matching and sorting (n=74): time 0.005033/0.5366, allocations: 2.093 MB / 488.8 MB, free: 19.85 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.008e-05/0.5366, allocations: 63.25 kB / 488.8 MB, free: 19.78 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006778/0.5373, allocations: 0.5244 MB / 489.4 MB, free: 19.53 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.431e-05/0.5374, allocations: 36.45 kB / 489.4 MB, free: 19.49 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002883/0.5377, allocations: 0.5303 MB / 489.9 MB, free: 19.07 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001753/0.5378, allocations: 264.1 kB / 490.2 MB, free: 18.86 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002575/0.5381, allocations: 185.7 kB / 490.4 MB, free: 18.77 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001299/0.5382, allocations: 380.9 kB / 490.7 MB, free: 18.43 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004585/0.5387, allocations: 226.2 kB / 491 MB, free: 18.36 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006175/0.5393, allocations: 0.5484 MB / 491.5 MB, free: 17.87 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.006711/0.5461, allocations: 2.121 MB / 493.6 MB, free: 16.84 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/0.5461, allocations: 3.938 kB / 493.6 MB, free: 16.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.001568/0.5477, allocations: 0.9579 MB / 494.6 MB, free: 16.44 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.442e-05/0.5477, allocations: 8.906 kB / 494.6 MB, free: 16.44 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.285e-05/0.5477, allocations: 10.81 kB / 494.6 MB, free: 16.44 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002592/0.548, allocations: 84.89 kB / 494.7 MB, free: 16.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007566/0.5488, allocations: 233.4 kB / 494.9 MB, free: 16.38 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00128/0.55, allocations: 1.597 MB / 496.5 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007635/0.5508, allocations: 68.2 kB / 496.6 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.464e-05/0.5509, allocations: 60.47 kB / 496.7 MB, free: 14.88 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.0004397/0.5514, allocations: 253.1 kB / 496.9 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001121/0.5515, allocations: 67.34 kB / 497 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001791/0.5533, allocations: 0.8446 MB / 497.8 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.5533, allocations: 7.25 kB / 497.8 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.5533, allocations: 0.7969 kB / 497.8 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.118e-05/0.5533, allocations: 7.5 kB / 497.8 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002703/0.556, allocations: 1.754 MB / 499.6 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.883e-06/0.5561, allocations: 8.125 kB / 499.6 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006502/0.5567, allocations: 183.6 kB / 499.8 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002015/0.5569, allocations: 66.66 kB / 499.8 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.761e-05/0.557, allocations: 28.94 kB / 499.9 MB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001128/0.5581, allocations: 1.597 MB / 0.4897 GB, free: 11.76 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.928e-06/0.5581, allocations: 7.312 kB / 0.4897 GB, free: 11.76 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001662/0.5598, allocations: 1.171 MB / 0.4909 GB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002317/0.5601, allocations: 149 kB / 0.491 GB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.415e-05/0.5602, allocations: 20.2 kB / 0.491 GB, free: 10.97 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004024/0.5606, allocations: 34.73 kB / 0.491 GB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001462/0.5607, allocations: 78.44 kB / 0.4911 GB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.508e-05/0.5608, allocations: 35.75 kB / 0.4912 GB, free: 10.93 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004157/0.5612, allocations: 348 kB / 0.4915 GB, free: 10.77 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.5612, allocations: 0 / 0.4915 GB, free: 10.77 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001433/0.5627, allocations: 447.7 kB / 0.4919 GB, free: 10.67 MB / 366.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.0009104/0.5636, allocations: 0.511 MB / 0.4924 GB, free: 10.41 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001414/0.565, allocations: 0.8142 MB / 0.4932 GB, free: 10.07 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.565, allocations: 0 / 0.4932 GB, free: 10.07 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005807/0.5656, allocations: 482.2 kB / 0.4937 GB, free: 9.828 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009905/0.5666, allocations: 171.1 kB / 0.4938 GB, free: 9.754 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002893/0.5695, allocations: 2.288 MB / 0.4961 GB, free: 8.25 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004323/0.57, allocations: 1.017 MB / 0.4971 GB, free: 7.52 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004041/0.5704, allocations: 185.5 kB / 0.4972 GB, free: 7.5 MB / 366.1 MB Notification: Performance of SimCode: time 2.9e-07/0.5704, allocations: 0 / 0.4972 GB, free: 7.5 MB / 366.1 MB Notification: Performance of Templates: time 0.03099/0.6014, allocations: 17.44 MB / 0.5143 GB, free: 8.25 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 -lv LOG_STATS > Chemical_Chemical.Examples.WaterSublimation.pipe 2>&1)