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.001058/0.001058, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001126/0.001127, allocations: 191.9 kB / 16.25 MB, free: 6.629 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.245/1.245, allocations: 222.9 MB / 239.9 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.1769/0.1769, allocations: 15.31 MB / 305.4 MB, free: 15.34 MB / 254.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.00107/0.00107, allocations: 59.91 kB / 369.9 MB, free: 4.266 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08566/0.08674, allocations: 53.62 MB / 423.6 MB, free: 14.6 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.3145/0.4013, allocations: 25.79 MB / 449.3 MB, free: 39.22 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.009818/0.4111, allocations: 12.17 MB / 461.5 MB, free: 33.73 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008625/0.412, allocations: 23.84 kB / 461.5 MB, free: 33.72 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006791/0.4127, allocations: 246.7 kB / 461.8 MB, free: 33.6 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002204/0.4149, allocations: 0.9469 MB / 462.7 MB, free: 33.08 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003133/0.418, allocations: 1.383 MB / 464.1 MB, free: 32.54 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001342/0.4194, allocations: 1.4 MB / 465.5 MB, free: 32.18 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008104/0.4202, allocations: 0.8372 MB / 466.3 MB, free: 31.79 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007068/0.4209, allocations: 0.7117 MB / 467.1 MB, free: 31.51 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000676/0.4216, allocations: 0.7332 MB / 467.8 MB, free: 31.2 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001574/0.4218, allocations: 127.1 kB / 467.9 MB, free: 31.2 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003162/0.425, allocations: 1.221 MB / 469.1 MB, free: 30.9 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001981/0.4252, allocations: 289.1 kB / 469.4 MB, free: 30.71 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005487/0.4257, allocations: 0.6612 MB / 470.1 MB, free: 30.32 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003854/0.4296, allocations: 2.511 MB / 472.6 MB, free: 29.25 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.4296, allocations: 0.75 kB / 472.6 MB, free: 29.25 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.4296, allocations: 4 kB / 472.6 MB, free: 29.24 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.639e-05/0.4296, allocations: 1.219 kB / 472.6 MB, free: 29.24 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.002469/0.4321, allocations: 1.617 MB / 474.2 MB, free: 28.21 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.4322, allocations: 9.625 kB / 474.2 MB, free: 28.21 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001616/0.4323, allocations: 172.9 kB / 474.4 MB, free: 28.1 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001005/0.4333, allocations: 253.2 kB / 474.6 MB, free: 28.02 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007153/0.4341, allocations: 0.6007 MB / 475.2 MB, free: 27.59 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.269e-05/0.4341, allocations: 85.77 kB / 475.3 MB, free: 27.55 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001531/0.4343, allocations: 118.3 kB / 475.4 MB, free: 27.51 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001774/0.4361, allocations: 1.205 MB / 476.6 MB, free: 27 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.516e-05/0.4361, allocations: 1.406 kB / 476.6 MB, free: 27 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.563e-05/0.4362, allocations: 44.84 kB / 476.7 MB, free: 26.96 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.859e-05/0.4362, allocations: 27.03 kB / 476.7 MB, free: 26.96 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001869/0.4381, allocations: 1.336 MB / 478.1 MB, free: 26.57 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.005204/0.4433, allocations: 4.031 MB / 482.1 MB, free: 23.98 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001341/0.4447, allocations: 0.9701 MB / 483.1 MB, free: 23.53 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005151/0.4452, allocations: 386.8 kB / 483.4 MB, free: 23.38 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004229/0.4495, allocations: 3.985 MB / 487.4 MB, free: 20.17 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.739e-05/0.4495, allocations: 39.12 kB / 487.5 MB, free: 20.12 MB / 366.1 MB Notification: Performance of pre-optimization done (n=62): time 2.274e-06/0.4495, allocations: 3.938 kB / 487.5 MB, free: 20.12 MB / 366.1 MB Notification: Performance of matching and sorting (n=74): time 0.004602/0.4541, allocations: 2.093 MB / 489.6 MB, free: 19.11 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.568e-05/0.4542, allocations: 68.25 kB / 489.6 MB, free: 19.04 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005386/0.4547, allocations: 0.519 MB / 490.1 MB, free: 18.79 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.856e-05/0.4548, allocations: 40.45 kB / 490.2 MB, free: 18.75 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002321/0.455, allocations: 0.527 MB / 490.7 MB, free: 18.33 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001432/0.4551, allocations: 267.8 kB / 491 MB, free: 18.12 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002162/0.4554, allocations: 186.1 kB / 491.1 MB, free: 18.03 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.149e-05/0.4555, allocations: 381.1 kB / 491.5 MB, free: 17.69 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003807/0.4558, allocations: 224.6 kB / 491.7 MB, free: 17.61 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000492/0.4563, allocations: 0.553 MB / 492.3 MB, free: 17.12 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.005711/0.4621, allocations: 2.133 MB / 494.4 MB, free: 16.08 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.01e-06/0.4621, allocations: 0 / 494.4 MB, free: 16.08 MB / 366.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.001328/0.4634, allocations: 0.9581 MB / 495.4 MB, free: 15.68 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.4634, allocations: 10.88 kB / 495.4 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/0.4635, allocations: 10.84 kB / 495.4 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002234/0.4637, allocations: 75.3 kB / 495.5 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006173/0.4643, allocations: 235 kB / 495.7 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001189/0.4655, allocations: 1.728 MB / 497.4 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006183/0.4661, allocations: 72.95 kB / 497.5 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.87e-05/0.4662, allocations: 57.5 kB / 497.6 MB, free: 14 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.0003605/0.4666, allocations: 249.2 kB / 497.8 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.422e-05/0.4667, allocations: 70.91 kB / 497.9 MB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001506/0.4682, allocations: 0.8508 MB / 498.7 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.4682, allocations: 10.44 kB / 498.7 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.4682, allocations: 0 / 498.7 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.647e-06/0.4682, allocations: 3.422 kB / 498.7 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002192/0.4704, allocations: 1.751 MB / 0.4888 GB, free: 12.42 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.4705, allocations: 0.7031 kB / 0.4888 GB, free: 12.42 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006/0.4711, allocations: 184.8 kB / 0.4889 GB, free: 12.4 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001745/0.4712, allocations: 73.17 kB / 0.489 GB, free: 12.37 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.43e-05/0.4713, allocations: 29.14 kB / 0.489 GB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001047/0.4724, allocations: 1.707 MB / 0.4907 GB, free: 10.78 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.4724, allocations: 0.8438 kB / 0.4907 GB, free: 10.78 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001375/0.4737, allocations: 1.179 MB / 0.4919 GB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001531/0.4739, allocations: 148.7 kB / 0.492 GB, free: 10 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.522e-05/0.474, allocations: 16.14 kB / 0.492 GB, free: 9.992 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003521/0.4744, allocations: 38.45 kB / 0.492 GB, free: 9.977 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001208/0.4745, allocations: 74.41 kB / 0.4921 GB, free: 9.957 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.211e-05/0.4746, allocations: 31.8 kB / 0.4921 GB, free: 9.953 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003199/0.4749, allocations: 355.2 kB / 0.4925 GB, free: 9.789 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.4749, allocations: 4 kB / 0.4925 GB, free: 9.785 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001196/0.4761, allocations: 445.5 kB / 0.4929 GB, free: 9.688 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.002285/0.4784, allocations: 2.135 MB / 0.495 GB, free: 8.363 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001455/0.4798, allocations: 0.8449 MB / 0.4958 GB, free: 7.984 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.4799, allocations: 3.438 kB / 0.4958 GB, free: 7.984 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004782/0.4803, allocations: 483.1 kB / 0.4963 GB, free: 7.742 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008636/0.4812, allocations: 179 kB / 0.4965 GB, free: 7.668 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008011/0.4892, allocations: 7.396 MB / 0.5037 GB, free: 0.957 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004407/0.4897, allocations: 1.012 MB / 0.5047 GB, free: 32 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0008384/0.4906, allocations: 202.2 kB / 0.5049 GB, free: 15.86 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005652/0.4911, allocations: 439.8 kB / 0.5053 GB, free: 15.48 MB / 382.1 MB Notification: Performance of SimCode: time 4.71e-07/0.4911, allocations: 0 / 0.5053 GB, free: 15.48 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03877/0.5299, allocations: 21.84 MB / 0.5266 GB, free: 10.77 MB / 398.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001596/0.5301, allocations: 188.9 kB / 0.5268 GB, free: 10.52 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.234/2.764, allocations: 4 kB / 0.5268 GB, free: 10.51 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)