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.001233/0.001233, allocations: 118.7 kB / 17.13 MB, free: 5.758 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.001265/0.001265, allocations: 193.2 kB / 20.08 MB, free: 2.848 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.384/1.384, allocations: 225.6 MB / 248.5 MB, free: 3.637 MB / 190.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.08447/0.08447, allocations: 15.54 MB / 318.9 MB, free: 13.62 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.001933/0.001933, allocations: 67.09 kB / 446.1 MB, free: 47.63 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09726/0.09919, allocations: 56.56 MB / 0.4909 GB, free: 20.57 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.03243/0.1316, allocations: 26.42 MB / 0.5167 GB, free: 13.16 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01693/0.1486, allocations: 12.32 MB / 0.5287 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001136/0.1497, allocations: 15.88 kB / 0.5287 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008485/0.1505, allocations: 289.7 kB / 0.529 GB, free: 496 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003139/0.1537, allocations: 1.047 MB / 0.53 GB, free: 15.43 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004362/0.158, allocations: 1.561 MB / 0.5315 GB, free: 13.86 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002305/0.1603, allocations: 1.396 MB / 0.5329 GB, free: 12.46 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009354/0.1613, allocations: 0.6959 MB / 0.5336 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008259/0.1621, allocations: 0.6701 MB / 0.5342 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009939/0.1631, allocations: 0.7318 MB / 0.5349 GB, free: 10.33 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001965/0.1633, allocations: 128 kB / 0.5351 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005745/0.169, allocations: 1.201 MB / 0.5362 GB, free: 9 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005685/0.1696, allocations: 291 kB / 0.5365 GB, free: 8.715 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00108/0.1707, allocations: 0.6572 MB / 0.5372 GB, free: 8.055 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0066/0.1773, allocations: 2.622 MB / 0.5397 GB, free: 5.422 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.258e-06/0.1773, allocations: 4 kB / 0.5397 GB, free: 5.418 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.1773, allocations: 0 / 0.5397 GB, free: 5.418 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.985e-05/0.1773, allocations: 7.938 kB / 0.5397 GB, free: 5.41 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.003/0.1803, allocations: 1.658 MB / 0.5414 GB, free: 3.695 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/0.1804, allocations: 8.031 kB / 0.5414 GB, free: 3.688 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001107/0.1815, allocations: 267.9 kB / 0.5416 GB, free: 3.426 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000998/0.1825, allocations: 0.6185 MB / 0.5422 GB, free: 2.766 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.874e-05/0.1825, allocations: 86.64 kB / 0.5423 GB, free: 2.68 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001884/0.1827, allocations: 120.3 kB / 0.5424 GB, free: 2.562 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002081/0.1848, allocations: 1.202 MB / 0.5436 GB, free: 1.316 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.326e-05/0.1848, allocations: 0 / 0.5436 GB, free: 1.316 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001067/0.1849, allocations: 48 kB / 0.5436 GB, free: 1.27 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.465e-05/0.185, allocations: 28 kB / 0.5437 GB, free: 1.242 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002198/0.1872, allocations: 1.336 MB / 0.545 GB, free: 15.9 MB / 414.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.00614/0.1933, allocations: 4.011 MB / 0.5489 GB, free: 11.65 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00159/0.1949, allocations: 0.9066 MB / 0.5498 GB, free: 10.74 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005911/0.1955, allocations: 347.7 kB / 0.5501 GB, free: 10.39 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005647/0.2011, allocations: 3.967 MB / 0.554 GB, free: 5.949 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.444e-05/0.2012, allocations: 35.12 kB / 0.554 GB, free: 5.906 MB / 414.1 MB Notification: Performance of pre-optimization done (n=62): time 1.834e-06/0.2012, allocations: 0 / 0.554 GB, free: 5.906 MB / 414.1 MB Notification: Performance of matching and sorting (n=74): time 0.005198/0.2064, allocations: 2.118 MB / 0.5561 GB, free: 3.738 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.287e-05/0.2064, allocations: 60.06 kB / 0.5561 GB, free: 3.668 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006807/0.2071, allocations: 0.5302 MB / 0.5567 GB, free: 3.125 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.448e-05/0.2071, allocations: 37.7 kB / 0.5567 GB, free: 3.082 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004161/0.2076, allocations: 0.5466 MB / 0.5572 GB, free: 2.527 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002289/0.2078, allocations: 269.7 kB / 0.5575 GB, free: 2.262 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002648/0.2081, allocations: 186.9 kB / 0.5577 GB, free: 2.074 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001966/0.2083, allocations: 386.7 kB / 0.558 GB, free: 1.688 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004462/0.2087, allocations: 234.2 kB / 0.5583 GB, free: 1.457 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006858/0.2094, allocations: 0.5369 MB / 0.5588 GB, free: 0.7812 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.006524/0.2159, allocations: 2.126 MB / 0.5609 GB, free: 14.49 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.231e-06/0.2159, allocations: 4 kB / 0.5609 GB, free: 14.48 MB / 430.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.001739/0.2177, allocations: 0.9625 MB / 0.5618 GB, free: 13.51 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.39e-05/0.2177, allocations: 12 kB / 0.5618 GB, free: 13.5 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.387e-05/0.2177, allocations: 12.16 kB / 0.5618 GB, free: 13.49 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002707/0.218, allocations: 80.81 kB / 0.5619 GB, free: 13.41 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007004/0.2187, allocations: 235.5 kB / 0.5621 GB, free: 13.18 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001807/0.2205, allocations: 1.719 MB / 0.5638 GB, free: 11.32 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005133/0.221, allocations: 39.92 kB / 0.5638 GB, free: 11.28 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.577e-05/0.2211, allocations: 52 kB / 0.5639 GB, free: 11.23 MB / 430.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.0004628/0.2215, allocations: 257.5 kB / 0.5641 GB, free: 10.96 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000128/0.2217, allocations: 83.42 kB / 0.5642 GB, free: 10.88 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001776/0.2234, allocations: 0.8341 MB / 0.565 GB, free: 10.04 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.036e-05/0.2234, allocations: 11.94 kB / 0.565 GB, free: 10.03 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.2235, allocations: 0 / 0.565 GB, free: 10.03 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.807e-06/0.2235, allocations: 3.984 kB / 0.565 GB, free: 10.02 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002842/0.2263, allocations: 1.751 MB / 0.5668 GB, free: 8.172 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.2263, allocations: 4.031 kB / 0.5668 GB, free: 8.168 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006824/0.227, allocations: 183.8 kB / 0.5669 GB, free: 7.988 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002107/0.2272, allocations: 60.81 kB / 0.567 GB, free: 7.926 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.737e-05/0.2273, allocations: 31.94 kB / 0.567 GB, free: 7.895 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001696/0.229, allocations: 1.7 MB / 0.5687 GB, free: 6.051 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/0.229, allocations: 7.938 kB / 0.5687 GB, free: 6.043 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001914/0.2309, allocations: 1.182 MB / 0.5698 GB, free: 4.812 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002013/0.2311, allocations: 148.7 kB / 0.57 GB, free: 4.648 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.327e-05/0.2312, allocations: 20 kB / 0.57 GB, free: 4.629 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003226/0.2315, allocations: 19.98 kB / 0.57 GB, free: 4.609 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001606/0.2316, allocations: 72.52 kB / 0.5701 GB, free: 4.535 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.477e-05/0.2317, allocations: 39.98 kB / 0.5701 GB, free: 4.496 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004663/0.2322, allocations: 346.8 kB / 0.5705 GB, free: 4.16 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2322, allocations: 7.875 kB / 0.5705 GB, free: 4.152 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001518/0.2337, allocations: 455 kB / 0.5709 GB, free: 3.707 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.0009324/0.2346, allocations: 0.5133 MB / 0.5714 GB, free: 3.184 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001462/0.2361, allocations: 0.7772 MB / 0.5722 GB, free: 2.395 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.2361, allocations: 0 / 0.5722 GB, free: 2.395 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006538/0.2367, allocations: 447.4 kB / 0.5726 GB, free: 1.945 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009507/0.2377, allocations: 198.2 kB / 0.5728 GB, free: 1.754 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00309/0.2408, allocations: 1.855 MB / 0.5746 GB, free: 15.83 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007532/0.2415, allocations: 1.013 MB / 0.5756 GB, free: 14.79 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004261/0.242, allocations: 191.2 kB / 0.5758 GB, free: 14.6 MB / 446.1 MB Notification: Performance of SimCode: time 1.362e-06/0.242, allocations: 0 / 0.5758 GB, free: 14.6 MB / 446.1 MB Notification: Performance of Templates: time 0.02506/0.267, allocations: 17.55 MB / 0.5929 GB, free: 13.08 MB / 462.1 MB " [Timeout remaining time 660] 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 sys.exit(0), Time elapsed: 8.374338728841394] Failed to read output from testmodel.py, exit status != 0: 0.44869406102225184 0.288140864 0.107970649 Calling exit ...