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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001453/0.001453, allocations: 104.6 kB / 16.45 MB, free: 6.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00149/0.00149, allocations: 186.9 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.573/1.573, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.1073/0.1073, allocations: 15.54 MB / 318.2 MB, free: 10.21 MB / 254.1 MB " [Timeout remaining time 180] 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=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.WaterSublimation") translateModel(Chemical.Examples.WaterSublimation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.WaterSublimation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002207/0.002207, allocations: 63.89 kB / 445.4 MB, free: 13.05 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.141/0.1432, allocations: 56.55 MB / 0.4902 GB, free: 4.391 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.5044/0.6476, allocations: 26.32 MB / 0.5159 GB, free: 6.27 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01484/0.6624, allocations: 12.33 MB / 0.5279 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001641/0.6641, allocations: 21.81 kB / 0.528 GB, free: 0.5 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001176/0.6653, allocations: 285.7 kB / 0.5282 GB, free: 352 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005352/0.6706, allocations: 1.046 MB / 0.5293 GB, free: 15.74 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008285/0.6789, allocations: 1.559 MB / 0.5308 GB, free: 14.98 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003591/0.6825, allocations: 1.398 MB / 0.5321 GB, free: 14.29 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001376/0.6839, allocations: 0.6878 MB / 0.5328 GB, free: 13.93 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001471/0.6853, allocations: 0.6719 MB / 0.5335 GB, free: 13.67 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0016/0.6869, allocations: 0.7289 MB / 0.5342 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002568/0.6872, allocations: 130.4 kB / 0.5343 GB, free: 13.35 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007052/0.6942, allocations: 1.204 MB / 0.5355 GB, free: 13.05 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006625/0.6949, allocations: 294.1 kB / 0.5358 GB, free: 12.86 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001327/0.6962, allocations: 0.6512 MB / 0.5364 GB, free: 12.48 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01018/0.7064, allocations: 2.628 MB / 0.539 GB, free: 11.31 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.054e-05/0.7064, allocations: 4 kB / 0.539 GB, free: 11.31 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.7064, allocations: 1.188 kB / 0.539 GB, free: 11.31 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.404e-05/0.7065, allocations: 0 / 0.539 GB, free: 11.31 MB / 398.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.006273/0.7128, allocations: 1.662 MB / 0.5406 GB, free: 10.23 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.593e-05/0.7128, allocations: 8.938 kB / 0.5406 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002067/0.7149, allocations: 262.7 kB / 0.5408 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001931/0.7168, allocations: 0.6192 MB / 0.5415 GB, free: 9.711 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001322/0.7169, allocations: 85.86 kB / 0.5415 GB, free: 9.672 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000337/0.7173, allocations: 116.2 kB / 0.5416 GB, free: 9.633 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003627/0.7209, allocations: 1.206 MB / 0.5428 GB, free: 9.012 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.874e-05/0.721, allocations: 1.156 kB / 0.5428 GB, free: 9.012 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001796/0.7211, allocations: 45.66 kB / 0.5429 GB, free: 8.977 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.753e-05/0.7212, allocations: 27.09 kB / 0.5429 GB, free: 8.977 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003737/0.7249, allocations: 1.338 MB / 0.5442 GB, free: 8.395 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.01222/0.7371, allocations: 4.014 MB / 0.5481 GB, free: 5.16 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003311/0.7404, allocations: 0.9052 MB / 0.549 GB, free: 4.668 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001193/0.7416, allocations: 341.1 kB / 0.5493 GB, free: 4.5 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01092/0.7525, allocations: 3.972 MB / 0.5532 GB, free: 0.875 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.935e-05/0.7526, allocations: 38.56 kB / 0.5532 GB, free: 0.832 MB / 398.1 MB Notification: Performance of pre-optimization done (n=62): time 3.947e-06/0.7526, allocations: 0 / 0.5532 GB, free: 0.832 MB / 398.1 MB Notification: Performance of matching and sorting (n=74): time 0.009668/0.7623, allocations: 2.12 MB / 0.5553 GB, free: 15.62 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.126e-05/0.7623, allocations: 59.28 kB / 0.5554 GB, free: 15.55 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001196/0.7635, allocations: 0.5233 MB / 0.5559 GB, free: 15.23 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 9.556e-05/0.7636, allocations: 37.7 kB / 0.5559 GB, free: 15.19 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000715/0.7643, allocations: 0.5451 MB / 0.5565 GB, free: 14.7 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004449/0.7648, allocations: 278.4 kB / 0.5567 GB, free: 14.46 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004456/0.7652, allocations: 188.9 kB / 0.5569 GB, free: 14.35 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0003467/0.7656, allocations: 389 kB / 0.5573 GB, free: 13.98 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008286/0.7664, allocations: 224.6 kB / 0.5575 GB, free: 13.88 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001353/0.7678, allocations: 0.5533 MB / 0.558 GB, free: 13.34 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.01169/0.7795, allocations: 2.119 MB / 0.5601 GB, free: 12.03 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-05/0.7795, allocations: 3.781 kB / 0.5601 GB, free: 12.03 MB / 414.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.003426/0.7829, allocations: 0.9618 MB / 0.561 GB, free: 11.55 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.199e-05/0.7829, allocations: 7.188 kB / 0.561 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.401e-05/0.7829, allocations: 10.97 kB / 0.5611 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000496/0.7834, allocations: 76.81 kB / 0.5611 GB, free: 11.51 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001385/0.7848, allocations: 239.9 kB / 0.5614 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00333/0.7882, allocations: 1.717 MB / 0.563 GB, free: 9.82 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00125/0.7894, allocations: 33.91 kB / 0.5631 GB, free: 9.805 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002098/0.7896, allocations: 55.14 kB / 0.5631 GB, free: 9.793 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.0009278/0.7905, allocations: 255.8 kB / 0.5634 GB, free: 9.582 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003737/0.7909, allocations: 79.64 kB / 0.5634 GB, free: 9.535 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003389/0.7943, allocations: 0.8427 MB / 0.5643 GB, free: 9.066 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.174e-05/0.7943, allocations: 7.344 kB / 0.5643 GB, free: 9.066 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.616e-06/0.7943, allocations: 0 / 0.5643 GB, free: 9.066 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.764e-05/0.7943, allocations: 3.984 kB / 0.5643 GB, free: 9.062 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005524/0.7999, allocations: 1.751 MB / 0.566 GB, free: 7.836 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.618e-06/0.7999, allocations: 0 / 0.566 GB, free: 7.836 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001275/0.8012, allocations: 191.9 kB / 0.5662 GB, free: 7.789 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003677/0.8015, allocations: 72.72 kB / 0.5662 GB, free: 7.746 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001006/0.8016, allocations: 30.23 kB / 0.5663 GB, free: 7.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0031/0.8047, allocations: 1.704 MB / 0.5679 GB, free: 6.102 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.8047, allocations: 3.938 kB / 0.5679 GB, free: 6.098 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003241/0.808, allocations: 1.185 MB / 0.5691 GB, free: 5.375 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005201/0.8085, allocations: 142.5 kB / 0.5692 GB, free: 5.238 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003237/0.8088, allocations: 23.28 kB / 0.5692 GB, free: 5.223 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008146/0.8096, allocations: 15.19 kB / 0.5693 GB, free: 5.215 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002529/0.8099, allocations: 76.75 kB / 0.5693 GB, free: 5.172 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001171/0.81, allocations: 28.88 kB / 0.5694 GB, free: 5.168 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008553/0.8109, allocations: 356 kB / 0.5697 GB, free: 4.957 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.8109, allocations: 3.938 kB / 0.5697 GB, free: 4.953 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00274/0.8136, allocations: 452.6 kB / 0.5701 GB, free: 4.844 MB / 414.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.002307/0.8159, allocations: 0.5199 MB / 0.5706 GB, free: 4.531 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002583/0.8185, allocations: 0.7787 MB / 0.5714 GB, free: 4.125 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.114e-06/0.8185, allocations: 0 / 0.5714 GB, free: 4.125 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008772/0.8194, allocations: 446.9 kB / 0.5718 GB, free: 3.863 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001498/0.8209, allocations: 187.6 kB / 0.572 GB, free: 3.746 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003966/0.8248, allocations: 1.813 MB / 0.5738 GB, free: 2.602 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001003/0.8258, allocations: 1.01 MB / 0.5748 GB, free: 1.77 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0008455/0.8267, allocations: 199.6 kB / 0.575 GB, free: 1.668 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003577/0.827, allocations: 144.4 kB / 0.5751 GB, free: 1.625 MB / 414.1 MB Notification: Performance of SimCode: time 1.623e-06/0.827, allocations: 0 / 0.5751 GB, free: 1.625 MB / 414.1 MB Notification: Performance of Templates: time 0.03152/0.8586, allocations: 14.83 MB / 0.5896 GB, free: 3.59 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f Chemical_Chemical.Examples.WaterSublimation.makefile [Timeout 660] (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) [Timeout 480] [Calling os._exit(0), Time elapsed: 6.170334819704294]