Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Chemical_Chemical.Examples.WaterSublimation.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Chemical with version 1.4.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo) Running command: translateModel(Chemical.Examples.WaterSublimation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.WaterSublimation") translateModel(Chemical.Examples.WaterSublimation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.WaterSublimation") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo): time 0.08429/0.08429, allocations: 15.28 MB / 30.53 MB, free: 3.199 MB / 24.77 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009314/0.0009315, allocations: 194.3 kB / 35.63 MB, free: 2.246 MB / 24.77 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.497/1.497, allocations: 225.7 MB / 266.3 MB, free: 6.105 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008636/0.0008635, allocations: 98.48 kB / 321.7 MB, free: 2.207 MB / 250.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003733/0.0003734, allocations: 8.578 kB / 387 MB, free: 50.56 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.115, allocations: 54.65 MB / 441.7 MB, free: 14.87 MB / 314.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo:3011:6-3011:65:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo:3011:6-3011:65: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.02517/0.1403, allocations: 21.92 MB / 463.6 MB, free: 8.887 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0158/0.1561, allocations: 15.12 MB / 478.7 MB, free: 8.855 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001014/0.1572, allocations: 23.81 kB / 478.7 MB, free: 8.832 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007321/0.1579, allocations: 246.6 kB / 479 MB, free: 8.59 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002766/0.1607, allocations: 0.9158 MB / 479.9 MB, free: 7.668 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003907/0.1646, allocations: 1.348 MB / 481.2 MB, free: 6.312 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.00164/0.1662, allocations: 1.337 MB / 482.6 MB, free: 4.969 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008077/0.1671, allocations: 0.668 MB / 483.2 MB, free: 4.273 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006692/0.1677, allocations: 0.5957 MB / 483.8 MB, free: 3.676 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007497/0.1685, allocations: 0.6693 MB / 484.5 MB, free: 3.004 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001342/0.1686, allocations: 68 kB / 484.6 MB, free: 2.938 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003192/0.1718, allocations: 1.088 MB / 485.7 MB, free: 1.848 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002526/0.1721, allocations: 235 kB / 485.9 MB, free: 1.617 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005872/0.1727, allocations: 0.6042 MB / 486.5 MB, free: 1.004 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003675/0.1764, allocations: 2.401 MB / 488.9 MB, free: 14.59 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.1764, allocations: 0 / 488.9 MB, free: 14.59 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1764, allocations: 0 / 488.9 MB, free: 14.59 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.496e-05/0.1764, allocations: 0 / 488.9 MB, free: 14.59 MB / 362.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.002296/0.1787, allocations: 1.369 MB / 490.3 MB, free: 13.17 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.1788, allocations: 9.156 kB / 490.3 MB, free: 13.16 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009594/0.1798, allocations: 267 kB / 490.5 MB, free: 12.9 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008924/0.1807, allocations: 0.5907 MB / 491.1 MB, free: 12.27 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.069e-05/0.1807, allocations: 86.64 kB / 491.2 MB, free: 12.18 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001752/0.1809, allocations: 120.3 kB / 491.3 MB, free: 12.07 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001965/0.1829, allocations: 1.19 MB / 492.5 MB, free: 10.83 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.491e-05/0.1829, allocations: 4 kB / 492.5 MB, free: 10.83 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.868e-05/0.183, allocations: 47.94 kB / 492.6 MB, free: 10.78 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.34e-05/0.1831, allocations: 28 kB / 492.6 MB, free: 10.75 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002325/0.1854, allocations: 1.332 MB / 493.9 MB, free: 9.414 MB / 362.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.006138/0.1916, allocations: 4.002 MB / 497.9 MB, free: 5.176 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001531/0.1931, allocations: 0.968 MB / 498.9 MB, free: 4.191 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005676/0.1937, allocations: 391.7 kB / 499.3 MB, free: 3.809 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00507/0.1988, allocations: 3.904 MB / 0.4914 GB, free: 15.43 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.664e-05/0.1988, allocations: 43.11 kB / 0.4914 GB, free: 15.38 MB / 378.7 MB Notification: Performance of pre-optimization done (n=62): time 1.984e-06/0.1989, allocations: 0 / 0.4914 GB, free: 15.38 MB / 378.7 MB Notification: Performance of matching and sorting (n=74): time 0.004838/0.2037, allocations: 2.101 MB / 0.4935 GB, free: 13.22 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.113e-05/0.2038, allocations: 64.06 kB / 0.4935 GB, free: 13.15 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006227/0.2044, allocations: 0.5223 MB / 0.494 GB, free: 12.61 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.242e-05/0.2044, allocations: 41.7 kB / 0.4941 GB, free: 12.57 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000351/0.2048, allocations: 0.5254 MB / 0.4946 GB, free: 12.03 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001863/0.205, allocations: 268.1 kB / 0.4949 GB, free: 11.77 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.871e-05/0.205, allocations: 20 kB / 0.4949 GB, free: 11.75 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001658/0.2052, allocations: 382.8 kB / 0.4952 GB, free: 11.36 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004142/0.2056, allocations: 230.2 kB / 0.4955 GB, free: 11.14 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006253/0.2063, allocations: 0.5447 MB / 0.496 GB, free: 10.45 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.006109/0.2124, allocations: 2.117 MB / 0.4981 GB, free: 8.172 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.52e-06/0.2124, allocations: 4 kB / 0.4981 GB, free: 8.168 MB / 378.7 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.001616/0.214, allocations: 0.9501 MB / 0.499 GB, free: 7.207 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.433e-05/0.2141, allocations: 8 kB / 0.499 GB, free: 7.199 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.581e-05/0.2141, allocations: 15.94 kB / 0.499 GB, free: 7.184 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000247/0.2143, allocations: 80.8 kB / 0.4991 GB, free: 7.102 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006992/0.2151, allocations: 240.2 kB / 0.4993 GB, free: 6.867 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00161/0.2167, allocations: 1.601 MB / 0.5009 GB, free: 5.133 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006073/0.2173, allocations: 59.88 kB / 0.5009 GB, free: 5.074 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.416e-05/0.2174, allocations: 60.05 kB / 0.501 GB, free: 5.016 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 sytem: 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.0004447/0.2178, allocations: 249.5 kB / 0.5012 GB, free: 4.762 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001131/0.218, allocations: 75.06 kB / 0.5013 GB, free: 4.688 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001759/0.2197, allocations: 0.838 MB / 0.5021 GB, free: 3.84 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.214e-06/0.2198, allocations: 8 kB / 0.5021 GB, free: 3.832 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.2198, allocations: 0 / 0.5021 GB, free: 3.832 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.032e-05/0.2198, allocations: 7.922 kB / 0.5021 GB, free: 3.824 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002689/0.2225, allocations: 1.75 MB / 0.5038 GB, free: 1.969 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-06/0.2225, allocations: 0 / 0.5038 GB, free: 1.969 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006843/0.2232, allocations: 192 kB / 0.504 GB, free: 1.781 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002084/0.2234, allocations: 60.73 kB / 0.5041 GB, free: 1.719 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.174e-05/0.2235, allocations: 31.98 kB / 0.5041 GB, free: 1.688 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2626/0.4861, allocations: 1.59 MB / 0.5057 GB, free: 68.35 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.133e-06/0.4862, allocations: 2.75 kB / 0.5057 GB, free: 68.35 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002199/0.4884, allocations: 1.167 MB / 0.5068 GB, free: 68.1 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000199/0.4886, allocations: 146.6 kB / 0.507 GB, free: 68.01 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.065e-05/0.4887, allocations: 21.22 kB / 0.507 GB, free: 68.01 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004178/0.4891, allocations: 36.67 kB / 0.507 GB, free: 68.01 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001548/0.4893, allocations: 75.34 kB / 0.5071 GB, free: 68.01 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.135e-05/0.4894, allocations: 37 kB / 0.5071 GB, free: 68.01 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004165/0.4898, allocations: 340.5 kB / 0.5074 GB, free: 67.92 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4898, allocations: 3 kB / 0.5074 GB, free: 67.92 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001429/0.4912, allocations: 446.3 kB / 0.5079 GB, free: 67.92 MB / 378.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.0009361/0.4922, allocations: 0.5045 MB / 0.5084 GB, free: 67.83 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001459/0.4936, allocations: 0.8092 MB / 0.5092 GB, free: 67.69 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.4937, allocations: 1.062 kB / 0.5092 GB, free: 67.69 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006625/0.4943, allocations: 478.3 kB / 0.5096 GB, free: 67.55 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001187/0.4955, allocations: 168.5 kB / 0.5098 GB, free: 67.55 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003714/0.4992, allocations: 2.342 MB / 0.5121 GB, free: 66.32 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005479/0.4998, allocations: 1.012 MB / 0.513 GB, free: 65.62 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0008955/0.5007, allocations: 200.8 kB / 0.5132 GB, free: 65.61 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003063/0.501, allocations: 146.8 kB / 0.5134 GB, free: 65.6 MB / 378.7 MB Notification: Performance of SimCode: time 5.81e-07/0.501, allocations: 0 / 0.5134 GB, free: 65.6 MB / 378.7 MB Notification: Performance of Templates: time 0.02466/0.5257, allocations: 13.86 MB / 0.5269 GB, free: 62.3 MB / 378.7 MB make -j1 -f Chemical_Chemical.Examples.WaterSublimation.makefile (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 & ./Chemical_Chemical.Examples.WaterSublimation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Examples.WaterSublimation.pipe 2>&1)