Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_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.002492/0.002492, allocations: 85.48 kB / 19.44 MB, free: 344 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.002977/0.002977, allocations: 173.6 kB / 22.76 MB, free: 1.664 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.625/1.625, allocations: 177.1 MB / 203.1 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 178] 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.1543/0.1543, allocations: 17.37 MB / 276.9 MB, free: 11.7 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.Obsolete.Examples.HeatingOfAlcohol,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.HeatingOfAlcohol") translateModel(Chemical.Obsolete.Examples.HeatingOfAlcohol,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.HeatingOfAlcohol") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.472e-06/1.472e-06, allocations: 0 / 352.7 MB, free: 10.35 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.983e-05/3.13e-05, allocations: 2.312 kB / 352.7 MB, free: 10.35 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.HeatingOfAlcohol): time 0.006755/0.006787, allocations: 4.25 MB / 356.9 MB, free: 6.066 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01348/0.02027, allocations: 8.712 MB / 365.7 MB, free: 13.32 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006551/0.02093, allocations: 19.88 kB / 365.7 MB, free: 13.3 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006771/0.0216, allocations: 178.5 kB / 365.8 MB, free: 13.13 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002484/0.02409, allocations: 0.8105 MB / 366.7 MB, free: 12.31 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002966/0.02705, allocations: 1.048 MB / 367.7 MB, free: 11.26 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001349/0.0284, allocations: 0.9041 MB / 368.6 MB, free: 10.35 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006171/0.02902, allocations: 440.9 kB / 369 MB, free: 9.918 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007757/0.0298, allocations: 0.6239 MB / 369.7 MB, free: 9.293 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006686/0.03046, allocations: 391.1 kB / 370 MB, free: 8.91 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001485/0.03061, allocations: 80 kB / 370.1 MB, free: 8.832 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002385/0.033, allocations: 0.8654 MB / 371 MB, free: 7.965 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002547/0.03325, allocations: 183.4 kB / 371.2 MB, free: 7.785 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004119/0.03366, allocations: 303.3 kB / 371.5 MB, free: 7.488 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003965/0.03763, allocations: 1.942 MB / 373.4 MB, free: 5.539 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.03764, allocations: 0 / 373.4 MB, free: 5.539 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.913e-06/0.03764, allocations: 3.938 kB / 373.4 MB, free: 5.535 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.055e-05/0.03766, allocations: 0 / 373.4 MB, free: 5.535 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.003028/0.04069, allocations: 1.239 MB / 374.6 MB, free: 4.254 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.983e-05/0.04074, allocations: 12.03 kB / 374.7 MB, free: 4.242 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008878/0.04162, allocations: 247.5 kB / 374.9 MB, free: 4 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008607/0.04248, allocations: 411.9 kB / 375.3 MB, free: 3.566 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.986e-05/0.04254, allocations: 54.38 kB / 375.4 MB, free: 3.516 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001306/0.04267, allocations: 68.38 kB / 375.4 MB, free: 3.449 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001444/0.04412, allocations: 0.7881 MB / 376.2 MB, free: 2.645 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.028e-05/0.04414, allocations: 192 / 376.2 MB, free: 2.645 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.218e-05/0.04421, allocations: 24.38 kB / 376.2 MB, free: 2.621 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.289e-05/0.04423, allocations: 19.94 kB / 376.3 MB, free: 2.602 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00154/0.04577, allocations: 0.8511 MB / 377.1 MB, free: 1.754 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.004166/0.04994, allocations: 2.127 MB / 379.2 MB, free: 15.58 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001789/0.05173, allocations: 0.8336 MB / 380.1 MB, free: 14.73 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004847/0.05221, allocations: 266 kB / 380.3 MB, free: 14.46 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004049/0.05626, allocations: 1.694 MB / 382 MB, free: 12.75 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.672e-05/0.05631, allocations: 49.31 kB / 382.1 MB, free: 12.69 MB / 314.7 MB Notification: Performance of pre-optimization done (n=42): time 1.833e-06/0.05631, allocations: 0 / 382.1 MB, free: 12.69 MB / 314.7 MB Notification: Performance of matching and sorting (n=56): time 0.01596/0.07227, allocations: 2.755 MB / 384.8 MB, free: 9.879 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.936e-05/0.07233, allocations: 55.91 kB / 384.9 MB, free: 9.812 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006857/0.07302, allocations: 0.5102 MB / 385.4 MB, free: 9.281 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.539e-05/0.07307, allocations: 33.7 kB / 385.4 MB, free: 9.242 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003975/0.07347, allocations: 446.7 kB / 385.9 MB, free: 8.801 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002403/0.07371, allocations: 214.3 kB / 386.1 MB, free: 8.59 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000271/0.07398, allocations: 164.3 kB / 386.2 MB, free: 8.422 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0003403/0.07432, allocations: 0.5587 MB / 386.8 MB, free: 7.852 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004161/0.07474, allocations: 217.9 kB / 387 MB, free: 7.637 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007594/0.0755, allocations: 0.5769 MB / 387.6 MB, free: 6.91 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001281/0.07678, allocations: 0.8728 MB / 388.4 MB, free: 5.883 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.918e-06/0.07678, allocations: 0 / 388.4 MB, free: 5.883 MB / 314.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.004802/0.08159, allocations: 1.203 MB / 389.7 MB, free: 4.664 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.652e-05/0.08161, allocations: 11.98 kB / 389.7 MB, free: 4.652 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.305e-05/0.08164, allocations: 8 kB / 389.7 MB, free: 4.645 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006011/0.08765, allocations: 0.706 MB / 390.4 MB, free: 3.93 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005695/0.08822, allocations: 159.8 kB / 390.5 MB, free: 3.773 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00911/0.09733, allocations: 5.605 MB / 396.1 MB, free: 13.93 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006091/0.09794, allocations: 24 kB / 396.2 MB, free: 13.9 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.097e-05/0.09803, allocations: 43.98 kB / 396.2 MB, free: 13.86 MB / 330.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.0004018/0.09843, allocations: 252.4 kB / 396.5 MB, free: 13.6 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001818/0.09861, allocations: 67.67 kB / 396.5 MB, free: 13.54 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005618/0.1042, allocations: 1.125 MB / 397.6 MB, free: 12.39 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.306e-06/0.1042, allocations: 4 kB / 397.6 MB, free: 12.39 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.1042, allocations: 4 kB / 397.7 MB, free: 12.38 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.303e-05/0.1043, allocations: 7.922 kB / 397.7 MB, free: 12.38 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006682/0.1109, allocations: 1.807 MB / 399.5 MB, free: 10.48 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.131e-06/0.1109, allocations: 224 / 399.5 MB, free: 10.48 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003491/0.1113, allocations: 91.91 kB / 399.6 MB, free: 10.39 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007489/0.1188, allocations: 0.8497 MB / 400.4 MB, free: 9.527 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.244e-05/0.1189, allocations: 23.98 kB / 400.4 MB, free: 9.504 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01066/0.1295, allocations: 7.317 MB / 407.7 MB, free: 1.816 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.182e-06/0.1295, allocations: 4 kB / 407.7 MB, free: 1.812 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006142/0.1357, allocations: 1.533 MB / 409.3 MB, free: 224 kB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001942/0.1359, allocations: 47.67 kB / 409.3 MB, free: 176 kB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.846e-05/0.136, allocations: 12 kB / 409.3 MB, free: 164 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003384/0.1363, allocations: 15.94 kB / 409.4 MB, free: 148 kB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002047/0.1365, allocations: 64.39 kB / 409.4 MB, free: 84 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.496e-05/0.1366, allocations: 31.98 kB / 409.4 MB, free: 52 kB / 330.7 MB Notification: Performance of sorting global known variables: time 0.1491/0.2856, allocations: 305.9 kB / 409.7 MB, free: 63.24 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.2856, allocations: 0 / 409.7 MB, free: 63.24 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001953/0.2876, allocations: 400.4 kB / 410.1 MB, free: 63.24 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.0008228/0.2884, allocations: 484.2 kB / 410.6 MB, free: 63.15 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001637/0.29, allocations: 1.044 MB / 411.7 MB, free: 62.79 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.29, allocations: 2.531 kB / 411.7 MB, free: 62.79 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001184/0.2912, allocations: 0.9134 MB / 412.6 MB, free: 62.25 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008834/0.2921, allocations: 157 kB / 412.7 MB, free: 62.25 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002166/0.2943, allocations: 1.301 MB / 414 MB, free: 61.67 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003475/0.2946, allocations: 299.6 kB / 414.3 MB, free: 61.58 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004013/0.295, allocations: 129.5 kB / 414.4 MB, free: 61.57 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001832/0.2952, allocations: 94.89 kB / 414.5 MB, free: 61.57 MB / 330.7 MB Notification: Performance of SimCode: time 7.82e-07/0.2952, allocations: 0 / 414.5 MB, free: 61.57 MB / 330.7 MB Notification: Performance of Templates: time 0.02534/0.3206, allocations: 16.94 MB / 431.5 MB, free: 51.47 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_Chemical.Obsolete.Examples.HeatingOfAlcohol.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.HeatingOfAlcohol.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.HeatingOfAlcohol.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.HeatingOfAlcohol.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.HeatingOfAlcohol.sim & ./Chemical_Chemical.Obsolete.Examples.HeatingOfAlcohol -abortSlowSimulation -alarm=240 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.HeatingOfAlcohol.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.682216959889047]