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.0009899/0.0009899, allocations: 81.86 kB / 19.87 MB, free: 4.621 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.001136/0.001136, allocations: 169.7 kB / 23.27 MB, free: 1.219 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.088/1.088, allocations: 177.1 MB / 203.7 MB, free: 5.492 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.1108/0.1108, allocations: 17.46 MB / 277.7 MB, free: 11.39 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.703e-06/1.703e-06, allocations: 0 / 354 MB, free: 9.562 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.67e-05/2.84e-05, allocations: 5.688 kB / 354 MB, free: 9.559 MB / 282.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.02932/0.02935, allocations: 26.86 MB / 380.9 MB, free: 14.85 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.2862/0.3156, allocations: 132.8 MB / 0.5016 GB, free: 8.73 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002702/0.3158, allocations: 7.938 kB / 0.5017 GB, free: 8.723 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001768/0.3176, allocations: 0.7209 MB / 0.5024 GB, free: 8 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002708/0.3203, allocations: 2.512 MB / 0.5048 GB, free: 5.477 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00145/0.3217, allocations: 0.6251 MB / 0.5054 GB, free: 4.848 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003064/0.3248, allocations: 2.188 MB / 0.5076 GB, free: 2.656 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.368e-05/0.3249, allocations: 25.97 kB / 0.5076 GB, free: 2.625 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004171/0.3253, allocations: 0.4911 MB / 0.5081 GB, free: 2.133 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005107/0.3258, allocations: 491.1 kB / 0.5085 GB, free: 1.652 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.53e-05/0.3259, allocations: 16 kB / 0.5085 GB, free: 1.637 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001556/0.3274, allocations: 0.8456 MB / 0.5094 GB, free: 0.7891 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001222/0.3275, allocations: 195.2 kB / 0.5096 GB, free: 0.5977 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001221/0.3277, allocations: 183.4 kB / 0.5097 GB, free: 428 kB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001407/0.3291, allocations: 1.573 MB / 0.5113 GB, free: 14.84 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.3291, allocations: 4 kB / 0.5113 GB, free: 14.84 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.993e-06/0.3291, allocations: 4 kB / 0.5113 GB, free: 14.83 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.743e-06/0.3291, allocations: 0 / 0.5113 GB, free: 14.83 MB / 394.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.00111/0.3302, allocations: 1.226 MB / 0.5125 GB, free: 13.57 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/0.3302, allocations: 8.031 kB / 0.5125 GB, free: 13.56 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009324/0.3312, allocations: 0.5711 MB / 0.513 GB, free: 12.99 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00034/0.3315, allocations: 364.2 kB / 0.5134 GB, free: 12.6 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.188e-05/0.3315, allocations: 41.31 kB / 0.5134 GB, free: 12.56 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.193e-05/0.3316, allocations: 44.36 kB / 0.5135 GB, free: 12.52 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007305/0.3323, allocations: 0.9689 MB / 0.5144 GB, free: 11.48 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.3323, allocations: 192 / 0.5144 GB, free: 11.48 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.117e-05/0.3323, allocations: 20.56 kB / 0.5144 GB, free: 11.46 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.583e-05/0.3324, allocations: 89.2 kB / 0.5145 GB, free: 11.38 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008352/0.3333, allocations: 1.178 MB / 0.5157 GB, free: 10.2 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002266/0.3355, allocations: 2.73 MB / 0.5183 GB, free: 7.426 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006232/0.3361, allocations: 0.5819 MB / 0.5189 GB, free: 6.832 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001029/0.3363, allocations: 95.58 kB / 0.519 GB, free: 6.734 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00259/0.3388, allocations: 1.93 MB / 0.5209 GB, free: 4.797 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.356e-05/0.3389, allocations: 37.39 kB / 0.5209 GB, free: 4.75 MB / 394.7 MB Notification: Performance of pre-optimization done (n=25): time 2.385e-06/0.3389, allocations: 0 / 0.5209 GB, free: 4.75 MB / 394.7 MB Notification: Performance of matching and sorting (n=25): time 0.0004541/0.3393, allocations: 394.5 kB / 0.5213 GB, free: 4.359 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.544e-05/0.3393, allocations: 55.41 kB / 0.5213 GB, free: 4.293 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006786/0.34, allocations: 1.033 MB / 0.5224 GB, free: 3.246 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.7e-05/0.3401, allocations: 29.7 kB / 0.5224 GB, free: 3.211 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002523/0.3403, allocations: 0.5485 MB / 0.5229 GB, free: 2.652 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.069e-05/0.3404, allocations: 103.2 kB / 0.523 GB, free: 2.551 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002337/0.3406, allocations: 332 kB / 0.5233 GB, free: 2.219 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000169/0.3408, allocations: 0.5586 MB / 0.5239 GB, free: 1.648 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001159/0.3409, allocations: 114.5 kB / 0.524 GB, free: 1.535 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005965/0.3415, allocations: 1.1 MB / 0.5251 GB, free: 15.98 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001237/0.3427, allocations: 1.349 MB / 0.5264 GB, free: 14.18 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.057e-06/0.3427, allocations: 8 kB / 0.5264 GB, free: 14.17 MB / 410.7 MB Notification: Performance of matching and sorting (n=132) (initialization): time 0.0008753/0.3436, allocations: 0.9414 MB / 0.5273 GB, free: 13.22 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.53e-05/0.3436, allocations: 18.34 kB / 0.5273 GB, free: 13.21 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.821e-05/0.3436, allocations: 24 kB / 0.5273 GB, free: 13.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.976e-05/0.3437, allocations: 31.94 kB / 0.5274 GB, free: 13.15 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000397/0.3441, allocations: 299.6 kB / 0.5277 GB, free: 12.86 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.462e-05/0.3441, allocations: 51.73 kB / 0.5277 GB, free: 12.81 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000339/0.3444, allocations: 139 kB / 0.5278 GB, free: 12.67 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.275e-05/0.3445, allocations: 120 kB / 0.528 GB, free: 12.55 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.0002071/0.3447, allocations: 247.9 kB / 0.5282 GB, free: 12.3 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001011/0.3448, allocations: 111.5 kB / 0.5283 GB, free: 12.19 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009619/0.3458, allocations: 0.7111 MB / 0.529 GB, free: 11.49 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.3458, allocations: 4 kB / 0.529 GB, free: 11.48 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.763e-06/0.3458, allocations: 0 / 0.529 GB, free: 11.48 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.895e-06/0.3458, allocations: 11.91 kB / 0.529 GB, free: 11.47 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003788/0.3462, allocations: 392.8 kB / 0.5294 GB, free: 11.06 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.3462, allocations: 0 / 0.5294 GB, free: 11.06 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001464/0.3463, allocations: 107.9 kB / 0.5295 GB, free: 10.96 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.3463, allocations: 0 / 0.5295 GB, free: 10.96 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.685e-05/0.3464, allocations: 39.98 kB / 0.5295 GB, free: 10.92 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.3464, allocations: 2.688 kB / 0.5295 GB, free: 10.92 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.3464, allocations: 0 / 0.5295 GB, free: 10.92 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003922/0.3468, allocations: 495.5 kB / 0.53 GB, free: 10.41 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002667/0.347, allocations: 249.2 kB / 0.5302 GB, free: 10.16 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.441e-05/0.3471, allocations: 4 kB / 0.5302 GB, free: 10.16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001238/0.3472, allocations: 15.92 kB / 0.5303 GB, free: 10.14 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.63e-05/0.3472, allocations: 39.97 kB / 0.5303 GB, free: 10.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.438e-05/0.3473, allocations: 83.98 kB / 0.5304 GB, free: 10.02 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002876/0.3476, allocations: 490.8 kB / 0.5308 GB, free: 9.543 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3476, allocations: 0 / 0.5308 GB, free: 9.543 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005859/0.3482, allocations: 211.7 kB / 0.531 GB, free: 9.336 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.0003177/0.3485, allocations: 239.1 kB / 0.5313 GB, free: 9.086 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004724/0.349, allocations: 0.5005 MB / 0.5318 GB, free: 8.59 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.349, allocations: 4.062 kB / 0.5318 GB, free: 8.586 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001122/0.3491, allocations: 127.5 kB / 0.5319 GB, free: 8.457 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000393/0.3495, allocations: 119.8 kB / 0.532 GB, free: 8.344 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001308/0.3508, allocations: 1.135 MB / 0.5331 GB, free: 7.172 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003835/0.3512, allocations: 162.2 kB / 0.5333 GB, free: 6.992 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0008068/0.352, allocations: 442.1 kB / 0.5337 GB, free: 6.578 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004253/0.3524, allocations: 298 kB / 0.534 GB, free: 6.285 MB / 410.7 MB Notification: Performance of SimCode: time 8.42e-07/0.3524, allocations: 0 / 0.534 GB, free: 6.285 MB / 410.7 MB Notification: Performance of Templates: time 0.01381/0.3662, allocations: 10.31 MB / 0.544 GB, free: 12.2 MB / 426.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 -lv LOG_STATS > Chemical_master_Chemical.Examples.Definitions.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6268932190723717]