Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Examples.Definitions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001513/0.001513, allocations: 80.75 kB / 19.94 MB, free: 4.547 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002165/0.002165, allocations: 181 kB / 23.36 MB, free: 1.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.019/1.019, allocations: 177.1 MB / 203.8 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo): time 0.1233/0.1233, allocations: 17.39 MB / 277.6 MB, free: 11.51 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Chemical.Examples.Definitions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.Definitions") translateModel(Chemical.Examples.Definitions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.Definitions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.092e-06/1.092e-06, allocations: 0 / 300.6 MB, free: 1.586 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.088e-06/1.018e-05, allocations: 3.078 kB / 300.7 MB, free: 1.582 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Interfaces.mo:465:5-465:64: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 2.0.0/Interfaces.mo:465:5-465:64: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.Definitions): time 0.02929/0.0293, allocations: 32.61 MB / 333.3 MB, free: 3.824 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.3505/0.3798, allocations: 134.2 MB / 467.5 MB, free: 27.74 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002303/0.38, allocations: 9.75 kB / 467.5 MB, free: 27.74 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001685/0.3817, allocations: 0.6919 MB / 468.2 MB, free: 27.71 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002378/0.3841, allocations: 2.095 MB / 470.3 MB, free: 27.69 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001154/0.3853, allocations: 0.5304 MB / 470.8 MB, free: 27.67 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002678/0.3879, allocations: 2.066 MB / 472.9 MB, free: 27.63 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.876e-05/0.388, allocations: 30.8 kB / 472.9 MB, free: 27.61 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004665/0.3885, allocations: 471.3 kB / 473.4 MB, free: 27.61 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004565/0.3889, allocations: 404.6 kB / 473.8 MB, free: 27.61 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.169e-05/0.389, allocations: 21.33 kB / 473.8 MB, free: 27.61 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001227/0.3902, allocations: 0.7003 MB / 474.5 MB, free: 27.59 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001359/0.3903, allocations: 161.9 kB / 474.7 MB, free: 27.59 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001505/0.3905, allocations: 161.2 kB / 474.8 MB, free: 27.59 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001309/0.3918, allocations: 1.514 MB / 476.3 MB, free: 27.52 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.3918, allocations: 0 / 476.3 MB, free: 27.52 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.983e-06/0.3918, allocations: 0 / 476.3 MB, free: 27.52 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.136e-06/0.3918, allocations: 0 / 476.3 MB, free: 27.52 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 159 * Number of variables: 159 Notification: Performance of Generate backend data structure: time 0.0009358/0.3928, allocations: 0.983 MB / 477.3 MB, free: 26.92 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.3928, allocations: 11.81 kB / 477.3 MB, free: 26.92 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006148/0.3934, allocations: 0.5251 MB / 477.9 MB, free: 26.91 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002941/0.3937, allocations: 336.6 kB / 478.2 MB, free: 26.68 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.685e-05/0.3937, allocations: 36.03 kB / 478.2 MB, free: 26.67 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.012e-05/0.3938, allocations: 47.88 kB / 478.3 MB, free: 26.67 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006351/0.3944, allocations: 0.95 MB / 479.2 MB, free: 26.37 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.68e-05/0.3944, allocations: 3.094 kB / 479.2 MB, free: 26.37 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.538e-05/0.3945, allocations: 23.8 kB / 479.2 MB, free: 26.37 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.489e-05/0.3946, allocations: 91.41 kB / 479.3 MB, free: 26.36 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007864/0.3953, allocations: 1.165 MB / 480.5 MB, free: 26.34 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001767/0.3971, allocations: 2.213 MB / 482.7 MB, free: 25.78 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000521/0.3976, allocations: 466.5 kB / 483.2 MB, free: 25.75 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.469e-05/0.3977, allocations: 62.62 kB / 483.2 MB, free: 25.74 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001826/0.3995, allocations: 1.675 MB / 484.9 MB, free: 25.37 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.003e-05/0.3996, allocations: 36.03 kB / 484.9 MB, free: 25.33 MB / 410.7 MB Notification: Performance of pre-optimization done (n=25): time 1.653e-06/0.3996, allocations: 0 / 484.9 MB, free: 25.33 MB / 410.7 MB Notification: Performance of matching and sorting (n=25): time 0.0003048/0.3999, allocations: 218.6 kB / 485.1 MB, free: 25.3 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.857e-05/0.3999, allocations: 59.06 kB / 485.2 MB, free: 25.23 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003869/0.4003, allocations: 0.7425 MB / 485.9 MB, free: 25.04 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.553e-05/0.4003, allocations: 32.27 kB / 486 MB, free: 25 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001394/0.4004, allocations: 465.4 kB / 486.4 MB, free: 24.66 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.28e-05/0.4005, allocations: 105.8 kB / 486.5 MB, free: 24.6 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001838/0.4007, allocations: 264.8 kB / 486.8 MB, free: 24.55 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.02e-05/0.4007, allocations: 361.7 kB / 487.1 MB, free: 24.23 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.644e-05/0.4008, allocations: 94.61 kB / 487.2 MB, free: 24.23 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000299/0.4011, allocations: 0.7649 MB / 488 MB, free: 23.37 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005749/0.4017, allocations: 1 MB / 489 MB, free: 22.5 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.456e-06/0.4017, allocations: 11.78 kB / 489 MB, free: 22.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=132) (initialization): time 0.0006842/0.4024, allocations: 0.7284 MB / 489.7 MB, free: 22.47 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.13e-05/0.4024, allocations: 18.33 kB / 489.8 MB, free: 22.47 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.54e-05/0.4024, allocations: 23.62 kB / 489.8 MB, free: 22.47 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.558e-05/0.4025, allocations: 32.72 kB / 489.8 MB, free: 22.47 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000436/0.4029, allocations: 303 kB / 490.1 MB, free: 22.47 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.27e-05/0.4029, allocations: 48.27 kB / 490.2 MB, free: 22.47 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002749/0.4032, allocations: 143.2 kB / 490.3 MB, free: 22.39 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.034e-05/0.4033, allocations: 104.9 kB / 490.4 MB, free: 22.39 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 108 * Number of states: 0 () * Number of discrete variables: 6 (O2_dissolving_props.definition.data.phase,O2_dissolving_props.definition.SelfClustering,H2O_formation_props.definition.data.phase,H2O_formation_props.definition.SelfClustering,H2O_vaporization_props.definition.data.phase,H2O_vaporization_props.definition.SelfClustering) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (132): * Single equations (assignments): 132 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001662/0.4034, allocations: 206.2 kB / 490.6 MB, free: 22.26 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.868e-05/0.4035, allocations: 49.09 kB / 490.7 MB, free: 22.26 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008528/0.4044, allocations: 0.5768 MB / 491.2 MB, free: 22.17 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.4044, allocations: 2.875 kB / 491.2 MB, free: 22.17 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.344e-06/0.4044, allocations: 2.031 kB / 491.2 MB, free: 22.17 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.511e-06/0.4044, allocations: 6.188 kB / 491.2 MB, free: 22.17 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002582/0.4046, allocations: 272.6 kB / 491.5 MB, free: 22.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.4046, allocations: 1 kB / 491.5 MB, free: 22.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001759/0.4048, allocations: 97.59 kB / 491.6 MB, free: 22.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.4048, allocations: 3.438 kB / 491.6 MB, free: 22.09 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.354e-05/0.4048, allocations: 17.14 kB / 491.6 MB, free: 22.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.4048, allocations: 0 / 491.6 MB, free: 22.09 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.4048, allocations: 3.188 kB / 491.6 MB, free: 22.09 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002338/0.4051, allocations: 283.1 kB / 491.9 MB, free: 21.95 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000211/0.4053, allocations: 217.5 kB / 492.1 MB, free: 21.87 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.688e-05/0.4053, allocations: 6.094 kB / 492.1 MB, free: 21.87 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000104/0.4054, allocations: 9.641 kB / 492.1 MB, free: 21.87 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.237e-05/0.4055, allocations: 30.59 kB / 492.2 MB, free: 21.87 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.994e-05/0.4055, allocations: 69.09 kB / 492.2 MB, free: 21.87 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002006/0.4057, allocations: 314.2 kB / 492.5 MB, free: 21.84 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.4057, allocations: 0 / 492.5 MB, free: 21.84 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004876/0.4062, allocations: 176.2 kB / 492.7 MB, free: 21.83 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002914/0.4065, allocations: 220.2 kB / 492.9 MB, free: 21.74 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003792/0.4069, allocations: 441.8 kB / 493.4 MB, free: 21.73 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.27e-05/0.4069, allocations: 16.75 kB / 493.4 MB, free: 21.73 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.381e-05/0.407, allocations: 92.17 kB / 493.5 MB, free: 21.72 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003217/0.4073, allocations: 105.6 kB / 493.6 MB, free: 21.71 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001196/0.4085, allocations: 1.109 MB / 494.7 MB, free: 21.15 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.809e-05/0.4086, allocations: 157.5 kB / 494.8 MB, free: 21.07 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0007726/0.4094, allocations: 443.6 kB / 495.3 MB, free: 20.88 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000403/0.4098, allocations: 258.6 kB / 495.5 MB, free: 20.79 MB / 410.7 MB Notification: Performance of SimCode: time 9.21e-07/0.4098, allocations: 0 / 495.5 MB, free: 20.79 MB / 410.7 MB Notification: Performance of Templates: time 0.01149/0.4213, allocations: 10.28 MB / 0.4939 GB, free: 17.05 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_Chemical.Examples.Definitions.makefile [Timeout 660] (rm -f Chemical_Chemical.Examples.Definitions.pipe ; mkfifo Chemical_Chemical.Examples.Definitions.pipe ; head -c 1048576 < Chemical_Chemical.Examples.Definitions.pipe >> ../files/Chemical_Chemical.Examples.Definitions.sim & ./Chemical_Chemical.Examples.Definitions -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Chemical_Chemical.Examples.Definitions.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8488429677672684]