Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Physiolibrary_Physiolibrary.Chemical.Examples.WaterSublimation.conf.json 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/package.mo", uses=false) Using package Physiolibrary with version 3.0.0-beta1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/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) 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) Running command: translateModel(Physiolibrary.Chemical.Examples.WaterSublimation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Chemical.Examples.WaterSublimation") translateModel(Physiolibrary.Chemical.Examples.WaterSublimation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Chemical.Examples.WaterSublimation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001126/0.001126, allocations: 182.8 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.339/1.339, allocations: 222.9 MB / 239.7 MB, free: 10.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001021/0.001021, allocations: 107.7 kB / 289.9 MB, free: 10.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/package.mo): time 0.3483/0.3483, allocations: 36.67 MB / 376.7 MB, free: 41.45 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001191, allocations: 67.89 kB / 446.4 MB, free: 11.82 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1159/0.1171, allocations: 58.92 MB / 0.4935 GB, free: 0.8516 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/Chemical.mo:4671:7-4671: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/Physiolibrary 3.0.0-master/Chemical.mo:4671:7-4671: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(Physiolibrary.Chemical.Examples.WaterSublimation): time 0.225/0.3422, allocations: 23.34 MB / 0.5163 GB, free: 33.72 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01195/0.3541, allocations: 12.2 MB / 0.5282 GB, free: 25.49 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001316/0.3555, allocations: 27.09 kB / 0.5282 GB, free: 25.48 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000722/0.3562, allocations: 242 kB / 0.5284 GB, free: 25.36 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002436/0.3587, allocations: 0.9196 MB / 0.5293 GB, free: 24.79 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003988/0.3627, allocations: 1.345 MB / 0.5306 GB, free: 24 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001674/0.3643, allocations: 1.353 MB / 0.532 GB, free: 23.34 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008422/0.3652, allocations: 0.724 MB / 0.5327 GB, free: 23 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006963/0.3659, allocations: 0.6562 MB / 0.5333 GB, free: 22.79 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007326/0.3666, allocations: 0.7076 MB / 0.534 GB, free: 22.49 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001631/0.3668, allocations: 83.88 kB / 0.5341 GB, free: 22.49 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003634/0.3704, allocations: 1.139 MB / 0.5352 GB, free: 22.21 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000215/0.3707, allocations: 254 kB / 0.5354 GB, free: 22.06 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005449/0.3712, allocations: 0.6118 MB / 0.536 GB, free: 21.72 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003818/0.3751, allocations: 2.52 MB / 0.5385 GB, free: 20.68 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.3751, allocations: 5.344 kB / 0.5385 GB, free: 20.68 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.3751, allocations: 3.938 kB / 0.5385 GB, free: 20.68 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.852e-05/0.3751, allocations: 0 / 0.5385 GB, free: 20.68 MB / 378.7 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.002631/0.3777, allocations: 1.619 MB / 0.5401 GB, free: 19.64 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/0.3778, allocations: 13.19 kB / 0.5401 GB, free: 19.64 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001059/0.3789, allocations: 257.2 kB / 0.5404 GB, free: 19.56 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009064/0.3798, allocations: 0.6036 MB / 0.5409 GB, free: 19.13 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.701e-05/0.3799, allocations: 84.33 kB / 0.541 GB, free: 19.09 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001859/0.3801, allocations: 119.3 kB / 0.5411 GB, free: 19.05 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002045/0.3821, allocations: 1.201 MB / 0.5423 GB, free: 18.54 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.543e-05/0.3821, allocations: 5.031 kB / 0.5423 GB, free: 18.54 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.73e-05/0.3823, allocations: 49.25 kB / 0.5424 GB, free: 18.5 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.881e-05/0.3823, allocations: 26.44 kB / 0.5424 GB, free: 18.5 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002111/0.3844, allocations: 1.325 MB / 0.5437 GB, free: 18.11 MB / 378.7 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.005892/0.3903, allocations: 4.033 MB / 0.5476 GB, free: 15.52 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001481/0.3918, allocations: 0.973 MB / 0.5486 GB, free: 15.08 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005642/0.3924, allocations: 392.1 kB / 0.5489 GB, free: 14.87 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00432/0.3967, allocations: 3.993 MB / 0.5528 GB, free: 10.83 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.215e-05/0.3968, allocations: 43.06 kB / 0.5529 GB, free: 10.78 MB / 378.7 MB Notification: Performance of pre-optimization done (n=62): time 1.963e-06/0.3968, allocations: 0 / 0.5529 GB, free: 10.78 MB / 378.7 MB Notification: Performance of matching and sorting (n=74): time 0.004262/0.401, allocations: 2.09 MB / 0.5549 GB, free: 8.809 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.162e-05/0.4011, allocations: 60.06 kB / 0.555 GB, free: 8.738 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004896/0.4016, allocations: 0.5232 MB / 0.5555 GB, free: 8.277 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.493e-05/0.4016, allocations: 45.7 kB / 0.5555 GB, free: 8.227 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002665/0.4019, allocations: 0.5326 MB / 0.5561 GB, free: 7.738 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000169/0.4021, allocations: 255.7 kB / 0.5563 GB, free: 7.508 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002173/0.4023, allocations: 192.1 kB / 0.5565 GB, free: 7.332 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001085/0.4024, allocations: 378.5 kB / 0.5568 GB, free: 6.977 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003702/0.4028, allocations: 230.5 kB / 0.5571 GB, free: 6.777 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004843/0.4033, allocations: 0.5435 MB / 0.5576 GB, free: 6.137 MB / 378.7 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.005546/0.4088, allocations: 2.125 MB / 0.5597 GB, free: 4.133 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.4089, allocations: 4 kB / 0.5597 GB, free: 4.129 MB / 378.7 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.001438/0.4103, allocations: 0.9556 MB / 0.5606 GB, free: 3.238 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.118e-05/0.4103, allocations: 8.516 kB / 0.5606 GB, free: 3.23 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.237e-05/0.4104, allocations: 12 kB / 0.5606 GB, free: 3.219 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002305/0.4106, allocations: 76.27 kB / 0.5607 GB, free: 3.152 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006293/0.4112, allocations: 243.6 kB / 0.5609 GB, free: 2.941 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001141/0.4124, allocations: 1.593 MB / 0.5625 GB, free: 1.27 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006178/0.413, allocations: 64.19 kB / 0.5625 GB, free: 1.215 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.551e-05/0.4131, allocations: 67.42 kB / 0.5626 GB, free: 1.152 MB / 378.7 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.0003512/0.4135, allocations: 257.4 kB / 0.5629 GB, free: 0.8945 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.739e-05/0.4136, allocations: 75.06 kB / 0.5629 GB, free: 0.8203 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001553/0.4151, allocations: 0.8433 MB / 0.5638 GB, free: 72 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.283e-06/0.4152, allocations: 12.52 kB / 0.5638 GB, free: 60 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.4152, allocations: 3.938 kB / 0.5638 GB, free: 56 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.295e-05/0.4152, allocations: 11.81 kB / 0.5638 GB, free: 48 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002836/0.418, allocations: 1.753 MB / 0.5655 GB, free: 14.45 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.793e-06/0.4181, allocations: 4 kB / 0.5655 GB, free: 14.45 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006275/0.4187, allocations: 178.7 kB / 0.5657 GB, free: 14.3 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002026/0.4189, allocations: 75.28 kB / 0.5657 GB, free: 14.23 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.239e-05/0.419, allocations: 26.3 kB / 0.5658 GB, free: 14.21 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001417/0.4204, allocations: 1.592 MB / 0.5673 GB, free: 12.53 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.4204, allocations: 4 kB / 0.5673 GB, free: 12.52 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01085/0.4313, allocations: 6.549 MB / 0.5737 GB, free: 6.242 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001679/0.4315, allocations: 147.7 kB / 0.5739 GB, free: 6.082 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.312e-05/0.4316, allocations: 20.69 kB / 0.5739 GB, free: 6.062 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003718/0.4319, allocations: 44.38 kB / 0.5739 GB, free: 6.023 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001585/0.4321, allocations: 75.3 kB / 0.574 GB, free: 5.973 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.879e-05/0.4322, allocations: 34.44 kB / 0.574 GB, free: 5.941 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004239/0.4326, allocations: 351.4 kB / 0.5744 GB, free: 5.648 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4326, allocations: 0 / 0.5744 GB, free: 5.648 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001791/0.4344, allocations: 0.5278 MB / 0.5749 GB, free: 5.129 MB / 394.7 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.0009087/0.4353, allocations: 0.5078 MB / 0.5754 GB, free: 4.66 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001403/0.4367, allocations: 0.8171 MB / 0.5762 GB, free: 3.906 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.4368, allocations: 4 kB / 0.5762 GB, free: 3.902 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006554/0.4374, allocations: 481.9 kB / 0.5766 GB, free: 3.449 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009244/0.4384, allocations: 170.8 kB / 0.5768 GB, free: 3.309 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003678/0.442, allocations: 2.873 MB / 0.5796 GB, free: 0.5039 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000617/0.4427, allocations: 1.029 MB / 0.5806 GB, free: 15.45 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0008695/0.4436, allocations: 209.7 kB / 0.5808 GB, free: 15.24 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003017/0.4439, allocations: 147.3 kB / 0.5809 GB, free: 15.1 MB / 410.7 MB Notification: Performance of SimCode: time 7.52e-07/0.4439, allocations: 0 / 0.5809 GB, free: 15.1 MB / 410.7 MB Notification: Performance of Templates: time 0.02477/0.4686, allocations: 15.96 MB / 0.5965 GB, free: 15.19 MB / 426.7 MB make -j1 -f Physiolibrary_Physiolibrary.Chemical.Examples.WaterSublimation.makefile (rm -f Physiolibrary_Physiolibrary.Chemical.Examples.WaterSublimation.pipe ; mkfifo Physiolibrary_Physiolibrary.Chemical.Examples.WaterSublimation.pipe ; head -c 1048576 < Physiolibrary_Physiolibrary.Chemical.Examples.WaterSublimation.pipe >> ../files/Physiolibrary_Physiolibrary.Chemical.Examples.WaterSublimation.sim & ./Physiolibrary_Physiolibrary.Chemical.Examples.WaterSublimation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Physiolibrary_Physiolibrary.Chemical.Examples.WaterSublimation.pipe 2>&1)