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: 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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008395/0.0008391, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.005528/0.005528, allocations: 168.5 kB / 16.26 MB, free: 6.652 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.387/1.387, allocations: 223.3 MB / 240.3 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.2499/0.2499, allocations: 15.27 MB / 306.7 MB, free: 15.67 MB / 254.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003616/0.0003617, allocations: 8 kB / 372.1 MB, free: 3.609 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3452/0.3456, allocations: 54.62 MB / 426.7 MB, free: 40.34 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo:3019:6-3019:65: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:3019:6-3019: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.02588/0.3715, allocations: 24.72 MB / 451.4 MB, free: 32.09 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01139/0.3829, allocations: 12.14 MB / 463.6 MB, free: 24.06 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000984/0.3839, allocations: 23.41 kB / 463.6 MB, free: 24.05 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008144/0.3848, allocations: 250.6 kB / 463.8 MB, free: 23.92 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002806/0.3876, allocations: 0.9295 MB / 464.8 MB, free: 23.36 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003754/0.3914, allocations: 1.35 MB / 466.1 MB, free: 22.55 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001669/0.393, allocations: 1.334 MB / 467.5 MB, free: 21.9 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009303/0.394, allocations: 0.6805 MB / 468.1 MB, free: 21.59 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001022/0.395, allocations: 0.6234 MB / 468.8 MB, free: 21.39 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007916/0.3958, allocations: 0.6583 MB / 469.4 MB, free: 21.13 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001371/0.396, allocations: 65.94 kB / 469.5 MB, free: 21.13 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003572/0.3995, allocations: 1.135 MB / 470.6 MB, free: 20.85 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002159/0.3998, allocations: 234 kB / 470.8 MB, free: 20.72 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005984/0.4004, allocations: 0.6104 MB / 471.5 MB, free: 20.36 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005872/0.4063, allocations: 2.425 MB / 473.9 MB, free: 19.03 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.704e-06/0.4063, allocations: 0 / 473.9 MB, free: 19.03 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.867e-06/0.4063, allocations: 0 / 473.9 MB, free: 19.03 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.507e-05/0.4064, allocations: 0 / 473.9 MB, free: 19.03 MB / 350.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.003039/0.4095, allocations: 1.379 MB / 475.3 MB, free: 17.73 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.4095, allocations: 12.03 kB / 475.3 MB, free: 17.72 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009355/0.4104, allocations: 259.4 kB / 475.5 MB, free: 17.5 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006739/0.4111, allocations: 0.5845 MB / 476.1 MB, free: 16.95 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.142e-05/0.4112, allocations: 86.64 kB / 476.2 MB, free: 16.87 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001524/0.4113, allocations: 116.3 kB / 476.3 MB, free: 16.75 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001637/0.413, allocations: 1.204 MB / 477.5 MB, free: 15.73 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.63e-05/0.413, allocations: 3.281 kB / 477.5 MB, free: 15.73 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.136e-05/0.4131, allocations: 48 kB / 477.6 MB, free: 15.68 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.564e-05/0.4131, allocations: 24 kB / 477.6 MB, free: 15.66 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001677/0.4148, allocations: 1.341 MB / 478.9 MB, free: 14.49 MB / 350.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.005157/0.42, allocations: 4.005 MB / 482.9 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001233/0.4212, allocations: 0.9782 MB / 483.9 MB, free: 9.988 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005028/0.4218, allocations: 389.7 kB / 484.3 MB, free: 9.641 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004137/0.4259, allocations: 3.901 MB / 488.2 MB, free: 5.656 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.999e-05/0.4259, allocations: 35.64 kB / 488.2 MB, free: 5.613 MB / 350.1 MB Notification: Performance of pre-optimization done (n=62): time 2.384e-06/0.426, allocations: 0 / 488.2 MB, free: 5.613 MB / 350.1 MB Notification: Performance of matching and sorting (n=74): time 0.004655/0.4306, allocations: 2.116 MB / 490.3 MB, free: 3.613 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.329e-05/0.4307, allocations: 68 kB / 490.4 MB, free: 3.535 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006812/0.4314, allocations: 0.5232 MB / 490.9 MB, free: 3.074 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.369e-05/0.4314, allocations: 41.7 kB / 491 MB, free: 3.027 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003446/0.4318, allocations: 0.5326 MB / 491.5 MB, free: 2.539 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002053/0.432, allocations: 259.8 kB / 491.8 MB, free: 2.305 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001226/0.4321, allocations: 86.14 kB / 491.8 MB, free: 2.227 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001367/0.4323, allocations: 382.4 kB / 492.2 MB, free: 1.867 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004201/0.4327, allocations: 225.9 kB / 492.4 MB, free: 1.676 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005508/0.4333, allocations: 0.555 MB / 493 MB, free: 1.02 MB / 350.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.006258/0.4395, allocations: 2.137 MB / 495.1 MB, free: 15 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.294e-06/0.4395, allocations: 0 / 495.1 MB, free: 15 MB / 366.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.001827/0.4414, allocations: 0.9604 MB / 496.1 MB, free: 14.11 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.692e-05/0.4414, allocations: 16.06 kB / 496.1 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.882e-05/0.4414, allocations: 10.53 kB / 496.1 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002884/0.4417, allocations: 77.5 kB / 496.2 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007371/0.4425, allocations: 235.8 kB / 496.4 MB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001636/0.4441, allocations: 1.601 MB / 498 MB, free: 12.13 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007058/0.4449, allocations: 75.95 kB / 498.1 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000104/0.445, allocations: 59.05 kB / 498.2 MB, free: 12.01 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 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.0004938/0.4455, allocations: 243 kB / 498.4 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001491/0.4456, allocations: 75.16 kB / 498.5 MB, free: 11.69 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001917/0.4476, allocations: 0.8454 MB / 499.3 MB, free: 10.94 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.629e-06/0.4476, allocations: 8.516 kB / 499.3 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.4476, allocations: 0 / 499.3 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.377e-05/0.4476, allocations: 7.547 kB / 499.3 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002991/0.4506, allocations: 1.753 MB / 0.4893 GB, free: 9.332 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/0.4506, allocations: 4 kB / 0.4893 GB, free: 9.328 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006597/0.4513, allocations: 178.7 kB / 0.4895 GB, free: 9.176 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002061/0.4515, allocations: 71.05 kB / 0.4896 GB, free: 9.113 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.45e-05/0.4516, allocations: 30.95 kB / 0.4896 GB, free: 9.086 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001448/0.4531, allocations: 1.596 MB / 0.4912 GB, free: 7.41 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.4531, allocations: 8.062 kB / 0.4912 GB, free: 7.402 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001842/0.4549, allocations: 1.177 MB / 0.4923 GB, free: 6.254 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001896/0.4551, allocations: 154.9 kB / 0.4925 GB, free: 6.086 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.201e-05/0.4552, allocations: 16.66 kB / 0.4925 GB, free: 6.07 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003917/0.4556, allocations: 40.67 kB / 0.4925 GB, free: 6.035 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001503/0.4558, allocations: 70.92 kB / 0.4926 GB, free: 5.984 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.001e-05/0.4559, allocations: 38.86 kB / 0.4926 GB, free: 5.949 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004402/0.4563, allocations: 346.7 kB / 0.493 GB, free: 5.66 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.903e-06/0.4563, allocations: 0 / 0.493 GB, free: 5.66 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001382/0.4577, allocations: 449.9 kB / 0.4934 GB, free: 5.23 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.001056/0.4588, allocations: 0.5144 MB / 0.4939 GB, free: 4.754 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001496/0.4603, allocations: 0.8155 MB / 0.4947 GB, free: 4.004 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.4603, allocations: 0 / 0.4947 GB, free: 4.004 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006685/0.461, allocations: 482.8 kB / 0.4951 GB, free: 3.555 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001129/0.4621, allocations: 171.4 kB / 0.4953 GB, free: 3.414 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00353/0.4657, allocations: 2.354 MB / 0.4976 GB, free: 1.191 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007809/0.4665, allocations: 1.012 MB / 0.4986 GB, free: 272 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0008639/0.4673, allocations: 194.3 kB / 0.4988 GB, free: 100 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003874/0.4677, allocations: 145.8 kB / 0.4989 GB, free: 15.98 MB / 382.1 MB Notification: Performance of SimCode: time 9.71e-07/0.4677, allocations: 0 / 0.4989 GB, free: 15.98 MB / 382.1 MB Notification: Performance of Templates: time 0.02504/0.4928, allocations: 13.94 MB / 0.5125 GB, free: 2.105 MB / 382.1 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)