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.006571/0.006571, allocations: 99.19 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.001292/0.001292, allocations: 198.1 kB / 16.67 MB, free: 5.969 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.399/1.399, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.2074/0.2074, allocations: 15.32 MB / 305.9 MB, free: 15.35 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00145/0.00145, allocations: 55.91 kB / 424.7 MB, free: 13.62 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2796/0.2811, allocations: 53.61 MB / 478.3 MB, free: 25.73 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.03271/0.3138, allocations: 25.43 MB / 0.4919 GB, free: 9.312 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0122/0.3261, allocations: 12.28 MB / 0.5039 GB, free: 12.99 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001113/0.3272, allocations: 15.94 kB / 0.5039 GB, free: 12.97 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001098/0.3283, allocations: 281.7 kB / 0.5042 GB, free: 12.7 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003284/0.3316, allocations: 1.047 MB / 0.5052 GB, free: 11.64 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004369/0.336, allocations: 1.546 MB / 0.5067 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002069/0.3381, allocations: 1.396 MB / 0.5081 GB, free: 8.684 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001176/0.3393, allocations: 0.8442 MB / 0.5089 GB, free: 7.812 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009313/0.3402, allocations: 0.6778 MB / 0.5096 GB, free: 7.133 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001108/0.3414, allocations: 0.724 MB / 0.5103 GB, free: 6.406 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003254/0.3417, allocations: 128 kB / 0.5104 GB, free: 6.281 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00351/0.3452, allocations: 1.182 MB / 0.5116 GB, free: 5.094 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003737/0.3456, allocations: 299 kB / 0.5119 GB, free: 4.801 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009419/0.3466, allocations: 0.6494 MB / 0.5125 GB, free: 4.148 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004783/0.3514, allocations: 2.612 MB / 0.515 GB, free: 1.527 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/0.3514, allocations: 0 / 0.515 GB, free: 1.527 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3514, allocations: 0 / 0.515 GB, free: 1.527 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.121e-05/0.3515, allocations: 0 / 0.515 GB, free: 1.527 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.003238/0.3547, allocations: 1.622 MB / 0.5166 GB, free: 15.85 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.3548, allocations: 8.031 kB / 0.5166 GB, free: 15.84 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002463/0.355, allocations: 181.2 kB / 0.5168 GB, free: 15.65 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001144/0.3562, allocations: 260.3 kB / 0.5171 GB, free: 15.4 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00104/0.3572, allocations: 0.6141 MB / 0.5177 GB, free: 14.75 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.962e-05/0.3573, allocations: 86.64 kB / 0.5177 GB, free: 14.66 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000182/0.3575, allocations: 116.4 kB / 0.5178 GB, free: 14.55 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002031/0.3595, allocations: 1.202 MB / 0.519 GB, free: 13.3 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.293e-05/0.3596, allocations: 0 / 0.519 GB, free: 13.3 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.832e-05/0.3597, allocations: 44 kB / 0.5191 GB, free: 13.26 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.264e-05/0.3597, allocations: 28 kB / 0.5191 GB, free: 13.23 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002124/0.3618, allocations: 1.336 MB / 0.5204 GB, free: 11.89 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.005945/0.3678, allocations: 4.01 MB / 0.5243 GB, free: 7.641 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001429/0.3692, allocations: 0.983 MB / 0.5253 GB, free: 6.652 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005571/0.3698, allocations: 387.7 kB / 0.5256 GB, free: 6.27 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004786/0.3746, allocations: 3.967 MB / 0.5295 GB, free: 1.824 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.281e-05/0.3746, allocations: 35.12 kB / 0.5295 GB, free: 1.781 MB / 398.1 MB Notification: Performance of pre-optimization done (n=62): time 2.174e-06/0.3746, allocations: 0 / 0.5295 GB, free: 1.781 MB / 398.1 MB Notification: Performance of matching and sorting (n=74): time 0.004716/0.3794, allocations: 2.105 MB / 0.5316 GB, free: 15.62 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.948e-05/0.3794, allocations: 64 kB / 0.5317 GB, free: 15.55 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006229/0.3801, allocations: 0.5224 MB / 0.5322 GB, free: 15.02 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.702e-05/0.3801, allocations: 41.7 kB / 0.5322 GB, free: 14.97 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003282/0.3804, allocations: 0.5254 MB / 0.5327 GB, free: 14.43 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002092/0.3807, allocations: 264.2 kB / 0.533 GB, free: 14.17 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002376/0.3809, allocations: 186.8 kB / 0.5332 GB, free: 13.98 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001508/0.3811, allocations: 382.8 kB / 0.5335 GB, free: 13.6 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004128/0.3815, allocations: 226.2 kB / 0.5337 GB, free: 13.38 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005926/0.3821, allocations: 0.5486 MB / 0.5343 GB, free: 12.69 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.006249/0.3883, allocations: 2.121 MB / 0.5363 GB, free: 10.41 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.065e-06/0.3884, allocations: 3.938 kB / 0.5364 GB, free: 10.4 MB / 414.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.001704/0.3901, allocations: 0.954 MB / 0.5373 GB, free: 9.438 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.664e-05/0.3901, allocations: 18.17 kB / 0.5373 GB, free: 9.422 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.527e-05/0.3901, allocations: 8 kB / 0.5373 GB, free: 9.414 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002791/0.3904, allocations: 76.81 kB / 0.5374 GB, free: 9.336 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007147/0.3911, allocations: 236.2 kB / 0.5376 GB, free: 9.105 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001666/0.3928, allocations: 1.731 MB / 0.5393 GB, free: 7.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000514/0.3934, allocations: 32 kB / 0.5393 GB, free: 7.199 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.944e-05/0.3935, allocations: 59.98 kB / 0.5394 GB, free: 7.141 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.0004147/0.3939, allocations: 249.4 kB / 0.5396 GB, free: 6.887 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001361/0.394, allocations: 71.09 kB / 0.5397 GB, free: 6.816 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001689/0.3957, allocations: 0.8497 MB / 0.5405 GB, free: 5.957 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.827e-06/0.3957, allocations: 12 kB / 0.5405 GB, free: 5.945 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.3958, allocations: 0 / 0.5405 GB, free: 5.945 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.887e-06/0.3958, allocations: 3.984 kB / 0.5405 GB, free: 5.941 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002705/0.3985, allocations: 1.746 MB / 0.5422 GB, free: 4.094 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.033e-06/0.3985, allocations: 4 kB / 0.5422 GB, free: 4.09 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006558/0.3992, allocations: 179.8 kB / 0.5424 GB, free: 3.914 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001935/0.3994, allocations: 73.08 kB / 0.5425 GB, free: 3.84 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.243e-05/0.3994, allocations: 31.98 kB / 0.5425 GB, free: 3.809 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001522/0.401, allocations: 1.7 MB / 0.5442 GB, free: 1.965 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/0.401, allocations: 4 kB / 0.5442 GB, free: 1.961 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001761/0.4028, allocations: 1.182 MB / 0.5453 GB, free: 0.7305 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001848/0.4029, allocations: 144.2 kB / 0.5455 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001111/0.4031, allocations: 20 kB / 0.5455 GB, free: 0.5508 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003601/0.4034, allocations: 16 kB / 0.5455 GB, free: 0.5352 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001156/0.4036, allocations: 76.5 kB / 0.5456 GB, free: 468 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.367e-05/0.4036, allocations: 32 kB / 0.5456 GB, free: 436 kB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003921/0.404, allocations: 354.8 kB / 0.5459 GB, free: 84 kB / 414.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.404, allocations: 4 kB / 0.546 GB, free: 80 kB / 414.1 MB Notification: Performance of remove unused functions: time 0.001251/0.4053, allocations: 451.7 kB / 0.5464 GB, free: 15.64 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.003064/0.4084, allocations: 2.138 MB / 0.5485 GB, free: 13.44 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001396/0.4098, allocations: 0.8173 MB / 0.5493 GB, free: 12.61 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.4098, allocations: 0 / 0.5493 GB, free: 12.61 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006492/0.4104, allocations: 486.5 kB / 0.5497 GB, free: 12.13 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009477/0.4114, allocations: 179.5 kB / 0.5499 GB, free: 11.96 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009643/0.4211, allocations: 6.699 MB / 0.5564 GB, free: 4.809 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000608/0.4217, allocations: 1.009 MB / 0.5574 GB, free: 3.773 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0006064/0.4223, allocations: 205.9 kB / 0.5576 GB, free: 3.57 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000562/0.4229, allocations: 443.2 kB / 0.558 GB, free: 3.137 MB / 430.1 MB Notification: Performance of SimCode: time 5.61e-07/0.4229, allocations: 0 / 0.558 GB, free: 3.137 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05104/0.4739, allocations: 22.54 MB / 0.5801 GB, free: 12.71 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.58/12.05, allocations: 10.31 kB / 0.5801 GB, free: 12.71 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)