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: "" <> 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.0008831/0.0008831, allocations: 91.38 kB / 15.36 MB, free: 0.7383 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.005422/0.005422, allocations: 172.4 kB / 16.26 MB, free: 6.613 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.312/1.312, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.1781/0.1781, allocations: 15.27 MB / 306.7 MB, free: 15.7 MB / 254.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003426/0.0003428, allocations: 8 kB / 372.2 MB, free: 3.516 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2422/0.2425, allocations: 54.62 MB / 426.8 MB, free: 40.09 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo:3019:6-3019: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.1-master/package.mo:3019:6-3019: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.02042/0.263, allocations: 25.37 MB / 452.2 MB, free: 31.62 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01002/0.273, allocations: 12.14 MB / 464.3 MB, free: 23.84 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007154/0.2737, allocations: 23.91 kB / 464.3 MB, free: 23.83 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006116/0.2744, allocations: 246.6 kB / 464.6 MB, free: 23.71 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002127/0.2765, allocations: 0.9286 MB / 465.5 MB, free: 23.14 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002708/0.2792, allocations: 1.36 MB / 466.9 MB, free: 22.33 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001361/0.2806, allocations: 1.328 MB / 468.2 MB, free: 21.68 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007554/0.2814, allocations: 0.6732 MB / 468.9 MB, free: 21.38 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008095/0.2822, allocations: 0.6269 MB / 469.5 MB, free: 21.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008353/0.283, allocations: 0.6571 MB / 470.2 MB, free: 20.92 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001112/0.2831, allocations: 66.5 kB / 470.2 MB, free: 20.92 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002398/0.2855, allocations: 1.139 MB / 471.4 MB, free: 20.63 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001669/0.2857, allocations: 226.2 kB / 471.6 MB, free: 20.51 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004379/0.2862, allocations: 0.6127 MB / 472.2 MB, free: 20.15 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00218/0.2883, allocations: 2.426 MB / 474.6 MB, free: 18.43 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.2884, allocations: 0 / 474.6 MB, free: 18.43 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.2884, allocations: 0 / 474.6 MB, free: 18.43 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.108e-05/0.2884, allocations: 0 / 474.6 MB, free: 18.43 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.001794/0.2902, allocations: 1.381 MB / 476 MB, free: 17.13 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/0.2902, allocations: 8.031 kB / 476 MB, free: 17.12 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001456/0.2904, allocations: 174 kB / 476.2 MB, free: 16.97 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008422/0.2912, allocations: 260.3 kB / 476.4 MB, free: 16.75 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005681/0.2918, allocations: 0.5857 MB / 477 MB, free: 16.2 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.224e-05/0.2919, allocations: 82.64 kB / 477.1 MB, free: 16.12 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001343/0.292, allocations: 116.3 kB / 477.2 MB, free: 16.01 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001455/0.2935, allocations: 1.214 MB / 478.4 MB, free: 14.98 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.235e-05/0.2935, allocations: 0 / 478.4 MB, free: 14.98 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.516e-05/0.2936, allocations: 47.98 kB / 478.5 MB, free: 14.93 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.536e-05/0.2936, allocations: 28 kB / 478.5 MB, free: 14.9 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001652/0.2953, allocations: 1.338 MB / 479.8 MB, free: 13.74 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.0044/0.2997, allocations: 3.998 MB / 483.8 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00115/0.3008, allocations: 0.9762 MB / 484.8 MB, free: 9.242 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004827/0.3013, allocations: 397.8 kB / 485.2 MB, free: 8.887 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003619/0.305, allocations: 3.902 MB / 489.1 MB, free: 4.902 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.579e-05/0.305, allocations: 39.12 kB / 489.1 MB, free: 4.855 MB / 350.1 MB Notification: Performance of pre-optimization done (n=62): time 1.753e-06/0.305, allocations: 3.938 kB / 489.2 MB, free: 4.852 MB / 350.1 MB Notification: Performance of matching and sorting (n=74): time 0.003872/0.3089, allocations: 2.112 MB / 491.3 MB, free: 2.859 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.226e-05/0.3089, allocations: 64 kB / 491.3 MB, free: 2.785 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004757/0.3094, allocations: 0.5191 MB / 491.8 MB, free: 2.328 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.532e-05/0.3094, allocations: 42.36 kB / 491.9 MB, free: 2.281 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002057/0.3096, allocations: 0.5289 MB / 492.4 MB, free: 1.797 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001286/0.3098, allocations: 259.8 kB / 492.7 MB, free: 1.562 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.48e-05/0.3099, allocations: 82.14 kB / 492.7 MB, free: 1.488 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.397e-05/0.31, allocations: 381.7 kB / 493.1 MB, free: 1.129 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003528/0.3103, allocations: 234.2 kB / 493.4 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004649/0.3108, allocations: 0.5513 MB / 493.9 MB, free: 284 kB / 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: solid.temperature = solid.temperature_start (gas.temperature_start = solid.temperature_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.00574/0.3165, allocations: 2.139 MB / 496 MB, free: 14.26 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.3166, allocations: 4 kB / 496 MB, free: 14.25 MB / 366.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.001502/0.3181, allocations: 0.9559 MB / 497 MB, free: 13.36 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/0.3181, allocations: 8.797 kB / 497 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.348e-05/0.3181, allocations: 12 kB / 497 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002321/0.3183, allocations: 84.06 kB / 497.1 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006514/0.319, allocations: 243.5 kB / 497.3 MB, free: 13.06 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001375/0.3204, allocations: 1.601 MB / 498.9 MB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005209/0.3209, allocations: 72.2 kB / 499 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.347e-05/0.321, allocations: 54.39 kB / 499.1 MB, free: 11.27 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 sytem: 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.0003495/0.3214, allocations: 247.3 kB / 499.3 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.204e-05/0.3215, allocations: 67.81 kB / 499.4 MB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001683/0.3232, allocations: 0.8529 MB / 0.4885 GB, free: 10.19 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.526e-06/0.3232, allocations: 12 kB / 0.4885 GB, free: 10.18 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.3232, allocations: 0 / 0.4885 GB, free: 10.18 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.025e-05/0.3232, allocations: 7.688 kB / 0.4885 GB, free: 10.18 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002441/0.3256, allocations: 1.745 MB / 0.4902 GB, free: 8.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.3257, allocations: 4.031 kB / 0.4902 GB, free: 8.586 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006032/0.3263, allocations: 186.8 kB / 0.4904 GB, free: 8.426 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001775/0.3265, allocations: 70.95 kB / 0.4905 GB, free: 8.363 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.564e-05/0.3265, allocations: 26.53 kB / 0.4905 GB, free: 8.34 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00132/0.3278, allocations: 1.604 MB / 0.4921 GB, free: 6.656 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/0.3279, allocations: 4 kB / 0.4921 GB, free: 6.652 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001692/0.3296, allocations: 1.177 MB / 0.4932 GB, free: 5.504 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001197/0.3297, allocations: 150.8 kB / 0.4934 GB, free: 5.34 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.679e-05/0.3298, allocations: 12.75 kB / 0.4934 GB, free: 5.328 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003507/0.3301, allocations: 44.58 kB / 0.4934 GB, free: 5.289 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001271/0.3303, allocations: 67.11 kB / 0.4935 GB, free: 5.242 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.314e-05/0.3303, allocations: 38.11 kB / 0.4935 GB, free: 5.207 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003718/0.3307, allocations: 347.4 kB / 0.4938 GB, free: 4.918 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3307, allocations: 3.938 kB / 0.4939 GB, free: 4.914 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00106/0.3318, allocations: 457.4 kB / 0.4943 GB, free: 4.477 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.002565/0.3343, allocations: 2.135 MB / 0.4964 GB, free: 2.41 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001219/0.3356, allocations: 0.8156 MB / 0.4972 GB, free: 1.652 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.077e-06/0.3356, allocations: 4 kB / 0.4972 GB, free: 1.648 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005922/0.3362, allocations: 478.2 kB / 0.4976 GB, free: 1.207 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00101/0.3372, allocations: 180.1 kB / 0.4978 GB, free: 1.059 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008223/0.3454, allocations: 7.486 MB / 0.5051 GB, free: 9.23 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004975/0.3459, allocations: 1.013 MB / 0.5061 GB, free: 8.184 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0007288/0.3467, allocations: 202 kB / 0.5063 GB, free: 7.984 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005093/0.3472, allocations: 439.2 kB / 0.5067 GB, free: 7.559 MB / 382.1 MB Notification: Performance of SimCode: time 6.11e-07/0.3472, allocations: 0 / 0.5067 GB, free: 7.559 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9292/1.276, allocations: 21.14 MB / 0.5274 GB, free: 2.566 MB / 398.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002424/1.277, allocations: 195 kB / 0.5275 GB, free: 2.312 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.376/3.653, allocations: 4 kB / 0.5275 GB, free: 2.309 MB / 398.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/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)