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.001121/0.001121, allocations: 108 kB / 15.6 MB, free: 132 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.001094/0.001094, allocations: 194 kB / 16.53 MB, free: 6.391 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.164/1.164, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.1584/0.1584, allocations: 15.31 MB / 305.7 MB, free: 15.23 MB / 254.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.001085/0.001085, allocations: 67.91 kB / 370.4 MB, free: 3.836 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07642/0.07752, allocations: 53.6 MB / 424 MB, free: 14.18 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.2539/0.3314, allocations: 25.43 MB / 449.5 MB, free: 39.82 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008805/0.3403, allocations: 12.3 MB / 461.8 MB, free: 34.02 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004287/0.3407, allocations: 16.81 kB / 461.8 MB, free: 34.01 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005232/0.3413, allocations: 289.7 kB / 462.1 MB, free: 33.85 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001579/0.3428, allocations: 1.035 MB / 463.1 MB, free: 33.25 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002413/0.3453, allocations: 1.544 MB / 464.7 MB, free: 32.6 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009361/0.3462, allocations: 1.396 MB / 466 MB, free: 32.25 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006422/0.3469, allocations: 0.8446 MB / 466.9 MB, free: 31.95 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004865/0.3474, allocations: 0.6714 MB / 467.6 MB, free: 31.69 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006036/0.348, allocations: 0.7255 MB / 468.3 MB, free: 31.37 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001667/0.3481, allocations: 126.8 kB / 468.4 MB, free: 31.37 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002487/0.3506, allocations: 1.184 MB / 469.6 MB, free: 31.09 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001774/0.3508, allocations: 292.6 kB / 469.9 MB, free: 30.89 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004144/0.3512, allocations: 0.6541 MB / 470.5 MB, free: 30.51 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002466/0.3537, allocations: 2.596 MB / 473.1 MB, free: 29.36 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.3537, allocations: 0 / 473.1 MB, free: 29.36 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.3537, allocations: 0 / 473.1 MB, free: 29.36 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.363e-05/0.3538, allocations: 0 / 473.1 MB, free: 29.36 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.00198/0.3557, allocations: 1.617 MB / 474.7 MB, free: 28.33 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.329e-05/0.3558, allocations: 9.562 kB / 474.8 MB, free: 28.33 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001366/0.3559, allocations: 169.2 kB / 474.9 MB, free: 28.22 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008839/0.3568, allocations: 257.5 kB / 475.2 MB, free: 28.14 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006316/0.3575, allocations: 0.594 MB / 475.8 MB, free: 27.71 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.287e-05/0.3575, allocations: 85.64 kB / 475.9 MB, free: 27.68 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000136/0.3577, allocations: 119 kB / 476 MB, free: 27.63 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00145/0.3591, allocations: 1.21 MB / 477.2 MB, free: 27.12 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.928e-05/0.3591, allocations: 0 / 477.2 MB, free: 27.12 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.384e-05/0.3592, allocations: 46.28 kB / 477.2 MB, free: 27.08 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.771e-05/0.3593, allocations: 27.47 kB / 477.3 MB, free: 27.08 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001696/0.361, allocations: 1.332 MB / 478.6 MB, free: 26.69 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.004264/0.3652, allocations: 4.057 MB / 482.6 MB, free: 24.09 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001202/0.3664, allocations: 0.9812 MB / 483.6 MB, free: 23.63 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004871/0.3669, allocations: 388.1 kB / 484 MB, free: 23.47 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003694/0.3706, allocations: 3.974 MB / 488 MB, free: 20.27 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.485e-05/0.3707, allocations: 39.22 kB / 488 MB, free: 20.23 MB / 366.1 MB Notification: Performance of pre-optimization done (n=62): time 1.893e-06/0.3707, allocations: 0 / 488 MB, free: 20.23 MB / 366.1 MB Notification: Performance of matching and sorting (n=74): time 0.00388/0.3746, allocations: 2.097 MB / 490.1 MB, free: 19.2 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.118e-05/0.3746, allocations: 64.25 kB / 490.2 MB, free: 19.14 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004617/0.3751, allocations: 0.5225 MB / 490.7 MB, free: 18.89 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.192e-05/0.3751, allocations: 40.58 kB / 490.7 MB, free: 18.85 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002043/0.3753, allocations: 0.5314 MB / 491.3 MB, free: 18.42 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001205/0.3754, allocations: 260.1 kB / 491.5 MB, free: 18.22 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001976/0.3756, allocations: 191.7 kB / 491.7 MB, free: 18.12 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.457e-05/0.3757, allocations: 379.1 kB / 492.1 MB, free: 17.79 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003787/0.3761, allocations: 229.1 kB / 492.3 MB, free: 17.71 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004723/0.3766, allocations: 0.5449 MB / 492.8 MB, free: 17.22 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.005039/0.3816, allocations: 2.131 MB / 495 MB, free: 16.18 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.3817, allocations: 3.844 kB / 495 MB, free: 16.18 MB / 366.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.001207/0.3829, allocations: 0.9584 MB / 495.9 MB, free: 15.78 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.3829, allocations: 11.09 kB / 495.9 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/0.3829, allocations: 10.97 kB / 496 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001959/0.3831, allocations: 71.53 kB / 496 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005647/0.3837, allocations: 232.2 kB / 496.3 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001057/0.3847, allocations: 1.733 MB / 498 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003772/0.3851, allocations: 34.33 kB / 498 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.683e-05/0.3852, allocations: 52.83 kB / 498.1 MB, free: 14.12 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.3854, allocations: 253.2 kB / 498.3 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.764e-05/0.3855, allocations: 72.86 kB / 498.4 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001397/0.3869, allocations: 0.8453 MB / 499.2 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.387, allocations: 10.89 kB / 499.2 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.387, allocations: 0 / 499.2 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.337e-06/0.387, allocations: 3.891 kB / 499.3 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001856/0.3888, allocations: 1.746 MB / 0.4893 GB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.3889, allocations: 3.812 kB / 0.4893 GB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000512/0.3894, allocations: 187.1 kB / 0.4894 GB, free: 12.51 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001484/0.3895, allocations: 67.02 kB / 0.4895 GB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.91e-05/0.3896, allocations: 32.19 kB / 0.4895 GB, free: 12.47 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009382/0.3905, allocations: 1.704 MB / 0.4912 GB, free: 10.9 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.3905, allocations: 11.47 kB / 0.4912 GB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001283/0.3918, allocations: 1.172 MB / 0.4924 GB, free: 10.27 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.2e-05/0.3919, allocations: 145 kB / 0.4925 GB, free: 10.13 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.091e-05/0.392, allocations: 19.81 kB / 0.4925 GB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000288/0.3923, allocations: 24.86 kB / 0.4925 GB, free: 10.1 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000103/0.3924, allocations: 70.67 kB / 0.4926 GB, free: 10.09 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.081e-05/0.3925, allocations: 35.19 kB / 0.4926 GB, free: 10.08 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000269/0.3927, allocations: 347.1 kB / 0.493 GB, free: 9.922 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3927, allocations: 0 / 0.493 GB, free: 9.922 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009296/0.3937, allocations: 453.5 kB / 0.4934 GB, free: 9.82 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.002009/0.3957, allocations: 2.128 MB / 0.4955 GB, free: 8.496 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001281/0.397, allocations: 0.8552 MB / 0.4963 GB, free: 8.113 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.397, allocations: 0 / 0.4963 GB, free: 8.113 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004835/0.3975, allocations: 481.4 kB / 0.4968 GB, free: 7.875 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007577/0.3982, allocations: 185.8 kB / 0.4969 GB, free: 7.793 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006364/0.4046, allocations: 6.943 MB / 0.5037 GB, free: 1.41 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003667/0.405, allocations: 1.012 MB / 0.5047 GB, free: 496 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000673/0.4057, allocations: 209.2 kB / 0.5049 GB, free: 308 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005116/0.4062, allocations: 450.4 kB / 0.5053 GB, free: 15.93 MB / 382.1 MB Notification: Performance of SimCode: time 2.91e-07/0.4062, allocations: 0 / 0.5053 GB, free: 15.93 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04211/0.4483, allocations: 21.94 MB / 0.5268 GB, free: 10.58 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.441/8.89, allocations: 4.062 kB / 0.5268 GB, free: 10.58 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)