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.005471/0.005471, allocations: 97.62 kB / 15.73 MB, free: 6.039 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.00128/0.00128, allocations: 201.5 kB / 16.68 MB, free: 5.961 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.445/1.445, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.2234/0.2234, allocations: 15.32 MB / 305.9 MB, free: 15.3 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002135/0.002135, allocations: 67.89 kB / 424.7 MB, free: 13.62 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3012/0.3034, allocations: 53.61 MB / 478.3 MB, free: 25.36 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.03682/0.3402, allocations: 26.01 MB / 0.4925 GB, free: 8.742 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01369/0.354, allocations: 12.29 MB / 0.5045 GB, free: 12.41 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001318/0.3553, allocations: 11.94 kB / 0.5045 GB, free: 12.39 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009512/0.3563, allocations: 277.8 kB / 0.5048 GB, free: 12.12 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00388/0.3602, allocations: 1.051 MB / 0.5058 GB, free: 11.06 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004872/0.3651, allocations: 1.542 MB / 0.5073 GB, free: 9.512 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002733/0.3678, allocations: 1.399 MB / 0.5087 GB, free: 8.105 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0012/0.369, allocations: 0.8482 MB / 0.5095 GB, free: 7.23 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008857/0.3699, allocations: 0.6778 MB / 0.5102 GB, free: 6.551 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009464/0.3709, allocations: 0.7201 MB / 0.5109 GB, free: 5.824 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002062/0.3711, allocations: 124 kB / 0.511 GB, free: 5.703 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004355/0.3755, allocations: 1.186 MB / 0.5122 GB, free: 4.516 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003453/0.3759, allocations: 295.1 kB / 0.5124 GB, free: 4.227 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008343/0.3767, allocations: 0.6534 MB / 0.5131 GB, free: 3.57 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006788/0.3835, allocations: 2.626 MB / 0.5156 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.321e-06/0.3835, allocations: 0 / 0.5156 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.669e-06/0.3835, allocations: 0 / 0.5156 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.137e-05/0.3836, allocations: 3.938 kB / 0.5156 GB, free: 0.9297 MB / 382.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.003813/0.3875, allocations: 1.662 MB / 0.5173 GB, free: 15.21 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.903e-05/0.3875, allocations: 11.97 kB / 0.5173 GB, free: 15.2 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002014/0.3877, allocations: 169.3 kB / 0.5174 GB, free: 15.02 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001125/0.3889, allocations: 265 kB / 0.5177 GB, free: 14.77 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001056/0.3899, allocations: 0.6146 MB / 0.5183 GB, free: 14.11 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.095e-05/0.39, allocations: 86.64 kB / 0.5184 GB, free: 14.02 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001855/0.3902, allocations: 120.3 kB / 0.5185 GB, free: 13.91 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002065/0.3923, allocations: 1.21 MB / 0.5197 GB, free: 12.65 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.568e-05/0.3923, allocations: 0 / 0.5197 GB, free: 12.65 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001114/0.3924, allocations: 48 kB / 0.5197 GB, free: 12.61 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.129e-05/0.3925, allocations: 24 kB / 0.5197 GB, free: 12.58 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002254/0.3947, allocations: 1.336 MB / 0.521 GB, free: 11.24 MB / 398.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.006258/0.401, allocations: 4.007 MB / 0.525 GB, free: 6.996 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001574/0.4026, allocations: 0.9717 MB / 0.5259 GB, free: 6.016 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006272/0.4032, allocations: 391.7 kB / 0.5263 GB, free: 5.629 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005654/0.4089, allocations: 3.967 MB / 0.5302 GB, free: 1.184 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.499e-05/0.409, allocations: 43.12 kB / 0.5302 GB, free: 1.133 MB / 398.1 MB Notification: Performance of pre-optimization done (n=62): time 2.825e-06/0.409, allocations: 0 / 0.5302 GB, free: 1.133 MB / 398.1 MB Notification: Performance of matching and sorting (n=74): time 0.00515/0.4141, allocations: 2.118 MB / 0.5323 GB, free: 14.97 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.482e-05/0.4142, allocations: 68 kB / 0.5323 GB, free: 14.89 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000683/0.4149, allocations: 0.5186 MB / 0.5328 GB, free: 14.36 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.315e-05/0.415, allocations: 41.7 kB / 0.5329 GB, free: 14.31 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004105/0.4154, allocations: 0.5466 MB / 0.5334 GB, free: 13.76 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002352/0.4156, allocations: 273.7 kB / 0.5337 GB, free: 13.49 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002755/0.4159, allocations: 194.9 kB / 0.5339 GB, free: 13.29 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002063/0.4161, allocations: 378.8 kB / 0.5342 GB, free: 12.91 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004456/0.4166, allocations: 234.1 kB / 0.5344 GB, free: 12.68 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007272/0.4173, allocations: 0.5447 MB / 0.535 GB, free: 12 MB / 414.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.006558/0.4239, allocations: 2.121 MB / 0.537 GB, free: 9.715 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.728e-06/0.4239, allocations: 12 kB / 0.5371 GB, free: 9.703 MB / 414.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.001857/0.4258, allocations: 0.9586 MB / 0.538 GB, free: 8.734 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.739e-05/0.4258, allocations: 10.19 kB / 0.538 GB, free: 8.727 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.756e-05/0.4259, allocations: 12 kB / 0.538 GB, free: 8.715 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002823/0.4261, allocations: 72.81 kB / 0.5381 GB, free: 8.641 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007213/0.4269, allocations: 235.6 kB / 0.5383 GB, free: 8.41 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001843/0.4287, allocations: 1.731 MB / 0.54 GB, free: 6.535 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005627/0.4293, allocations: 36.06 kB / 0.54 GB, free: 6.5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.011e-05/0.4294, allocations: 59.92 kB / 0.5401 GB, free: 6.441 MB / 414.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.0005034/0.4299, allocations: 253.5 kB / 0.5403 GB, free: 6.184 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001502/0.4301, allocations: 79.42 kB / 0.5404 GB, free: 6.105 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001783/0.4319, allocations: 0.8302 MB / 0.5412 GB, free: 5.266 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.104e-05/0.4319, allocations: 8 kB / 0.5412 GB, free: 5.258 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.481e-06/0.4319, allocations: 4 kB / 0.5412 GB, free: 5.254 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.217e-06/0.4319, allocations: 7.984 kB / 0.5412 GB, free: 5.246 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002863/0.4348, allocations: 1.754 MB / 0.5429 GB, free: 3.391 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-06/0.4348, allocations: 0 / 0.5429 GB, free: 3.391 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006731/0.4355, allocations: 179.8 kB / 0.5431 GB, free: 3.215 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002171/0.4357, allocations: 68.73 kB / 0.5432 GB, free: 3.145 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.623e-05/0.4358, allocations: 36.23 kB / 0.5432 GB, free: 3.109 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001726/0.4375, allocations: 1.704 MB / 0.5449 GB, free: 1.262 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.568e-06/0.4375, allocations: 4.031 kB / 0.5449 GB, free: 1.258 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001959/0.4395, allocations: 1.186 MB / 0.546 GB, free: 24 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002554/0.4398, allocations: 144.7 kB / 0.5462 GB, free: 15.86 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.034e-05/0.4399, allocations: 24 kB / 0.5462 GB, free: 15.84 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003097/0.4402, allocations: 20 kB / 0.5462 GB, free: 15.82 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001592/0.4404, allocations: 76.44 kB / 0.5463 GB, free: 15.74 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.969e-05/0.4404, allocations: 36 kB / 0.5463 GB, free: 15.71 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004486/0.4409, allocations: 342.8 kB / 0.5467 GB, free: 15.38 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4409, allocations: 0 / 0.5467 GB, free: 15.38 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001371/0.4423, allocations: 463 kB / 0.5471 GB, free: 14.92 MB / 430.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.00336/0.4456, allocations: 2.15 MB / 0.5492 GB, free: 12.71 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001729/0.4474, allocations: 0.8122 MB / 0.55 GB, free: 11.89 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 8.286e-06/0.4474, allocations: 4 kB / 0.55 GB, free: 11.89 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000724/0.4481, allocations: 479.9 kB / 0.5505 GB, free: 11.41 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001039/0.4492, allocations: 187 kB / 0.5506 GB, free: 11.23 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0105/0.4597, allocations: 6.743 MB / 0.5572 GB, free: 4.035 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007022/0.4604, allocations: 1.009 MB / 0.5582 GB, free: 3 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0006823/0.4611, allocations: 190 kB / 0.5584 GB, free: 2.812 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006102/0.4617, allocations: 447.2 kB / 0.5588 GB, free: 2.375 MB / 430.1 MB Notification: Performance of SimCode: time 1.122e-06/0.4618, allocations: 0 / 0.5588 GB, free: 2.375 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06139/0.5232, allocations: 22.26 MB / 0.5806 GB, free: 12.21 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.74/12.26, allocations: 10.58 kB / 0.5806 GB, free: 12.21 MB / 462.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)