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.001423/0.001423, allocations: 92.7 kB / 19.44 MB, free: 324 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.001902/0.001902, allocations: 161.3 kB / 22.75 MB, free: 1.656 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.557/1.557, allocations: 177.1 MB / 203.1 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] 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.138/0.138, allocations: 17.45 MB / 277 MB, free: 11.61 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 5.59e-06/5.59e-06, allocations: 4 kB / 352.8 MB, free: 10.22 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.995e-05/4.554e-05, allocations: 6.25 kB / 352.8 MB, free: 10.21 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.HeatingOfAlcohol): time 0.00735/0.007396, allocations: 3.912 MB / 356.7 MB, free: 6.273 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01254/0.01993, allocations: 7.696 MB / 364.4 MB, free: 14.55 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009033/0.02084, allocations: 11.88 kB / 364.4 MB, free: 14.54 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001032/0.02187, allocations: 174.6 kB / 364.6 MB, free: 14.37 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003707/0.02558, allocations: 0.8183 MB / 365.4 MB, free: 13.54 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003734/0.02931, allocations: 1.048 MB / 366.5 MB, free: 12.49 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001499/0.03081, allocations: 0.9118 MB / 367.4 MB, free: 11.57 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006387/0.03145, allocations: 433 kB / 367.8 MB, free: 11.15 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008602/0.03231, allocations: 0.62 MB / 368.4 MB, free: 10.53 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000658/0.03297, allocations: 379.1 kB / 368.8 MB, free: 10.16 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001299/0.0331, allocations: 80 kB / 368.9 MB, free: 10.08 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002901/0.036, allocations: 0.8654 MB / 369.7 MB, free: 9.211 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002417/0.03624, allocations: 183.4 kB / 369.9 MB, free: 9.031 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004143/0.03665, allocations: 291.4 kB / 370.2 MB, free: 8.746 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003613/0.04027, allocations: 1.942 MB / 372.1 MB, free: 6.797 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.75e-06/0.04027, allocations: 4 kB / 372.1 MB, free: 6.793 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.774e-06/0.04027, allocations: 0 / 372.1 MB, free: 6.793 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.257e-06/0.04028, allocations: 0 / 372.1 MB, free: 6.793 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.002246/0.04253, allocations: 1.085 MB / 373.2 MB, free: 5.672 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.882e-05/0.04258, allocations: 16.03 kB / 373.2 MB, free: 5.656 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008688/0.04345, allocations: 247.5 kB / 373.5 MB, free: 5.414 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008607/0.04431, allocations: 405.1 kB / 373.9 MB, free: 4.992 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.9e-05/0.04438, allocations: 54.38 kB / 373.9 MB, free: 4.941 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001416/0.04452, allocations: 76.31 kB / 374 MB, free: 4.867 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001397/0.04592, allocations: 0.7514 MB / 374.8 MB, free: 4.102 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.754e-05/0.04593, allocations: 192 / 374.8 MB, free: 4.102 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.242e-05/0.04602, allocations: 24.38 kB / 374.8 MB, free: 4.078 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.184e-05/0.04604, allocations: 19.94 kB / 374.8 MB, free: 4.059 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001548/0.04759, allocations: 0.8667 MB / 375.7 MB, free: 3.195 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.003834/0.05142, allocations: 1.785 MB / 377.4 MB, free: 1.367 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001747/0.05317, allocations: 0.7993 MB / 378.2 MB, free: 0.5547 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004648/0.05363, allocations: 255.2 kB / 378.5 MB, free: 304 kB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003884/0.05752, allocations: 1.579 MB / 380.1 MB, free: 14.7 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.322e-05/0.05756, allocations: 38.56 kB / 380.1 MB, free: 14.65 MB / 314.7 MB Notification: Performance of pre-optimization done (n=42): time 1.824e-06/0.05756, allocations: 0 / 380.1 MB, free: 14.65 MB / 314.7 MB Notification: Performance of matching and sorting (n=56): time 0.01709/0.07465, allocations: 2.672 MB / 382.8 MB, free: 11.93 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.296e-05/0.07471, allocations: 55.91 kB / 382.8 MB, free: 11.86 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005594/0.07527, allocations: 385.7 kB / 383.2 MB, free: 11.47 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.777e-05/0.07533, allocations: 37.7 kB / 383.3 MB, free: 11.43 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003363/0.07567, allocations: 372 kB / 383.6 MB, free: 11.06 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002216/0.07589, allocations: 206.2 kB / 383.8 MB, free: 10.86 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002547/0.07614, allocations: 150.6 kB / 384 MB, free: 10.7 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000231/0.07637, allocations: 358.8 kB / 384.3 MB, free: 10.34 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004295/0.0768, allocations: 205.9 kB / 384.5 MB, free: 10.14 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006988/0.0775, allocations: 466.1 kB / 385 MB, free: 9.578 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001248/0.07875, allocations: 0.7121 MB / 385.7 MB, free: 8.754 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.684e-06/0.07876, allocations: 8 kB / 385.7 MB, free: 8.746 MB / 314.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.005364/0.08412, allocations: 1.166 MB / 386.9 MB, free: 7.566 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.32e-05/0.08415, allocations: 8 kB / 386.9 MB, free: 7.559 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.068e-05/0.08417, allocations: 8 kB / 386.9 MB, free: 7.551 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006645/0.09082, allocations: 0.6965 MB / 387.6 MB, free: 6.848 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007184/0.09154, allocations: 159.7 kB / 387.7 MB, free: 6.691 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00924/0.1008, allocations: 4.375 MB / 392.1 MB, free: 2.121 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000622/0.1014, allocations: 35.89 kB / 392.1 MB, free: 2.086 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001247/0.1015, allocations: 43.98 kB / 392.2 MB, free: 2.043 MB / 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.0004274/0.102, allocations: 201.7 kB / 392.4 MB, free: 1.836 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002236/0.1022, allocations: 71.67 kB / 392.4 MB, free: 1.766 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00603/0.1082, allocations: 1.087 MB / 393.5 MB, free: 0.6562 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-05/0.1082, allocations: 7.938 kB / 393.5 MB, free: 0.6484 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-05/0.1082, allocations: 4 kB / 393.5 MB, free: 0.6445 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.256e-05/0.1082, allocations: 3.984 kB / 393.5 MB, free: 0.6406 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007055/0.1153, allocations: 1.612 MB / 395.2 MB, free: 14.96 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.407e-06/0.1153, allocations: 4 kB / 395.2 MB, free: 14.95 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000368/0.1157, allocations: 92.11 kB / 395.3 MB, free: 14.86 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008027/0.1237, allocations: 0.8336 MB / 396.1 MB, free: 14.02 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.181e-05/0.1238, allocations: 27.98 kB / 396.1 MB, free: 13.99 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01041/0.1342, allocations: 5.528 MB / 401.6 MB, free: 8.152 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/0.1342, allocations: 4.031 kB / 401.6 MB, free: 8.148 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006473/0.1407, allocations: 1.415 MB / 403.1 MB, free: 6.688 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001809/0.1409, allocations: 51.81 kB / 403.1 MB, free: 6.637 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001122/0.141, allocations: 15.94 kB / 403.1 MB, free: 6.621 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004154/0.1414, allocations: 19.94 kB / 403.1 MB, free: 6.602 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001907/0.1416, allocations: 60.33 kB / 403.2 MB, free: 6.543 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.476e-05/0.1416, allocations: 27.98 kB / 403.2 MB, free: 6.516 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004018/0.142, allocations: 243.2 kB / 403.5 MB, free: 6.281 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.142, allocations: 0 / 403.5 MB, free: 6.281 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001707/0.1437, allocations: 403.1 kB / 403.9 MB, free: 5.887 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.001166/0.1449, allocations: 482.8 kB / 404.3 MB, free: 5.406 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001956/0.1469, allocations: 0.8685 MB / 405.2 MB, free: 4.52 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.137e-06/0.1469, allocations: 0 / 405.2 MB, free: 4.52 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001626/0.1485, allocations: 0.698 MB / 405.9 MB, free: 3.781 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008965/0.1494, allocations: 168.7 kB / 406.1 MB, free: 3.613 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002706/0.1521, allocations: 1.267 MB / 407.3 MB, free: 2.293 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004124/0.1525, allocations: 297.6 kB / 407.6 MB, free: 1.977 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004906/0.153, allocations: 128.7 kB / 407.8 MB, free: 1.848 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002308/0.1532, allocations: 94.94 kB / 407.8 MB, free: 1.754 MB / 330.7 MB Notification: Performance of SimCode: time 8.82e-07/0.1532, allocations: 0 / 407.8 MB, free: 1.754 MB / 330.7 MB Notification: Performance of Templates: time 0.1591/0.3123, allocations: 16.57 MB / 424.4 MB, free: 58.66 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=480 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.HeatingOfAlcohol.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.541955230990425]