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.0007767/0.0007767, allocations: 91.22 kB / 15.06 MB, free: 1.098 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.000854/0.000854, allocations: 172.7 kB / 15.95 MB, free: 208 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.254/1.254, allocations: 223.2 MB / 240 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo): time 0.1967/0.1967, allocations: 15.27 MB / 306.3 MB, free: 15.77 MB / 254.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0002887/0.0002887, allocations: 8.219 kB / 371.6 MB, free: 3.898 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2497/0.25, allocations: 54.62 MB / 426.2 MB, free: 40.32 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.004719/0.2548, allocations: 5.853 MB / 432 MB, free: 39.24 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009233/0.264, allocations: 11.26 MB / 443.3 MB, free: 31.11 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008407/0.2649, allocations: 24.44 kB / 443.3 MB, free: 31.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006408/0.2655, allocations: 245.7 kB / 443.6 MB, free: 30.96 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002089/0.2676, allocations: 0.9526 MB / 444.5 MB, free: 30.38 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002747/0.2704, allocations: 1.24 MB / 445.8 MB, free: 29.66 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001134/0.2715, allocations: 1.284 MB / 447 MB, free: 29.01 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006073/0.2722, allocations: 0.6537 MB / 447.7 MB, free: 28.74 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005077/0.2727, allocations: 0.5378 MB / 448.2 MB, free: 28.55 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005807/0.2733, allocations: 0.6382 MB / 448.9 MB, free: 28.31 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001014/0.2734, allocations: 66.91 kB / 448.9 MB, free: 28.31 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002633/0.276, allocations: 1.087 MB / 450 MB, free: 28.05 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001693/0.2762, allocations: 220.5 kB / 450.2 MB, free: 27.93 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002138/0.2764, allocations: 238.4 kB / 450.5 MB, free: 27.8 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001853/0.2783, allocations: 1.952 MB / 452.4 MB, free: 27.08 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.2783, allocations: 0 / 452.4 MB, free: 27.08 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.2783, allocations: 0 / 452.4 MB, free: 27.08 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.64e-05/0.2783, allocations: 0 / 452.4 MB, free: 27.08 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.001973/0.2803, allocations: 1.391 MB / 453.8 MB, free: 26.18 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.2804, allocations: 9.594 kB / 453.8 MB, free: 26.18 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001442/0.2805, allocations: 168.8 kB / 454 MB, free: 26.07 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008787/0.2814, allocations: 262.1 kB / 454.2 MB, free: 25.98 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006583/0.2821, allocations: 0.5666 MB / 454.8 MB, free: 25.57 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.791e-05/0.2821, allocations: 90.05 kB / 454.9 MB, free: 25.53 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001222/0.2823, allocations: 110.6 kB / 455 MB, free: 25.49 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00153/0.2838, allocations: 1.187 MB / 456.2 MB, free: 24.99 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.114e-05/0.2838, allocations: 0 / 456.2 MB, free: 24.99 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.345e-05/0.2839, allocations: 44.97 kB / 456.2 MB, free: 24.96 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.757e-05/0.2839, allocations: 30.34 kB / 456.3 MB, free: 24.95 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001683/0.2856, allocations: 1.339 MB / 457.6 MB, free: 24.55 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.00472/0.2904, allocations: 3.997 MB / 461.6 MB, free: 21.97 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001395/0.2918, allocations: 0.9695 MB / 462.6 MB, free: 21.52 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005462/0.2923, allocations: 387.3 kB / 462.9 MB, free: 21.37 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004547/0.2969, allocations: 3.898 MB / 466.8 MB, free: 18.17 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.048e-05/0.2969, allocations: 42.97 kB / 466.9 MB, free: 18.12 MB / 350.1 MB Notification: Performance of pre-optimization done (n=62): time 2.134e-06/0.297, allocations: 3.938 kB / 466.9 MB, free: 18.12 MB / 350.1 MB Notification: Performance of matching and sorting (n=74): time 0.004416/0.3014, allocations: 2.111 MB / 469 MB, free: 17.1 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.495e-05/0.3014, allocations: 63.53 kB / 469.1 MB, free: 17.04 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005921/0.302, allocations: 0.5141 MB / 469.6 MB, free: 16.79 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.651e-05/0.3021, allocations: 45.83 kB / 469.6 MB, free: 16.74 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002899/0.3024, allocations: 0.5339 MB / 470.2 MB, free: 16.31 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001645/0.3025, allocations: 264 kB / 470.4 MB, free: 16.11 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.664e-05/0.3026, allocations: 20.12 kB / 470.4 MB, free: 16.09 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001098/0.3027, allocations: 378.6 kB / 470.8 MB, free: 15.75 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004232/0.3031, allocations: 227.3 kB / 471 MB, free: 15.67 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005604/0.3037, allocations: 0.5518 MB / 471.6 MB, free: 15.18 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.004947/0.3087, allocations: 1.385 MB / 473 MB, free: 14.77 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.342e-06/0.3087, allocations: 2.688 kB / 473 MB, free: 14.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.001688/0.3104, allocations: 0.9556 MB / 473.9 MB, free: 14.37 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.388e-05/0.3104, allocations: 9.188 kB / 473.9 MB, free: 14.37 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.614e-05/0.3104, allocations: 10.36 kB / 473.9 MB, free: 14.37 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002361/0.3107, allocations: 73.59 kB / 474 MB, free: 14.35 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006985/0.3114, allocations: 240.3 kB / 474.2 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001187/0.3126, allocations: 1.599 MB / 475.8 MB, free: 12.85 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000585/0.3132, allocations: 69.52 kB / 475.9 MB, free: 12.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.163e-05/0.3133, allocations: 58.2 kB / 476 MB, free: 12.81 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.0003573/0.3136, allocations: 249 kB / 476.2 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001267/0.3138, allocations: 74 kB / 476.3 MB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001751/0.3155, allocations: 0.8372 MB / 477.1 MB, free: 12.2 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.618e-06/0.3156, allocations: 8.188 kB / 477.1 MB, free: 12.2 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.3156, allocations: 10 kB / 477.1 MB, free: 12.2 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.018e-05/0.3156, allocations: 3.328 kB / 477.1 MB, free: 12.2 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002481/0.3181, allocations: 1.747 MB / 478.9 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.633e-06/0.3181, allocations: 6.375 kB / 478.9 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006307/0.3187, allocations: 189.4 kB / 479.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001827/0.3189, allocations: 61.11 kB / 479.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.772e-05/0.319, allocations: 28.36 kB / 479.2 MB, free: 11.17 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001101/0.3201, allocations: 1.582 MB / 480.7 MB, free: 9.703 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.3201, allocations: 2.406 kB / 480.8 MB, free: 9.703 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001686/0.3218, allocations: 1.179 MB / 481.9 MB, free: 9.066 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001789/0.322, allocations: 148.4 kB / 482.1 MB, free: 8.926 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.877e-05/0.3221, allocations: 20.3 kB / 482.1 MB, free: 8.914 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003396/0.3224, allocations: 39.75 kB / 482.1 MB, free: 8.895 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001261/0.3226, allocations: 79.06 kB / 482.2 MB, free: 8.875 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.743e-05/0.3226, allocations: 33.52 kB / 482.2 MB, free: 8.871 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004137/0.323, allocations: 341.9 kB / 482.6 MB, free: 8.715 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3231, allocations: 0 / 482.6 MB, free: 8.715 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001398/0.3245, allocations: 450.9 kB / 483 MB, free: 8.613 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.002563/0.327, allocations: 2.115 MB / 485.1 MB, free: 7.297 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001341/0.3284, allocations: 0.8084 MB / 485.9 MB, free: 6.949 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.3284, allocations: 0 / 485.9 MB, free: 6.949 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005854/0.329, allocations: 488.8 kB / 486.4 MB, free: 6.699 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009013/0.3299, allocations: 173.2 kB / 486.6 MB, free: 6.621 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006608/0.3365, allocations: 4.996 MB / 491.6 MB, free: 2.445 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004236/0.337, allocations: 1.013 MB / 492.6 MB, free: 1.523 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0007997/0.3378, allocations: 193.8 kB / 492.8 MB, free: 1.355 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000486/0.3383, allocations: 440.4 kB / 493.2 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of SimCode: time 8.51e-07/0.3383, allocations: 4 kB / 493.2 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0335/0.3718, allocations: 21.08 MB / 0.5022 GB, free: 12.25 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001635/0.372, allocations: 178 kB / 0.5024 GB, free: 12.01 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.173/2.545, allocations: 7.938 kB / 0.5024 GB, free: 12 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: