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.001421/0.001421, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001657/0.001657, allocations: 199.2 kB / 16.14 MB, free: 6.703 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.334/1.334, allocations: 222.9 MB / 239.8 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.2597/0.2597, allocations: 15.32 MB / 305.3 MB, free: 15.32 MB / 254.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.00134/0.00134, allocations: 67.89 kB / 369.6 MB, free: 4.449 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1199/0.1213, allocations: 53.61 MB / 423.3 MB, free: 14.78 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.3826/0.5039, allocations: 25.15 MB / 448.4 MB, free: 39.4 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01281/0.5167, allocations: 12.27 MB / 460.7 MB, free: 33.89 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001077/0.5178, allocations: 26.91 kB / 460.7 MB, free: 33.88 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008015/0.5186, allocations: 245.4 kB / 461 MB, free: 33.75 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003172/0.5218, allocations: 0.9323 MB / 461.9 MB, free: 33.24 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004437/0.5263, allocations: 1.346 MB / 463.2 MB, free: 32.7 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001972/0.5282, allocations: 1.336 MB / 464.6 MB, free: 32.36 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009083/0.5292, allocations: 0.7198 MB / 465.3 MB, free: 32.04 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007389/0.5299, allocations: 0.6522 MB / 465.9 MB, free: 31.82 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007502/0.5307, allocations: 0.7072 MB / 466.6 MB, free: 31.53 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001695/0.5308, allocations: 82.62 kB / 466.7 MB, free: 31.53 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004522/0.5354, allocations: 1.155 MB / 467.9 MB, free: 31.25 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002552/0.5356, allocations: 257.7 kB / 468.1 MB, free: 31.09 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006782/0.5363, allocations: 0.6117 MB / 468.7 MB, free: 30.75 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004681/0.541, allocations: 2.462 MB / 471.2 MB, free: 29.7 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.541, allocations: 0 / 471.2 MB, free: 29.7 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.541, allocations: 0 / 471.2 MB, free: 29.7 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.348e-05/0.5411, allocations: 0 / 471.2 MB, free: 29.7 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.002742/0.5438, allocations: 1.621 MB / 472.8 MB, free: 28.67 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/0.5439, allocations: 7.875 kB / 472.8 MB, free: 28.67 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00107/0.545, allocations: 255.1 kB / 473.1 MB, free: 28.6 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008748/0.5458, allocations: 0.5944 MB / 473.7 MB, free: 28.17 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.59e-05/0.5459, allocations: 85.39 kB / 473.8 MB, free: 28.13 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002092/0.5462, allocations: 118.5 kB / 473.9 MB, free: 28.09 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002318/0.5485, allocations: 1.207 MB / 475.1 MB, free: 27.58 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.81e-05/0.5485, allocations: 3.938 kB / 475.1 MB, free: 27.57 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001064/0.5486, allocations: 49.62 kB / 475.1 MB, free: 27.54 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.576e-05/0.5487, allocations: 31.48 kB / 475.2 MB, free: 27.53 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002398/0.5511, allocations: 1.33 MB / 476.5 MB, free: 27.14 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.005812/0.5569, allocations: 4.028 MB / 480.5 MB, free: 24.55 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001528/0.5585, allocations: 0.9695 MB / 481.5 MB, free: 24.11 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005823/0.559, allocations: 386.8 kB / 481.9 MB, free: 23.95 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004969/0.564, allocations: 3.983 MB / 485.9 MB, free: 20.75 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.459e-05/0.5641, allocations: 42.59 kB / 485.9 MB, free: 20.7 MB / 366.1 MB Notification: Performance of pre-optimization done (n=62): time 2.264e-06/0.5641, allocations: 0 / 485.9 MB, free: 20.7 MB / 366.1 MB Notification: Performance of matching and sorting (n=74): time 0.005344/0.5694, allocations: 2.095 MB / 488 MB, free: 19.69 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.816e-05/0.5695, allocations: 64.72 kB / 488.1 MB, free: 19.62 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007591/0.5703, allocations: 0.526 MB / 488.6 MB, free: 19.37 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.32e-05/0.5703, allocations: 37.2 kB / 488.6 MB, free: 19.33 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003043/0.5707, allocations: 0.5308 MB / 489.1 MB, free: 18.9 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001691/0.5708, allocations: 259.7 kB / 489.4 MB, free: 18.7 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002754/0.5711, allocations: 189.5 kB / 489.6 MB, free: 18.61 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001096/0.5712, allocations: 381.5 kB / 490 MB, free: 18.27 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004205/0.5717, allocations: 226.1 kB / 490.2 MB, free: 18.19 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005994/0.5723, allocations: 0.5555 MB / 490.7 MB, free: 17.7 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.579, allocations: 2.123 MB / 492.9 MB, free: 16.66 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.524e-06/0.579, allocations: 3.438 kB / 492.9 MB, free: 16.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.00172/0.5807, allocations: 0.9557 MB / 493.8 MB, free: 16.27 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.537e-05/0.5808, allocations: 14.44 kB / 493.8 MB, free: 16.27 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.434e-05/0.5808, allocations: 10.84 kB / 493.8 MB, free: 16.27 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002578/0.5811, allocations: 87.33 kB / 493.9 MB, free: 16.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006768/0.5817, allocations: 232.4 kB / 494.2 MB, free: 16.21 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001277/0.583, allocations: 1.602 MB / 495.8 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000804/0.5839, allocations: 68.89 kB / 495.8 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.278e-05/0.5839, allocations: 52.98 kB / 495.9 MB, free: 14.7 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.0005121/0.5845, allocations: 250 kB / 496.1 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001223/0.5846, allocations: 67.31 kB / 496.2 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001722/0.5863, allocations: 0.8535 MB / 497 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/0.5863, allocations: 7.641 kB / 497 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.5863, allocations: 0 / 497 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.374e-05/0.5864, allocations: 8.109 kB / 497.1 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002764/0.5891, allocations: 1.744 MB / 498.8 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/0.5892, allocations: 4.109 kB / 498.8 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006579/0.5898, allocations: 187.3 kB / 499 MB, free: 13.1 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001937/0.59, allocations: 67.36 kB / 499.1 MB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.853e-05/0.5901, allocations: 33.86 kB / 499.1 MB, free: 13.06 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001166/0.5913, allocations: 1.593 MB / 0.4889 GB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.5913, allocations: 3.375 kB / 0.4889 GB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001599/0.5929, allocations: 1.176 MB / 0.4901 GB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002325/0.5931, allocations: 149.2 kB / 0.4902 GB, free: 10.81 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001062/0.5932, allocations: 20.12 kB / 0.4903 GB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003759/0.5936, allocations: 39.14 kB / 0.4903 GB, free: 10.78 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001883/0.5938, allocations: 75.3 kB / 0.4904 GB, free: 10.76 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.535e-05/0.5939, allocations: 40.33 kB / 0.4904 GB, free: 10.75 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004789/0.5944, allocations: 348.7 kB / 0.4907 GB, free: 10.59 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5944, allocations: 0 / 0.4907 GB, free: 10.59 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00171/0.5961, allocations: 450 kB / 0.4912 GB, free: 10.49 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.001099/0.5972, allocations: 0.509 MB / 0.4917 GB, free: 10.24 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001407/0.5986, allocations: 0.8048 MB / 0.4924 GB, free: 9.902 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.5986, allocations: 3.938 kB / 0.4925 GB, free: 9.898 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005586/0.5992, allocations: 487.5 kB / 0.4929 GB, free: 9.652 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009595/0.6002, allocations: 173.4 kB / 0.4931 GB, free: 9.574 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002837/0.603, allocations: 2.254 MB / 0.4953 GB, free: 8.098 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004512/0.6035, allocations: 1.011 MB / 0.4963 GB, free: 7.375 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.00083/0.6043, allocations: 203.2 kB / 0.4965 GB, free: 7.297 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003021/0.6046, allocations: 143.8 kB / 0.4966 GB, free: 7.281 MB / 366.1 MB Notification: Performance of SimCode: time 5.61e-07/0.6046, allocations: 0 / 0.4966 GB, free: 7.281 MB / 366.1 MB Notification: Performance of Templates: time 0.02278/0.6274, allocations: 14 MB / 0.5103 GB, free: 11.74 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)