Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.0009521/0.0009521, allocations: 80.94 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.0009855/0.0009855, allocations: 173 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 0.9628/0.9628, allocations: 177.1 MB / 203.8 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.09052/0.09052, allocations: 17.46 MB / 277.7 MB, free: 11.45 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/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_master_Chemical.Examples.Definitions") translateModel(Chemical.Examples.Definitions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Examples.Definitions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 300.8 MB, free: 1.73 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.505e-05/2.666e-05, allocations: 4.859 kB / 300.8 MB, free: 1.727 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Interfaces.mo:448:5-448: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 master/Interfaces.mo:448:5-448: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.03404/0.03407, allocations: 32.69 MB / 333.5 MB, free: 3.695 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.2666/0.3006, allocations: 134.9 MB / 468.4 MB, free: 28.12 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002974/0.3009, allocations: 7.688 kB / 468.4 MB, free: 28.12 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001635/0.3026, allocations: 0.7311 MB / 469.1 MB, free: 28.1 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0029/0.3055, allocations: 2.543 MB / 471.6 MB, free: 28.06 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001717/0.3072, allocations: 0.6239 MB / 472.3 MB, free: 28.04 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002649/0.3098, allocations: 2.141 MB / 474.4 MB, free: 28 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.135e-05/0.3099, allocations: 34.47 kB / 474.4 MB, free: 27.98 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004746/0.3104, allocations: 496.7 kB / 474.9 MB, free: 27.98 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004841/0.3109, allocations: 444 kB / 475.4 MB, free: 27.98 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.323e-05/0.3109, allocations: 19.94 kB / 475.4 MB, free: 27.98 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001512/0.3124, allocations: 0.8461 MB / 476.2 MB, free: 27.97 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001291/0.3126, allocations: 195.6 kB / 476.4 MB, free: 27.94 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001371/0.3127, allocations: 186.1 kB / 476.6 MB, free: 27.91 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001314/0.314, allocations: 1.581 MB / 478.2 MB, free: 27.74 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.349e-06/0.314, allocations: 2.781 kB / 478.2 MB, free: 27.74 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.314, allocations: 0 / 478.2 MB, free: 27.74 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.546e-06/0.314, allocations: 0 / 478.2 MB, free: 27.74 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.0007988/0.3148, allocations: 1.013 MB / 479.2 MB, free: 27.12 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.204e-05/0.3149, allocations: 11.72 kB / 479.2 MB, free: 27.12 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005672/0.3154, allocations: 0.5526 MB / 479.8 MB, free: 27.11 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002736/0.3157, allocations: 337.5 kB / 480.1 MB, free: 26.88 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.49e-05/0.3157, allocations: 32.22 kB / 480.1 MB, free: 26.87 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.561e-05/0.3158, allocations: 44.91 kB / 480.2 MB, free: 26.87 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005745/0.3163, allocations: 0.9567 MB / 481.1 MB, free: 26.56 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.3164, allocations: 1.125 kB / 481.1 MB, free: 26.56 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.485e-05/0.3164, allocations: 18.23 kB / 481.1 MB, free: 26.56 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.072e-05/0.3165, allocations: 97.92 kB / 481.2 MB, free: 26.56 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007247/0.3172, allocations: 1.164 MB / 482.4 MB, free: 26.54 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001692/0.3189, allocations: 2.219 MB / 484.6 MB, free: 25.98 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005273/0.3194, allocations: 469.6 kB / 485.1 MB, free: 25.95 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.504e-05/0.3195, allocations: 60.44 kB / 485.1 MB, free: 25.94 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001811/0.3213, allocations: 1.676 MB / 486.8 MB, free: 25.57 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.803e-05/0.3213, allocations: 35.03 kB / 486.8 MB, free: 25.53 MB / 410.7 MB Notification: Performance of pre-optimization done (n=25): time 2.294e-06/0.3213, allocations: 3 kB / 486.9 MB, free: 25.53 MB / 410.7 MB Notification: Performance of matching and sorting (n=25): time 0.0002982/0.3216, allocations: 238.7 kB / 487.1 MB, free: 25.49 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.514e-05/0.3216, allocations: 59.8 kB / 487.1 MB, free: 25.43 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003646/0.322, allocations: 0.7388 MB / 487.9 MB, free: 25.23 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.283e-05/0.322, allocations: 29.95 kB / 487.9 MB, free: 25.2 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001122/0.3221, allocations: 479.6 kB / 488.4 MB, free: 24.85 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.503e-05/0.3222, allocations: 109.1 kB / 488.5 MB, free: 24.79 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001645/0.3223, allocations: 268.6 kB / 488.7 MB, free: 24.73 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.375e-05/0.3224, allocations: 359 kB / 489.1 MB, free: 24.42 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.466e-05/0.3225, allocations: 94.94 kB / 489.2 MB, free: 24.42 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002404/0.3227, allocations: 0.7629 MB / 490 MB, free: 23.55 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005232/0.3232, allocations: 1.002 MB / 491 MB, free: 22.7 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.215e-06/0.3232, allocations: 5.938 kB / 491 MB, free: 22.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=132) (initialization): time 0.0006329/0.3239, allocations: 0.74 MB / 491.7 MB, free: 22.66 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.188e-05/0.3239, allocations: 18.81 kB / 491.7 MB, free: 22.66 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.571e-05/0.3239, allocations: 25.75 kB / 491.7 MB, free: 22.66 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.54e-05/0.3239, allocations: 30.44 kB / 491.8 MB, free: 22.66 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004215/0.3244, allocations: 302.9 kB / 492.1 MB, free: 22.66 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.177e-05/0.3244, allocations: 47.16 kB / 492.1 MB, free: 22.66 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002975/0.3247, allocations: 143.6 kB / 492.3 MB, free: 22.58 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.592e-05/0.3247, allocations: 103.5 kB / 492.4 MB, free: 22.58 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.0001503/0.3249, allocations: 197 kB / 492.5 MB, free: 22.45 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.371e-05/0.325, allocations: 76.72 kB / 492.6 MB, free: 22.45 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007847/0.3258, allocations: 0.5758 MB / 493.2 MB, free: 22.34 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-06/0.3258, allocations: 2.781 kB / 493.2 MB, free: 22.34 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.492e-06/0.3258, allocations: 0 / 493.2 MB, free: 22.34 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.3258, allocations: 3.938 kB / 493.2 MB, free: 22.34 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002566/0.326, allocations: 272.4 kB / 493.5 MB, free: 22.25 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.205e-06/0.326, allocations: 3 kB / 493.5 MB, free: 22.25 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001665/0.3262, allocations: 96.03 kB / 493.6 MB, free: 22.25 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.614e-06/0.3262, allocations: 2.578 kB / 493.6 MB, free: 22.25 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.197e-05/0.3262, allocations: 21.14 kB / 493.6 MB, free: 22.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.3262, allocations: 6.031 kB / 493.6 MB, free: 22.25 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.3262, allocations: 0 / 493.6 MB, free: 22.25 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000223/0.3264, allocations: 304 kB / 493.9 MB, free: 22.11 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001979/0.3266, allocations: 216.3 kB / 494.1 MB, free: 22.03 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.86e-05/0.3267, allocations: 6.656 kB / 494.1 MB, free: 22.03 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000112/0.3268, allocations: 8.297 kB / 494.1 MB, free: 22.03 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.843e-05/0.3268, allocations: 26.84 kB / 494.1 MB, free: 22.03 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.513e-05/0.3269, allocations: 69.28 kB / 494.2 MB, free: 22.03 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001823/0.3271, allocations: 315.9 kB / 494.5 MB, free: 22 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3271, allocations: 4 kB / 494.5 MB, free: 22 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000536/0.3276, allocations: 193.6 kB / 494.7 MB, free: 21.98 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.0002833/0.3279, allocations: 234.6 kB / 494.9 MB, free: 21.88 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000363/0.3283, allocations: 435.1 kB / 495.4 MB, free: 21.86 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.757e-05/0.3283, allocations: 15.97 kB / 495.4 MB, free: 21.86 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.903e-05/0.3284, allocations: 92.94 kB / 495.5 MB, free: 21.84 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003255/0.3287, allocations: 106.8 kB / 495.6 MB, free: 21.84 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001147/0.3298, allocations: 1.115 MB / 496.7 MB, free: 21.27 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.069e-05/0.3299, allocations: 160.9 kB / 496.9 MB, free: 21.19 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0007499/0.3307, allocations: 437.3 kB / 497.3 MB, free: 20.99 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003898/0.3311, allocations: 258.5 kB / 497.5 MB, free: 20.9 MB / 410.7 MB Notification: Performance of SimCode: time 1.102e-06/0.3311, allocations: 0 / 497.5 MB, free: 20.9 MB / 410.7 MB Notification: Performance of Templates: time 0.01101/0.3421, allocations: 10.29 MB / 0.4959 GB, free: 16.81 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_master_Chemical.Examples.Definitions.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Examples.Definitions.pipe ; mkfifo Chemical_master_Chemical.Examples.Definitions.pipe ; head -c 1048576 < Chemical_master_Chemical.Examples.Definitions.pipe >> ../files/Chemical_master_Chemical.Examples.Definitions.sim & ./Chemical_master_Chemical.Examples.Definitions -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Chemical_master_Chemical.Examples.Definitions.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.2898216429166496]