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.0007473/0.0007473, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.0009458/0.0009458, allocations: 177 kB / 23.36 MB, free: 1.133 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.009/1.009, allocations: 177.2 MB / 203.8 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] 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.09627/0.09627, allocations: 17.39 MB / 277.7 MB, free: 11.53 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.954e-06/1.954e-06, allocations: 1.312 kB / 300.7 MB, free: 1.633 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.468e-05/1.663e-05, allocations: 7.734 kB / 300.7 MB, free: 1.625 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.HeatingOfAlcohol): time 0.004689/0.004706, allocations: 4.293 MB / 305 MB, free: 14.77 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.008362/0.01307, allocations: 8.548 MB / 313.5 MB, free: 7.297 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004051/0.01347, allocations: 11.88 kB / 313.5 MB, free: 7.285 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004135/0.01389, allocations: 182.5 kB / 313.7 MB, free: 7.105 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00182/0.01571, allocations: 0.8026 MB / 314.5 MB, free: 6.297 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002356/0.01806, allocations: 1.044 MB / 315.5 MB, free: 5.246 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007558/0.01882, allocations: 0.9157 MB / 316.5 MB, free: 4.324 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003364/0.01915, allocations: 442.8 kB / 316.9 MB, free: 3.891 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004183/0.01957, allocations: 0.6122 MB / 317.5 MB, free: 3.277 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000348/0.01992, allocations: 399 kB / 317.9 MB, free: 2.887 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.826e-05/0.01999, allocations: 80 kB / 318 MB, free: 2.809 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001398/0.02139, allocations: 0.889 MB / 318.9 MB, free: 1.918 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004298/0.02182, allocations: 187.4 kB / 319 MB, free: 1.734 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000197/0.02201, allocations: 295.4 kB / 319.3 MB, free: 1.445 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001515/0.02353, allocations: 1.646 MB / 321 MB, free: 15.79 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.02353, allocations: 0 / 321 MB, free: 15.79 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.02353, allocations: 0 / 321 MB, free: 15.79 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.742e-06/0.02354, allocations: 0 / 321 MB, free: 15.79 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.001068/0.02461, allocations: 1.072 MB / 322 MB, free: 14.69 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.409e-05/0.02464, allocations: 12.03 kB / 322.1 MB, free: 14.68 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000426/0.02507, allocations: 239.9 kB / 322.3 MB, free: 14.45 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003884/0.02546, allocations: 325.2 kB / 322.6 MB, free: 14.11 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.585e-05/0.02549, allocations: 58.36 kB / 322.7 MB, free: 14.05 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.047e-05/0.02556, allocations: 68.38 kB / 322.7 MB, free: 13.98 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004961/0.02606, allocations: 0.5676 MB / 323.3 MB, free: 13.4 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.02607, allocations: 192 / 323.3 MB, free: 13.4 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.642e-05/0.02612, allocations: 24.38 kB / 323.3 MB, free: 13.38 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.439e-05/0.02613, allocations: 19.94 kB / 323.3 MB, free: 13.36 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006232/0.02676, allocations: 461.6 kB / 323.8 MB, free: 12.91 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.002264/0.02902, allocations: 1.449 MB / 325.2 MB, free: 11.42 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008674/0.02989, allocations: 0.7675 MB / 326 MB, free: 10.65 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001591/0.03005, allocations: 148.7 kB / 326.2 MB, free: 10.49 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001926/0.03197, allocations: 1.362 MB / 327.5 MB, free: 9.117 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.686e-05/0.03201, allocations: 38.34 kB / 327.6 MB, free: 9.07 MB / 298.7 MB Notification: Performance of pre-optimization done (n=42): time 2.285e-06/0.03201, allocations: 0 / 327.6 MB, free: 9.07 MB / 298.7 MB Notification: Performance of matching and sorting (n=56): time 0.006454/0.03847, allocations: 2.304 MB / 329.9 MB, free: 6.723 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.218e-05/0.03851, allocations: 59.91 kB / 329.9 MB, free: 6.648 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002886/0.0388, allocations: 363 kB / 330.3 MB, free: 6.277 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.36e-05/0.03883, allocations: 41.69 kB / 330.3 MB, free: 6.23 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001683/0.039, allocations: 344.6 kB / 330.7 MB, free: 5.891 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001347/0.03913, allocations: 206.2 kB / 330.9 MB, free: 5.688 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001491/0.03928, allocations: 146.5 kB / 331 MB, free: 5.539 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001293/0.03941, allocations: 362.7 kB / 331.3 MB, free: 5.176 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001196/0.03953, allocations: 110.7 kB / 331.5 MB, free: 5.062 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002554/0.03979, allocations: 358.1 kB / 331.8 MB, free: 4.605 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004799/0.04027, allocations: 0.5244 MB / 332.3 MB, free: 3.969 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.602e-06/0.04027, allocations: 7.938 kB / 332.3 MB, free: 3.961 MB / 298.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001754/0.04203, allocations: 0.8004 MB / 333.1 MB, free: 3.148 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.158e-05/0.04205, allocations: 8 kB / 333.1 MB, free: 3.141 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/0.04206, allocations: 8 kB / 333.2 MB, free: 3.133 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002177/0.04424, allocations: 0.6338 MB / 333.8 MB, free: 2.492 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003013/0.04454, allocations: 167.8 kB / 334 MB, free: 2.328 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003549/0.04809, allocations: 3.423 MB / 337.4 MB, free: 14.73 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003062/0.04839, allocations: 28 kB / 337.4 MB, free: 14.7 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.062e-05/0.04844, allocations: 35.98 kB / 337.4 MB, free: 14.67 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.000207/0.04865, allocations: 176.3 kB / 337.6 MB, free: 14.48 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.268e-05/0.04873, allocations: 43.95 kB / 337.7 MB, free: 14.44 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001989/0.05072, allocations: 0.7965 MB / 338.4 MB, free: 13.64 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/0.05073, allocations: 4.109 kB / 338.5 MB, free: 13.63 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.05074, allocations: 11.88 kB / 338.5 MB, free: 13.62 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.05074, allocations: 3.984 kB / 338.5 MB, free: 13.62 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002354/0.0531, allocations: 1.185 MB / 339.7 MB, free: 12.37 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.0531, allocations: 8.219 kB / 339.7 MB, free: 12.36 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001941/0.0533, allocations: 103.8 kB / 339.8 MB, free: 12.26 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002673/0.05597, allocations: 0.7673 MB / 340.5 MB, free: 11.48 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.654e-05/0.05601, allocations: 20 kB / 340.6 MB, free: 11.46 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003688/0.0597, allocations: 4.537 MB / 345.1 MB, free: 6.66 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.05971, allocations: 3.938 kB / 345.1 MB, free: 6.656 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002089/0.06179, allocations: 0.962 MB / 346.1 MB, free: 5.648 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.428e-05/0.06189, allocations: 47.61 kB / 346.1 MB, free: 5.602 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.069e-05/0.06193, allocations: 12 kB / 346.1 MB, free: 5.59 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001426/0.06207, allocations: 12 kB / 346.1 MB, free: 5.578 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001243/0.0622, allocations: 64.33 kB / 346.2 MB, free: 5.516 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.53e-05/0.06223, allocations: 19.98 kB / 346.2 MB, free: 5.496 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001313/0.06236, allocations: 136.7 kB / 346.3 MB, free: 5.359 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.06236, allocations: 4 kB / 346.3 MB, free: 5.355 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001099/0.06346, allocations: 399.1 kB / 346.7 MB, free: 4.965 MB / 314.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.0006654/0.06413, allocations: 493.8 kB / 347.2 MB, free: 4.477 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0008077/0.06493, allocations: 0.6995 MB / 347.9 MB, free: 3.754 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.69e-05/0.06495, allocations: 16.44 kB / 347.9 MB, free: 3.738 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005345/0.06549, allocations: 0.6297 MB / 348.6 MB, free: 3.066 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004391/0.06593, allocations: 151.1 kB / 348.7 MB, free: 2.926 MB / 314.7 MB Error: Error parsing unit kDa: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00185/0.06778, allocations: 1.21 MB / 349.9 MB, free: 1.664 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001315/0.06791, allocations: 155.1 kB / 350.1 MB, free: 1.488 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0003184/0.06823, allocations: 132.7 kB / 350.2 MB, free: 1.363 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002989/0.06852, allocations: 217.9 kB / 350.4 MB, free: 1.152 MB / 314.7 MB Notification: Performance of SimCode: time 2.174e-06/0.06853, allocations: 0 / 350.4 MB, free: 1.152 MB / 314.7 MB Notification: Performance of Templates: time 0.02606/0.09459, allocations: 18.71 MB / 369.1 MB, free: 14.57 MB / 346.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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.HeatingOfAlcohol.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.282035144045949]