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.0009424/0.0009424, allocations: 108 kB / 15.61 MB, free: 148 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.0009057/0.000906, allocations: 194.1 kB / 16.53 MB, free: 6.664 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.162/1.162, allocations: 222.9 MB / 240.2 MB, free: 4.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.1574/0.1574, allocations: 15.32 MB / 305.7 MB, free: 15.26 MB / 254.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.001117/0.001117, allocations: 63.89 kB / 370.3 MB, free: 3.949 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08134/0.08247, allocations: 53.61 MB / 423.9 MB, free: 14.29 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.2702/0.3527, allocations: 25.4 MB / 449.3 MB, free: 39.73 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008592/0.3613, allocations: 12.3 MB / 461.6 MB, free: 33.91 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003338/0.3617, allocations: 12.91 kB / 461.6 MB, free: 33.91 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004906/0.3622, allocations: 282.4 kB / 461.9 MB, free: 33.75 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001519/0.3637, allocations: 1.04 MB / 463 MB, free: 33.15 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002234/0.366, allocations: 1.548 MB / 464.5 MB, free: 32.49 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008503/0.3668, allocations: 1.393 MB / 465.9 MB, free: 32.15 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006301/0.3675, allocations: 0.8386 MB / 466.7 MB, free: 31.87 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004812/0.368, allocations: 0.6757 MB / 467.4 MB, free: 31.6 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005956/0.3686, allocations: 0.7268 MB / 468.1 MB, free: 31.28 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001559/0.3687, allocations: 127.9 kB / 468.3 MB, free: 31.28 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002422/0.3711, allocations: 1.182 MB / 469.5 MB, free: 30.99 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001793/0.3713, allocations: 291.4 kB / 469.7 MB, free: 30.8 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004183/0.3718, allocations: 0.6607 MB / 470.4 MB, free: 30.41 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002546/0.3743, allocations: 2.583 MB / 473 MB, free: 29.27 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.3743, allocations: 0 / 473 MB, free: 29.27 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3743, allocations: 1.375 kB / 473 MB, free: 29.27 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.731e-05/0.3744, allocations: 0 / 473 MB, free: 29.27 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.001967/0.3763, allocations: 1.623 MB / 474.6 MB, free: 28.24 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.932e-05/0.3764, allocations: 9.594 kB / 474.6 MB, free: 28.24 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009039/0.3773, allocations: 257.9 kB / 474.9 MB, free: 28.16 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006111/0.3779, allocations: 0.6024 MB / 475.5 MB, free: 27.73 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.88e-05/0.378, allocations: 84.89 kB / 475.6 MB, free: 27.69 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001407/0.3781, allocations: 115.2 kB / 475.7 MB, free: 27.65 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001466/0.3796, allocations: 1.202 MB / 476.9 MB, free: 27.14 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.047e-05/0.3796, allocations: 1.094 kB / 476.9 MB, free: 27.14 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002599/0.3799, allocations: 44.94 kB / 476.9 MB, free: 27.11 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.728e-05/0.38, allocations: 35.64 kB / 476.9 MB, free: 27.1 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001845/0.3818, allocations: 1.333 MB / 478.3 MB, free: 26.71 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.004277/0.3861, allocations: 4.048 MB / 482.3 MB, free: 24.11 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001187/0.3873, allocations: 0.9846 MB / 483.3 MB, free: 23.66 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004642/0.3878, allocations: 384.8 kB / 483.7 MB, free: 23.5 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003817/0.3916, allocations: 3.971 MB / 487.7 MB, free: 20.3 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.416e-05/0.3916, allocations: 42.17 kB / 487.7 MB, free: 20.25 MB / 366.1 MB Notification: Performance of pre-optimization done (n=62): time 1.552e-06/0.3916, allocations: 1.25 kB / 487.7 MB, free: 20.25 MB / 366.1 MB Notification: Performance of matching and sorting (n=74): time 0.003934/0.3956, allocations: 2.097 MB / 489.8 MB, free: 19.23 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.734e-05/0.3956, allocations: 68.86 kB / 489.9 MB, free: 19.16 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004928/0.3961, allocations: 0.5184 MB / 490.4 MB, free: 18.92 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.3e-05/0.3962, allocations: 40.17 kB / 490.4 MB, free: 18.88 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000201/0.3964, allocations: 0.5326 MB / 491 MB, free: 18.45 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001226/0.3965, allocations: 258.8 kB / 491.2 MB, free: 18.25 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001929/0.3967, allocations: 193.9 kB / 491.4 MB, free: 18.15 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.223e-05/0.3968, allocations: 380.2 kB / 491.8 MB, free: 17.81 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004011/0.3972, allocations: 230.6 kB / 492 MB, free: 17.73 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004749/0.3977, allocations: 0.5404 MB / 492.5 MB, free: 17.25 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.005193/0.4029, allocations: 2.133 MB / 494.7 MB, free: 16.21 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.492e-06/0.4029, allocations: 3.875 kB / 494.7 MB, free: 16.21 MB / 366.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.001283/0.4042, allocations: 0.957 MB / 495.6 MB, free: 15.8 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.4042, allocations: 11.3 kB / 495.6 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.4042, allocations: 10.84 kB / 495.6 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002014/0.4044, allocations: 70.56 kB / 495.7 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00057/0.405, allocations: 244.8 kB / 496 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00104/0.406, allocations: 1.716 MB / 497.7 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000389/0.4065, allocations: 36.28 kB / 497.7 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.665e-05/0.4065, allocations: 52.73 kB / 497.8 MB, free: 14.15 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.0002431/0.4068, allocations: 257.2 kB / 498 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.837e-05/0.4069, allocations: 76.02 kB / 498.1 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001393/0.4083, allocations: 0.8376 MB / 498.9 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/0.4083, allocations: 15.72 kB / 498.9 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.4083, allocations: 0 / 498.9 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.157e-06/0.4083, allocations: 3.422 kB / 498.9 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001911/0.4102, allocations: 1.759 MB / 0.489 GB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.4102, allocations: 3.562 kB / 0.489 GB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000516/0.4107, allocations: 179.2 kB / 0.4891 GB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001472/0.4109, allocations: 62.47 kB / 0.4892 GB, free: 12.51 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.189e-05/0.411, allocations: 37.45 kB / 0.4892 GB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009386/0.4119, allocations: 1.704 MB / 0.4909 GB, free: 10.92 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.4119, allocations: 7.594 kB / 0.4909 GB, free: 10.92 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00131/0.4132, allocations: 1.179 MB / 0.4921 GB, free: 10.29 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.248e-05/0.4133, allocations: 144.4 kB / 0.4922 GB, free: 10.15 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.122e-05/0.4134, allocations: 22.41 kB / 0.4922 GB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002826/0.4137, allocations: 19.16 kB / 0.4922 GB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001089/0.4138, allocations: 73.28 kB / 0.4923 GB, free: 10.11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.342e-05/0.4139, allocations: 39.5 kB / 0.4923 GB, free: 10.1 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000295/0.4142, allocations: 347.8 kB / 0.4927 GB, free: 9.938 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.4142, allocations: 2.406 kB / 0.4927 GB, free: 9.938 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008988/0.4151, allocations: 452.4 kB / 0.4931 GB, free: 9.836 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.0006989/0.4158, allocations: 0.4983 MB / 0.4936 GB, free: 9.59 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001342/0.4171, allocations: 0.86 MB / 0.4944 GB, free: 9.203 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.4171, allocations: 0 / 0.4944 GB, free: 9.203 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004991/0.4176, allocations: 482 kB / 0.4949 GB, free: 8.961 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007656/0.4184, allocations: 178.8 kB / 0.4951 GB, free: 8.887 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002141/0.4206, allocations: 1.803 MB / 0.4968 GB, free: 7.867 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003911/0.421, allocations: 1.007 MB / 0.4978 GB, free: 7.148 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0007038/0.4217, allocations: 205.1 kB / 0.498 GB, free: 7.066 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002414/0.4219, allocations: 142.3 kB / 0.4981 GB, free: 7.047 MB / 366.1 MB Notification: Performance of SimCode: time 3.3e-07/0.4219, allocations: 0 / 0.4981 GB, free: 7.047 MB / 366.1 MB Notification: Performance of Templates: time 0.01844/0.4404, allocations: 14.48 MB / 0.5123 GB, free: 9.793 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)