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.00203/0.00203, 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.002339/0.002339, allocations: 198.5 kB / 16.54 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.899/2.899, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.5739/0.5739, allocations: 15.32 MB / 305.7 MB, free: 15.26 MB / 254.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.002007/0.002007, allocations: 59.91 kB / 370.4 MB, free: 3.859 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2473/0.2493, allocations: 53.61 MB / 424 MB, free: 14.2 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 1.099/1.348, allocations: 25.4 MB / 449.5 MB, free: 39.93 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0323/1.38, allocations: 12.3 MB / 461.7 MB, free: 34.13 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002937/1.383, allocations: 19.22 kB / 461.8 MB, free: 34.12 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00233/1.386, allocations: 282 kB / 462 MB, free: 33.96 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00826/1.394, allocations: 1.038 MB / 463.1 MB, free: 33.36 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02898/1.423, allocations: 1.543 MB / 464.6 MB, free: 32.71 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005332/1.429, allocations: 1.398 MB / 466 MB, free: 32.37 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003203/1.432, allocations: 0.8429 MB / 466.9 MB, free: 32.07 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01964/1.452, allocations: 0.6745 MB / 467.5 MB, free: 31.8 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003138/1.455, allocations: 0.7199 MB / 468.3 MB, free: 31.48 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001106/1.456, allocations: 127 kB / 468.4 MB, free: 31.48 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01144/1.467, allocations: 1.187 MB / 469.6 MB, free: 31.2 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001358/1.469, allocations: 297 kB / 469.9 MB, free: 31 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003684/1.473, allocations: 0.6536 MB / 470.5 MB, free: 30.62 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01728/1.49, allocations: 2.587 MB / 473.1 MB, free: 29.48 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.392e-05/1.49, allocations: 0 / 473.1 MB, free: 29.48 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.066e-06/1.49, allocations: 1.375 kB / 473.1 MB, free: 29.48 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001164/1.49, allocations: 0 / 473.1 MB, free: 29.48 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.008188/1.498, allocations: 1.621 MB / 474.7 MB, free: 28.45 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.3e-05/1.499, allocations: 9.688 kB / 474.7 MB, free: 28.45 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006389/1.499, allocations: 174.1 kB / 474.9 MB, free: 28.33 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002843/1.502, allocations: 255 kB / 475.1 MB, free: 28.25 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002638/1.505, allocations: 0.5981 MB / 475.7 MB, free: 27.82 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001999/1.505, allocations: 88.92 kB / 475.8 MB, free: 27.78 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006698/1.506, allocations: 115.4 kB / 475.9 MB, free: 27.74 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006117/1.512, allocations: 1.209 MB / 477.2 MB, free: 27.23 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-05/1.512, allocations: 0 / 477.2 MB, free: 27.23 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003145/1.512, allocations: 46.09 kB / 477.2 MB, free: 27.19 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.648e-05/1.512, allocations: 26.91 kB / 477.2 MB, free: 27.19 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005175/1.518, allocations: 1.333 MB / 478.6 MB, free: 26.8 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.03203/1.55, allocations: 4.049 MB / 482.6 MB, free: 24.2 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003911/1.554, allocations: 0.9821 MB / 483.6 MB, free: 23.74 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001392/1.555, allocations: 388 kB / 484 MB, free: 23.59 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02269/1.578, allocations: 3.971 MB / 487.9 MB, free: 20.39 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.301e-05/1.578, allocations: 42.03 kB / 488 MB, free: 20.34 MB / 366.1 MB Notification: Performance of pre-optimization done (n=62): time 6.923e-06/1.578, allocations: 0 / 488 MB, free: 20.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=74): time 0.0104/1.588, allocations: 2.097 MB / 490.1 MB, free: 19.32 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001134/1.589, allocations: 64.19 kB / 490.1 MB, free: 19.25 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001635/1.59, allocations: 0.523 MB / 490.7 MB, free: 19 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001087/1.59, allocations: 36.45 kB / 490.7 MB, free: 18.96 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006897/1.591, allocations: 0.5317 MB / 491.2 MB, free: 18.54 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004428/1.592, allocations: 259.6 kB / 491.5 MB, free: 18.34 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006104/1.592, allocations: 192.1 kB / 491.7 MB, free: 18.24 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0003472/1.593, allocations: 382.5 kB / 492 MB, free: 17.9 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0011/1.594, allocations: 226 kB / 492.3 MB, free: 17.82 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001493/1.595, allocations: 0.549 MB / 492.8 MB, free: 17.33 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.01192/1.607, allocations: 2.128 MB / 494.9 MB, free: 16.3 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.224e-05/1.607, allocations: 3.469 kB / 494.9 MB, free: 16.3 MB / 366.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.00305/1.61, allocations: 0.9591 MB / 495.9 MB, free: 15.89 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.487e-05/1.61, allocations: 7.812 kB / 495.9 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.492e-05/1.61, allocations: 10.72 kB / 495.9 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004564/1.611, allocations: 78.12 kB / 496 MB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00104/1.612, allocations: 234.6 kB / 496.2 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002441/1.614, allocations: 1.724 MB / 498 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001266/1.616, allocations: 31.91 kB / 498 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001538/1.616, allocations: 53.67 kB / 498 MB, free: 14.24 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.0009413/1.617, allocations: 256.7 kB / 498.3 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003262/1.617, allocations: 71.47 kB / 498.4 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003116/1.62, allocations: 0.8572 MB / 499.2 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.488e-05/1.62, allocations: 7.25 kB / 499.2 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.035e-05/1.62, allocations: 0 / 499.2 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.169e-05/1.62, allocations: 7.125 kB / 499.2 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004886/1.625, allocations: 1.75 MB / 0.4892 GB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.165e-05/1.625, allocations: 3.812 kB / 0.4892 GB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00111/1.626, allocations: 185 kB / 0.4894 GB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003982/1.627, allocations: 64.41 kB / 0.4895 GB, free: 12.6 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000121/1.627, allocations: 28.55 kB / 0.4895 GB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002904/1.63, allocations: 1.712 MB / 0.4912 GB, free: 11.01 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.099e-05/1.63, allocations: 4.719 kB / 0.4912 GB, free: 11 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004886/1.635, allocations: 1.184 MB / 0.4923 GB, free: 10.37 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006995/1.636, allocations: 141.1 kB / 0.4925 GB, free: 10.23 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004298/1.636, allocations: 16.2 kB / 0.4925 GB, free: 10.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009053/1.637, allocations: 24.58 kB / 0.4925 GB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003984/1.637, allocations: 74.03 kB / 0.4926 GB, free: 10.19 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001901/1.638, allocations: 36.33 kB / 0.4926 GB, free: 10.19 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001136/1.639, allocations: 343.6 kB / 0.4929 GB, free: 10.03 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.81e-07/1.639, allocations: 0 / 0.4929 GB, free: 10.03 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.003688/1.643, allocations: 455.5 kB / 0.4934 GB, free: 9.93 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.006975/1.65, allocations: 2.125 MB / 0.4955 GB, free: 8.605 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003466/1.653, allocations: 0.8505 MB / 0.4963 GB, free: 8.227 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.194e-05/1.653, allocations: 3.938 kB / 0.4963 GB, free: 8.223 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001413/1.655, allocations: 484.8 kB / 0.4968 GB, free: 7.984 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002992/1.658, allocations: 183.1 kB / 0.4969 GB, free: 7.906 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02107/1.679, allocations: 6.946 MB / 0.5037 GB, free: 1.555 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001161/1.68, allocations: 1.008 MB / 0.5047 GB, free: 0.6328 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001634/1.682, allocations: 209.2 kB / 0.5049 GB, free: 460 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001048/1.683, allocations: 440 kB / 0.5053 GB, free: 72 kB / 366.1 MB Notification: Performance of SimCode: time 2.375e-06/1.683, allocations: 0 / 0.5053 GB, free: 72 kB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2077/1.891, allocations: 21.96 MB / 0.5268 GB, free: 10.59 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 21.05/22.94, allocations: 3.094 kB / 0.5268 GB, free: 10.59 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 & python3 -m fmpy simulate --output-file Chemical_Chemical.Examples.WaterSublimation_res.csv --start-time 0 --stop-time 49.7 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.01988 Chemical_Chemical_Examples_WaterSublimation.fmu > Chemical_Chemical.Examples.WaterSublimation.pipe 2>&1)