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/package.mo", uses=false) Using package Chemical with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/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: "" <> buildModelFMU(Chemical.Examples.WaterSublimation,fileNamePrefix="Chemical_Chemical_Examples_WaterSublimation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Examples.WaterSublimation,fileNamePrefix="Chemical_Chemical_Examples_WaterSublimation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009253/0.0009253, allocations: 100 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.000947/0.000947, 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.284/1.284, allocations: 223.2 MB / 239.9 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo): time 0.1927/0.1927, allocations: 15.26 MB / 306.2 MB, free: 15.8 MB / 254.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003063/0.0003066, allocations: 8 kB / 371.4 MB, free: 3.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.306/0.3064, allocations: 54.62 MB / 426.1 MB, free: 39.84 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/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/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.005385/0.3118, allocations: 5.309 MB / 431.4 MB, free: 39.19 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01067/0.3225, allocations: 10.5 MB / 441.9 MB, free: 31.7 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001249/0.3238, allocations: 24.28 kB / 441.9 MB, free: 31.69 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000792/0.3246, allocations: 257.8 kB / 442.1 MB, free: 31.56 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002982/0.3276, allocations: 1.098 MB / 443.2 MB, free: 30.83 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003825/0.3314, allocations: 1.359 MB / 444.6 MB, free: 30 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001696/0.3331, allocations: 0.9428 MB / 445.5 MB, free: 29.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008164/0.334, allocations: 0.6539 MB / 446.2 MB, free: 29.23 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006219/0.3346, allocations: 0.4964 MB / 446.7 MB, free: 29.03 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000626/0.3352, allocations: 0.6191 MB / 447.3 MB, free: 28.79 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001017/0.3353, allocations: 67.31 kB / 447.4 MB, free: 28.79 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004356/0.3397, allocations: 1.313 MB / 448.7 MB, free: 28.55 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000214/0.3399, allocations: 222.2 kB / 448.9 MB, free: 28.43 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002951/0.3402, allocations: 238.9 kB / 449.1 MB, free: 28.3 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002672/0.3429, allocations: 1.595 MB / 450.7 MB, free: 27.8 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.3429, allocations: 0 / 450.7 MB, free: 27.8 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.524e-06/0.343, allocations: 3.938 kB / 450.7 MB, free: 27.79 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.421e-05/0.343, allocations: 0 / 450.7 MB, free: 27.79 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.002239/0.3452, allocations: 1.391 MB / 452.1 MB, free: 26.89 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/0.3453, allocations: 9.812 kB / 452.1 MB, free: 26.89 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001775/0.3455, allocations: 167.9 kB / 452.3 MB, free: 26.78 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009637/0.3464, allocations: 260.8 kB / 452.6 MB, free: 26.7 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006982/0.3471, allocations: 0.5552 MB / 453.1 MB, free: 26.28 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.923e-05/0.3472, allocations: 86.98 kB / 453.2 MB, free: 26.24 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001395/0.3474, allocations: 115.1 kB / 453.3 MB, free: 26.2 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001556/0.3489, allocations: 1.184 MB / 454.5 MB, free: 25.7 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.092e-05/0.349, allocations: 0 / 454.5 MB, free: 25.7 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.724e-05/0.349, allocations: 48.94 kB / 454.5 MB, free: 25.66 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.217e-05/0.3491, allocations: 28.38 kB / 454.6 MB, free: 25.66 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001713/0.3508, allocations: 1.335 MB / 455.9 MB, free: 25.26 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.005201/0.356, allocations: 3.963 MB / 459.9 MB, free: 22.68 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001493/0.3575, allocations: 0.9677 MB / 460.8 MB, free: 22.24 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004532/0.3621, allocations: 3.853 MB / 464.7 MB, free: 19.04 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.463e-05/0.3621, allocations: 45.16 kB / 464.7 MB, free: 18.98 MB / 350.1 MB Notification: Performance of pre-optimization done (n=62): time 2.454e-06/0.3621, allocations: 1.062 kB / 464.7 MB, free: 18.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=74): time 0.004912/0.367, allocations: 2.122 MB / 466.9 MB, free: 17.96 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.383e-05/0.3671, allocations: 59.47 kB / 466.9 MB, free: 17.89 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007025/0.3678, allocations: 0.5151 MB / 467.4 MB, free: 17.65 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.474e-05/0.3679, allocations: 39.86 kB / 467.5 MB, free: 17.61 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003149/0.3682, allocations: 0.5315 MB / 468 MB, free: 17.18 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001956/0.3684, allocations: 260 kB / 468.3 MB, free: 16.98 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.781e-05/0.3685, allocations: 20.47 kB / 468.3 MB, free: 16.96 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001298/0.3686, allocations: 381.5 kB / 468.6 MB, free: 16.62 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004287/0.369, allocations: 224.9 kB / 468.9 MB, free: 16.54 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006474/0.3697, allocations: 0.5459 MB / 469.4 MB, free: 16.05 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.005362/0.3751, allocations: 1.394 MB / 470.8 MB, free: 15.63 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.545e-06/0.3751, allocations: 2.531 kB / 470.8 MB, free: 15.63 MB / 350.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.001698/0.3768, allocations: 0.9462 MB / 471.8 MB, free: 15.24 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.882e-05/0.3768, allocations: 10.48 kB / 471.8 MB, free: 15.24 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.857e-05/0.3769, allocations: 10.97 kB / 471.8 MB, free: 15.24 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002847/0.3771, allocations: 85.61 kB / 471.9 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007147/0.3779, allocations: 239.4 kB / 472.1 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001308/0.3792, allocations: 1.614 MB / 473.7 MB, free: 13.7 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006828/0.3799, allocations: 66.38 kB / 473.8 MB, free: 13.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.407e-05/0.38, allocations: 57.8 kB / 473.8 MB, free: 13.67 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.0004191/0.3804, allocations: 252.7 kB / 474.1 MB, free: 13.46 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001104/0.3805, allocations: 76.31 kB / 474.2 MB, free: 13.42 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001861/0.3824, allocations: 0.8457 MB / 475 MB, free: 13.05 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.869e-06/0.3824, allocations: 6.75 kB / 475 MB, free: 13.05 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.573e-06/0.3824, allocations: 3.328 kB / 475 MB, free: 13.05 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.267e-05/0.3824, allocations: 3.516 kB / 475 MB, free: 13.05 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003403/0.3858, allocations: 1.736 MB / 476.7 MB, free: 12.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.338e-06/0.3859, allocations: 3.094 kB / 476.8 MB, free: 12.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006743/0.3866, allocations: 189 kB / 476.9 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002146/0.3868, allocations: 65.34 kB / 477 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.373e-05/0.3868, allocations: 29.81 kB / 477 MB, free: 12.03 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001261/0.3881, allocations: 1.605 MB / 478.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.09e-06/0.3881, allocations: 3.109 kB / 478.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00205/0.3902, allocations: 1.298 MB / 479.9 MB, free: 9.734 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002518/0.3904, allocations: 141.7 kB / 480.1 MB, free: 9.602 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.379e-05/0.3905, allocations: 19.5 kB / 480.1 MB, free: 9.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003627/0.3909, allocations: 43.83 kB / 480.1 MB, free: 9.566 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000161/0.3911, allocations: 70.81 kB / 480.2 MB, free: 9.555 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.044e-05/0.3912, allocations: 36.77 kB / 480.2 MB, free: 9.547 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004867/0.3917, allocations: 342.6 kB / 480.6 MB, free: 9.391 MB / 350.1 MB Notification: Performance of sort global known variables: time 5.11e-07/0.3917, allocations: 0 / 480.6 MB, free: 9.391 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001908/0.3936, allocations: 444.1 kB / 481 MB, free: 9.293 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.003164/0.3968, allocations: 2.921 MB / 483.9 MB, free: 7.137 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001737/0.3985, allocations: 0.8094 MB / 484.7 MB, free: 6.785 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.96e-06/0.3985, allocations: 0 / 484.7 MB, free: 6.785 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007013/0.3992, allocations: 480.3 kB / 485.2 MB, free: 6.543 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009087/0.4002, allocations: 166.4 kB / 485.4 MB, free: 6.469 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006757/0.4069, allocations: 10.07 MB / 495.4 MB, free: 13.27 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009262/0.4079, allocations: 1.037 MB / 496.5 MB, free: 12.55 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001061/0.409, allocations: 199.8 kB / 496.7 MB, free: 12.41 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006488/0.4096, allocations: 439.8 kB / 497.1 MB, free: 12.04 MB / 366.1 MB Notification: Performance of SimCode: time 1.493e-06/0.4096, allocations: 0 / 497.1 MB, free: 12.04 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03951/0.4492, allocations: 20.87 MB / 0.5058 GB, free: 8.34 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001989/0.4494, allocations: 179.5 kB / 0.506 GB, free: 8.102 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.227/2.676, allocations: 3.938 kB / 0.506 GB, free: 8.098 MB / 382.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Chemical_Chemical_Examples_WaterSublimation_fmu --startTime=0 --stopTime=49.7 --timeout=50 --tolerance=1e-06 Chemical_Chemical_Examples_WaterSublimation.fmu > Chemical_Chemical.Examples.WaterSublimation.pipe 2>&1) Environment - environmentSimulation: