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.0008428/0.0008428, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 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.001011/0.001011, allocations: 165 kB / 23.02 MB, free: 1.547 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.058/1.058, allocations: 177.1 MB / 203.4 MB, free: 5.637 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.08894/0.08894, allocations: 17.46 MB / 277.4 MB, free: 11.55 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 1.412e-06/1.412e-06, allocations: 0 / 353.5 MB, free: 9.867 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.112e-05/2.253e-05, allocations: 6.25 kB / 353.5 MB, free: 9.859 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.HeatingOfAlcohol): time 0.004151/0.004173, allocations: 4.303 MB / 357.8 MB, free: 5.527 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00699/0.01116, allocations: 8.596 MB / 366.4 MB, free: 12.9 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000252/0.01142, allocations: 11.94 kB / 366.4 MB, free: 12.89 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004329/0.01185, allocations: 166.6 kB / 366.6 MB, free: 12.72 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001382/0.01323, allocations: 0.8183 MB / 367.4 MB, free: 11.9 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001717/0.01495, allocations: 1.048 MB / 368.5 MB, free: 10.84 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000683/0.01563, allocations: 0.9235 MB / 369.4 MB, free: 9.914 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003719/0.016, allocations: 437 kB / 369.8 MB, free: 9.488 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004511/0.01645, allocations: 0.6083 MB / 370.4 MB, free: 8.879 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003909/0.01684, allocations: 399.1 kB / 370.8 MB, free: 8.488 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.193e-05/0.01693, allocations: 76 kB / 370.9 MB, free: 8.414 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001111/0.01804, allocations: 0.8693 MB / 371.8 MB, free: 7.543 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001322/0.01817, allocations: 183.4 kB / 371.9 MB, free: 7.363 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002038/0.01837, allocations: 299.4 kB / 372.2 MB, free: 7.07 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001464/0.01984, allocations: 1.642 MB / 373.9 MB, free: 5.422 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.884e-06/0.01984, allocations: 4 kB / 373.9 MB, free: 5.418 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.01984, allocations: 0 / 373.9 MB, free: 5.418 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.388e-06/0.01985, allocations: 4 kB / 373.9 MB, free: 5.414 MB / 298.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.001264/0.02111, allocations: 1.192 MB / 375.1 MB, free: 4.18 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.421e-05/0.02115, allocations: 8.031 kB / 375.1 MB, free: 4.172 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004572/0.0216, allocations: 247.6 kB / 375.3 MB, free: 3.93 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005695/0.02217, allocations: 411.9 kB / 375.7 MB, free: 3.496 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.327e-05/0.02222, allocations: 54.38 kB / 375.8 MB, free: 3.445 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001079/0.02233, allocations: 68.36 kB / 375.9 MB, free: 3.379 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008981/0.02322, allocations: 0.6124 MB / 376.5 MB, free: 2.75 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.564e-05/0.02324, allocations: 192 / 376.5 MB, free: 2.75 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.957e-05/0.0233, allocations: 28.38 kB / 376.5 MB, free: 2.723 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.799e-05/0.02332, allocations: 19.94 kB / 376.5 MB, free: 2.703 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009621/0.02428, allocations: 0.5971 MB / 377.1 MB, free: 2.109 MB / 298.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.002611/0.02689, allocations: 1.776 MB / 378.9 MB, free: 292 kB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0013/0.02819, allocations: 0.8468 MB / 379.7 MB, free: 15.43 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002849/0.02847, allocations: 190.1 kB / 379.9 MB, free: 15.23 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002394/0.03087, allocations: 1.578 MB / 381.5 MB, free: 13.63 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.598e-05/0.03089, allocations: 41.39 kB / 381.5 MB, free: 13.58 MB / 314.7 MB Notification: Performance of pre-optimization done (n=42): time 1.573e-06/0.0309, allocations: 0 / 381.5 MB, free: 13.58 MB / 314.7 MB Notification: Performance of matching and sorting (n=56): time 0.009009/0.03991, allocations: 2.443 MB / 384 MB, free: 11.09 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.523e-05/0.03994, allocations: 55.91 kB / 384 MB, free: 11.02 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003724/0.04031, allocations: 438.4 kB / 384.5 MB, free: 10.57 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.538e-05/0.04035, allocations: 41.7 kB / 384.5 MB, free: 10.52 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002135/0.04056, allocations: 422.8 kB / 384.9 MB, free: 10.1 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001419/0.0407, allocations: 202.2 kB / 385.1 MB, free: 9.902 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001881/0.04089, allocations: 148.3 kB / 385.3 MB, free: 9.75 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001677/0.04106, allocations: 0.5352 MB / 385.8 MB, free: 9.203 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000265/0.04132, allocations: 154.6 kB / 385.9 MB, free: 9.047 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004308/0.04176, allocations: 0.491 MB / 386.4 MB, free: 8.406 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007777/0.04253, allocations: 0.6971 MB / 387.1 MB, free: 7.555 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/0.04254, allocations: 8 kB / 387.1 MB, free: 7.547 MB / 314.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002854/0.04539, allocations: 1.003 MB / 388.1 MB, free: 6.527 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.04541, allocations: 8.969 kB / 388.2 MB, free: 6.52 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.415e-05/0.04543, allocations: 11.98 kB / 388.2 MB, free: 6.508 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003407/0.04883, allocations: 0.6549 MB / 388.8 MB, free: 5.844 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003727/0.04921, allocations: 155.8 kB / 389 MB, free: 5.691 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005086/0.05429, allocations: 4.893 MB / 393.9 MB, free: 0.5586 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000303/0.0546, allocations: 28 kB / 393.9 MB, free: 0.5312 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.048e-05/0.05466, allocations: 43.98 kB / 393.9 MB, free: 500 kB / 314.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.0001776/0.05483, allocations: 204.3 kB / 394.1 MB, free: 284 kB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000115/0.05495, allocations: 71.75 kB / 394.2 MB, free: 212 kB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00333/0.05828, allocations: 0.9578 MB / 395.2 MB, free: 15.23 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/0.05828, allocations: 8 kB / 395.2 MB, free: 15.22 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.05829, allocations: 4 kB / 395.2 MB, free: 15.21 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.907e-06/0.0583, allocations: 7.984 kB / 395.2 MB, free: 15.21 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003777/0.06207, allocations: 1.514 MB / 396.7 MB, free: 13.61 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/0.06208, allocations: 4 kB / 396.7 MB, free: 13.6 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002412/0.06232, allocations: 91.84 kB / 396.8 MB, free: 13.51 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004266/0.06659, allocations: 0.7914 MB / 397.6 MB, free: 12.71 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.666e-05/0.06663, allocations: 19.98 kB / 397.6 MB, free: 12.69 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005899/0.07253, allocations: 6.566 MB / 404.2 MB, free: 5.75 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.07253, allocations: 128 / 404.2 MB, free: 5.75 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003659/0.07619, allocations: 1.239 MB / 405.4 MB, free: 4.449 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.009e-05/0.07625, allocations: 47.78 kB / 405.5 MB, free: 4.402 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.262e-05/0.07631, allocations: 15.94 kB / 405.5 MB, free: 4.387 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002285/0.07653, allocations: 23.92 kB / 405.5 MB, free: 4.363 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001134/0.07665, allocations: 64.39 kB / 405.6 MB, free: 4.301 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.164e-05/0.07669, allocations: 20 kB / 405.6 MB, free: 4.281 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002108/0.0769, allocations: 267.1 kB / 405.8 MB, free: 4.023 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0769, allocations: 0 / 405.8 MB, free: 4.023 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00124/0.07814, allocations: 403.1 kB / 406.2 MB, free: 3.629 MB / 330.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.0007211/0.07886, allocations: 482.1 kB / 406.7 MB, free: 3.145 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001187/0.08005, allocations: 0.8916 MB / 407.6 MB, free: 2.227 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.08005, allocations: 0 / 407.6 MB, free: 2.227 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008046/0.08086, allocations: 0.8494 MB / 408.4 MB, free: 1.32 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006568/0.08151, allocations: 158.4 kB / 408.6 MB, free: 1.164 MB / 330.7 MB Error: Error parsing unit kDa: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1173/0.1988, allocations: 1.238 MB / 409.8 MB, free: 52.41 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001625/0.199, allocations: 145.4 kB / 410 MB, free: 52.34 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000385/0.1994, allocations: 119.2 kB / 410.1 MB, free: 52.33 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001657/0.1995, allocations: 94.59 kB / 410.2 MB, free: 52.33 MB / 330.7 MB Notification: Performance of SimCode: time 1.152e-06/0.1995, allocations: 3.406 kB / 410.2 MB, free: 52.33 MB / 330.7 MB Notification: Performance of Templates: time 0.01713/0.2167, allocations: 16.81 MB / 427 MB, free: 46.88 MB / 330.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.6757160928100348]