Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Obsolete.Examples.HeatingOfAlcohol.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.001166/0.001166, allocations: 81.08 kB / 19.87 MB, free: 4.617 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.001646/0.001646, allocations: 169 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 0.957/0.957, allocations: 177.2 MB / 203.7 MB, free: 5.504 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.08904/0.08904, allocations: 17.47 MB / 277.7 MB, free: 11.41 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.Obsolete.Examples.HeatingOfAlcohol,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.HeatingOfAlcohol") translateModel(Chemical.Obsolete.Examples.HeatingOfAlcohol,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.HeatingOfAlcohol") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0 / 354 MB, free: 10.63 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.457e-05/1.66e-05, allocations: 9.625 kB / 354 MB, free: 10.62 MB / 330.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.HeatingOfAlcohol): time 0.003685/0.003701, allocations: 4.232 MB / 358.2 MB, free: 6.363 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.006608/0.01031, allocations: 8.424 MB / 366.7 MB, free: 13.91 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002312/0.01054, allocations: 11.88 kB / 366.7 MB, free: 13.89 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000398/0.01094, allocations: 154.7 kB / 366.8 MB, free: 13.74 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001321/0.01226, allocations: 0.826 MB / 367.6 MB, free: 12.91 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001683/0.01394, allocations: 1.048 MB / 368.7 MB, free: 11.86 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000736/0.01468, allocations: 0.9312 MB / 369.6 MB, free: 10.92 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003637/0.01504, allocations: 425 kB / 370 MB, free: 10.5 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004515/0.01549, allocations: 0.6161 MB / 370.7 MB, free: 9.887 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003747/0.01587, allocations: 399 kB / 371.1 MB, free: 9.496 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 7.842e-05/0.01595, allocations: 76 kB / 371.1 MB, free: 9.422 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001121/0.01707, allocations: 0.8693 MB / 372 MB, free: 8.551 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001247/0.01719, allocations: 183.4 kB / 372.2 MB, free: 8.371 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001955/0.01739, allocations: 299.4 kB / 372.5 MB, free: 8.078 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001472/0.01886, allocations: 1.642 MB / 374.1 MB, free: 6.43 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.01886, allocations: 0 / 374.1 MB, free: 6.43 MB / 346.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.01886, allocations: 0 / 374.1 MB, free: 6.43 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.484e-06/0.01887, allocations: 0 / 374.1 MB, free: 6.43 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.001219/0.02009, allocations: 1.204 MB / 375.3 MB, free: 5.188 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.292e-05/0.02012, allocations: 8.031 kB / 375.3 MB, free: 5.18 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004486/0.02057, allocations: 247.8 kB / 375.6 MB, free: 4.938 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003955/0.02097, allocations: 419.8 kB / 376 MB, free: 4.496 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.059e-05/0.021, allocations: 46.38 kB / 376 MB, free: 4.449 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.321e-05/0.02107, allocations: 72.38 kB / 376.1 MB, free: 4.379 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005117/0.02158, allocations: 0.5615 MB / 376.6 MB, free: 3.805 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.02159, allocations: 192 / 376.6 MB, free: 3.805 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.061e-05/0.02164, allocations: 32.36 kB / 376.7 MB, free: 3.773 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.105e-05/0.02165, allocations: 19.94 kB / 376.7 MB, free: 3.754 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004948/0.02214, allocations: 0.5092 MB / 377.2 MB, free: 3.242 MB / 346.7 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.001863/0.024, allocations: 1.795 MB / 379 MB, free: 1.402 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008114/0.02482, allocations: 0.7957 MB / 379.8 MB, free: 0.5938 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001473/0.02496, allocations: 166 kB / 380 MB, free: 436 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00179/0.02675, allocations: 1.601 MB / 381.6 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.06e-05/0.02677, allocations: 41.39 kB / 381.6 MB, free: 14.76 MB / 362.7 MB Notification: Performance of pre-optimization done (n=42): time 1.522e-06/0.02678, allocations: 0 / 381.6 MB, free: 14.76 MB / 362.7 MB Notification: Performance of matching and sorting (n=56): time 0.006313/0.03309, allocations: 2.248 MB / 383.9 MB, free: 12.46 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.869e-05/0.03312, allocations: 55.91 kB / 383.9 MB, free: 12.39 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002558/0.03337, allocations: 434.2 kB / 384.3 MB, free: 11.95 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.09e-05/0.0334, allocations: 37.7 kB / 384.4 MB, free: 11.91 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002545/0.03366, allocations: 430.7 kB / 384.8 MB, free: 11.48 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001428/0.0338, allocations: 198.3 kB / 385 MB, free: 11.29 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002089/0.03401, allocations: 160.1 kB / 385.1 MB, free: 11.12 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001937/0.0342, allocations: 0.5351 MB / 385.7 MB, free: 10.57 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002041/0.03441, allocations: 122.6 kB / 385.8 MB, free: 10.45 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004097/0.03482, allocations: 482.4 kB / 386.3 MB, free: 9.828 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006661/0.03548, allocations: 0.6423 MB / 386.9 MB, free: 9.031 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/0.03549, allocations: 4 kB / 386.9 MB, free: 9.027 MB / 362.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001882/0.03737, allocations: 0.9337 MB / 387.8 MB, free: 8.074 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.03739, allocations: 8.781 kB / 387.9 MB, free: 8.066 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.0374, allocations: 12 kB / 387.9 MB, free: 8.055 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002316/0.03971, allocations: 0.6587 MB / 388.5 MB, free: 7.387 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002401/0.03995, allocations: 159.8 kB / 388.7 MB, free: 7.23 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003578/0.04353, allocations: 4.798 MB / 393.5 MB, free: 2.207 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002002/0.04373, allocations: 24 kB / 393.5 MB, free: 2.184 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.704e-05/0.04378, allocations: 43.92 kB / 393.5 MB, free: 2.141 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (81): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0001493/0.04393, allocations: 204.3 kB / 393.7 MB, free: 1.93 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.12e-05/0.04401, allocations: 71.7 kB / 393.8 MB, free: 1.859 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002328/0.04634, allocations: 0.8957 MB / 394.7 MB, free: 0.9453 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.491e-05/0.04635, allocations: 7.938 kB / 394.7 MB, free: 0.9375 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.04636, allocations: 4 kB / 394.7 MB, free: 0.9336 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.448e-05/0.04637, allocations: 3.984 kB / 394.7 MB, free: 0.9297 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002964/0.04933, allocations: 1.475 MB / 396.2 MB, free: 15.37 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.151e-06/0.04934, allocations: 7.938 kB / 396.2 MB, free: 15.36 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001809/0.04952, allocations: 87.84 kB / 396.3 MB, free: 15.27 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003504/0.05302, allocations: 0.7798 MB / 397.1 MB, free: 14.48 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.285e-05/0.05309, allocations: 27.98 kB / 397.1 MB, free: 14.45 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006351/0.05944, allocations: 6.451 MB / 403.5 MB, free: 7.656 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.05944, allocations: 7.938 kB / 403.6 MB, free: 7.648 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002636/0.06208, allocations: 1.157 MB / 404.7 MB, free: 6.43 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001012/0.06218, allocations: 47.62 kB / 404.8 MB, free: 6.383 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.277e-05/0.06222, allocations: 16.06 kB / 404.8 MB, free: 6.367 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001672/0.06239, allocations: 16 kB / 404.8 MB, free: 6.352 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.232e-05/0.06248, allocations: 64.33 kB / 404.9 MB, free: 6.289 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.314e-05/0.06251, allocations: 23.98 kB / 404.9 MB, free: 6.266 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001687/0.06268, allocations: 251 kB / 405.1 MB, free: 6.023 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.06268, allocations: 0 / 405.1 MB, free: 6.023 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001018/0.0637, allocations: 399.1 kB / 405.5 MB, free: 5.633 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (Ethanol.logn,liquidWater.amountOfBonds,liquidWater.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 (48): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (2,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006684/0.06437, allocations: 0.4979 MB / 406 MB, free: 5.125 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009282/0.0653, allocations: 0.8328 MB / 406.8 MB, free: 4.262 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.0653, allocations: 0.8125 kB / 406.8 MB, free: 4.262 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006162/0.06592, allocations: 0.8213 MB / 407.7 MB, free: 3.383 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005219/0.06644, allocations: 156 kB / 407.8 MB, free: 3.23 MB / 378.7 MB Error: Error parsing unit kDa: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001911/0.06835, allocations: 1.237 MB / 409.1 MB, free: 1.93 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001088/0.06846, allocations: 147.2 kB / 409.2 MB, free: 1.766 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002999/0.06876, allocations: 120.7 kB / 409.3 MB, free: 1.645 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003105/0.06907, allocations: 257.2 kB / 409.6 MB, free: 1.395 MB / 378.7 MB Notification: Performance of SimCode: time 8.72e-07/0.06907, allocations: 0 / 409.6 MB, free: 1.395 MB / 378.7 MB Notification: Performance of Templates: time 0.02093/0.09, allocations: 18.77 MB / 428.3 MB, free: 14.73 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.HeatingOfAlcohol.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.HeatingOfAlcohol.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.HeatingOfAlcohol.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.HeatingOfAlcohol.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.HeatingOfAlcohol.sim & ./Chemical_master_Chemical.Obsolete.Examples.HeatingOfAlcohol -abortSlowSimulation -alarm=240 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.HeatingOfAlcohol.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5470651076175272]