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.0-master/package.mo", uses=false) Using package Chemical with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-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.0009545/0.0009545, allocations: 98.77 kB / 15.05 MB, free: 1.105 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.0009523/0.0009524, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.362/1.362, allocations: 223.2 MB / 239.9 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo): time 0.2364/0.2364, allocations: 15.25 MB / 306.2 MB, free: 15.72 MB / 254.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003072/0.0003073, allocations: 16 kB / 371.4 MB, free: 4.008 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3287/0.3291, allocations: 54.61 MB / 426 MB, free: 40.31 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo:3011:6-3011:65: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.0-master/package.mo:3011:6-3011:65: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.005401/0.3345, allocations: 5.312 MB / 431.3 MB, free: 39.39 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009398/0.3439, allocations: 10.5 MB / 441.8 MB, free: 31.9 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008716/0.3448, allocations: 25.06 kB / 441.8 MB, free: 31.89 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006393/0.3455, allocations: 257.6 kB / 442.1 MB, free: 31.76 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002493/0.348, allocations: 1.098 MB / 443.2 MB, free: 31.03 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003157/0.3511, allocations: 1.361 MB / 444.5 MB, free: 30.2 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001322/0.3525, allocations: 0.9419 MB / 445.5 MB, free: 29.7 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006177/0.3531, allocations: 0.653 MB / 446.1 MB, free: 29.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005193/0.3536, allocations: 0.4996 MB / 446.6 MB, free: 29.22 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000564/0.3542, allocations: 0.6266 MB / 447.2 MB, free: 28.98 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001048/0.3543, allocations: 65.75 kB / 447.3 MB, free: 28.98 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003311/0.3576, allocations: 1.305 MB / 448.6 MB, free: 28.75 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001569/0.3578, allocations: 217.9 kB / 448.8 MB, free: 28.63 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001706/0.358, allocations: 241.5 kB / 449.1 MB, free: 28.5 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001855/0.3598, allocations: 1.596 MB / 450.7 MB, free: 27.99 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.355e-06/0.3599, allocations: 4 kB / 450.7 MB, free: 27.99 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3599, allocations: 0 / 450.7 MB, free: 27.99 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.908e-05/0.3599, allocations: 0 / 450.7 MB, free: 27.99 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.001908/0.3618, allocations: 1.392 MB / 452 MB, free: 27.09 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.11e-05/0.3618, allocations: 6.406 kB / 452.1 MB, free: 27.09 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009137/0.3628, allocations: 270 kB / 452.3 MB, free: 27 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000615/0.3634, allocations: 0.547 MB / 452.9 MB, free: 26.59 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.995e-05/0.3635, allocations: 84.64 kB / 452.9 MB, free: 26.55 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001377/0.3636, allocations: 115.3 kB / 453.1 MB, free: 26.52 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001543/0.3651, allocations: 1.185 MB / 454.2 MB, free: 26.01 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.089e-05/0.3652, allocations: 0 / 454.2 MB, free: 26.01 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.183e-05/0.3653, allocations: 44.78 kB / 454.3 MB, free: 25.97 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.901e-05/0.3653, allocations: 26.34 kB / 454.3 MB, free: 25.97 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001691/0.367, allocations: 1.337 MB / 455.7 MB, free: 25.57 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.004755/0.3718, allocations: 3.965 MB / 459.6 MB, free: 22.99 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001387/0.3732, allocations: 0.9727 MB / 460.6 MB, free: 22.54 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004178/0.3774, allocations: 3.857 MB / 464.4 MB, free: 19.34 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.906e-05/0.3774, allocations: 37.03 kB / 464.5 MB, free: 19.29 MB / 350.1 MB Notification: Performance of pre-optimization done (n=62): time 2.294e-06/0.3774, allocations: 1.531 kB / 464.5 MB, free: 19.29 MB / 350.1 MB Notification: Performance of matching and sorting (n=74): time 0.00475/0.3822, allocations: 2.119 MB / 466.6 MB, free: 18.27 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.544e-05/0.3822, allocations: 59.03 kB / 466.7 MB, free: 18.21 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006847/0.3829, allocations: 0.5185 MB / 467.2 MB, free: 17.96 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.456e-05/0.383, allocations: 36.86 kB / 467.2 MB, free: 17.92 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003345/0.3833, allocations: 0.5277 MB / 467.7 MB, free: 17.5 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001925/0.3835, allocations: 267.9 kB / 468 MB, free: 17.29 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.547e-05/0.3835, allocations: 19.72 kB / 468 MB, free: 17.27 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.3837, allocations: 386.3 kB / 468.4 MB, free: 16.92 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004353/0.3841, allocations: 223.5 kB / 468.6 MB, free: 16.85 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005453/0.3847, allocations: 0.5388 MB / 469.2 MB, free: 16.37 MB / 350.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: gas.temperature = gas.temperature_start (solid.temperature_start = gas.temperature_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.00522/0.3899, allocations: 1.392 MB / 470.6 MB, free: 15.95 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.253e-06/0.3899, allocations: 4.562 kB / 470.6 MB, free: 15.95 MB / 350.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.001666/0.3916, allocations: 0.948 MB / 471.5 MB, free: 15.55 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.837e-05/0.3916, allocations: 16.44 kB / 471.5 MB, free: 15.54 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.972e-05/0.3917, allocations: 10.66 kB / 471.5 MB, free: 15.54 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002682/0.3919, allocations: 73.78 kB / 471.6 MB, free: 15.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007359/0.3927, allocations: 239.2 kB / 471.8 MB, free: 15.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001279/0.394, allocations: 1.619 MB / 473.5 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006786/0.3947, allocations: 69.12 kB / 473.5 MB, free: 13.99 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.112e-05/0.3948, allocations: 55.56 kB / 473.6 MB, free: 13.98 MB / 350.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: gas.temperature = gas.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004226/0.3952, allocations: 251.8 kB / 473.8 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.779e-05/0.3953, allocations: 76.94 kB / 473.9 MB, free: 13.73 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001673/0.397, allocations: 0.8396 MB / 474.7 MB, free: 13.37 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.749e-06/0.397, allocations: 8.141 kB / 474.7 MB, free: 13.37 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.397, allocations: 1.344 kB / 474.7 MB, free: 13.37 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.939e-06/0.397, allocations: 4.125 kB / 474.7 MB, free: 13.37 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002604/0.3996, allocations: 1.748 MB / 476.5 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/0.3997, allocations: 3.141 kB / 476.5 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006652/0.4003, allocations: 181.6 kB / 476.7 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001962/0.4006, allocations: 60.27 kB / 476.7 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.155e-05/0.4006, allocations: 34.16 kB / 476.8 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001209/0.4018, allocations: 1.604 MB / 478.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.4019, allocations: 7.156 kB / 478.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0018/0.4037, allocations: 1.287 MB / 479.7 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002081/0.4039, allocations: 145 kB / 479.8 MB, free: 9.918 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.306e-05/0.404, allocations: 27.2 kB / 479.8 MB, free: 9.898 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003683/0.4044, allocations: 36.98 kB / 479.9 MB, free: 9.883 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001445/0.4045, allocations: 71.72 kB / 479.9 MB, free: 9.871 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.352e-05/0.4046, allocations: 36.69 kB / 480 MB, free: 9.863 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000449/0.405, allocations: 346.4 kB / 480.3 MB, free: 9.703 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.405, allocations: 0 / 480.3 MB, free: 9.703 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001417/0.4065, allocations: 443.7 kB / 480.7 MB, free: 9.605 MB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008088/0.4073, allocations: 0.5001 MB / 481.2 MB, free: 9.355 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001437/0.4087, allocations: 0.8122 MB / 482.1 MB, free: 9.004 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/0.4088, allocations: 7.938 kB / 482.1 MB, free: 8.996 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006481/0.4094, allocations: 486 kB / 482.5 MB, free: 8.754 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009802/0.4104, allocations: 150.9 kB / 482.7 MB, free: 8.699 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003834/0.4142, allocations: 2.252 MB / 484.9 MB, free: 7.316 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006547/0.4149, allocations: 1.037 MB / 486 MB, free: 6.594 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.001004/0.416, allocations: 199.3 kB / 486.2 MB, free: 6.52 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003118/0.4163, allocations: 138.6 kB / 486.3 MB, free: 6.504 MB / 350.1 MB Notification: Performance of SimCode: time 1.223e-06/0.4163, allocations: 0 / 486.3 MB, free: 6.504 MB / 350.1 MB Notification: Performance of Templates: time 0.02111/0.4374, allocations: 13.42 MB / 499.7 MB, free: 10.88 MB / 366.1 MB make -j1 -f Chemical_Chemical.Examples.WaterSublimation.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: