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.001052/0.001052, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001949/0.001949, allocations: 177 kB / 23.36 MB, free: 1.129 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.002/1.002, allocations: 177.1 MB / 203.8 MB, free: 5.477 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.1063/0.1063, allocations: 17.46 MB / 277.7 MB, free: 11.44 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.272e-06/1.272e-06, allocations: 0 / 300.7 MB, free: 1.723 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.995e-05/2.122e-05, allocations: 3.219 kB / 300.7 MB, free: 1.719 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.HeatingOfAlcohol): time 0.004186/0.004207, allocations: 4.256 MB / 305 MB, free: 14.88 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.007946/0.01215, allocations: 8.557 MB / 313.5 MB, free: 7.27 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004164/0.01257, allocations: 15.88 kB / 313.5 MB, free: 7.254 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004776/0.01305, allocations: 174.5 kB / 313.7 MB, free: 7.082 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001654/0.0147, allocations: 0.8183 MB / 314.5 MB, free: 6.258 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001933/0.01663, allocations: 1.06 MB / 315.6 MB, free: 5.191 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008193/0.01745, allocations: 0.9118 MB / 316.5 MB, free: 4.273 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004495/0.0179, allocations: 450.8 kB / 316.9 MB, free: 3.832 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005421/0.01845, allocations: 0.6122 MB / 317.6 MB, free: 3.219 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004287/0.01887, allocations: 407 kB / 318 MB, free: 2.82 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 8.454e-05/0.01896, allocations: 76 kB / 318 MB, free: 2.746 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001419/0.02038, allocations: 0.8616 MB / 318.9 MB, free: 1.883 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001379/0.02052, allocations: 187.3 kB / 319.1 MB, free: 1.699 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002204/0.02074, allocations: 295.4 kB / 319.4 MB, free: 1.41 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0022/0.02294, allocations: 1.646 MB / 321 MB, free: 15.76 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.174e-06/0.02294, allocations: 0 / 321 MB, free: 15.76 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.873e-06/0.02294, allocations: 0 / 321 MB, free: 15.76 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.225e-05/0.02296, allocations: 0 / 321 MB, free: 15.76 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.001222/0.02418, allocations: 1.071 MB / 322.1 MB, free: 14.66 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.954e-05/0.02421, allocations: 8.031 kB / 322.1 MB, free: 14.65 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004382/0.02465, allocations: 239.9 kB / 322.3 MB, free: 14.41 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004058/0.02505, allocations: 325.2 kB / 322.6 MB, free: 14.07 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.21e-05/0.02508, allocations: 58.38 kB / 322.7 MB, free: 14.02 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.38e-05/0.02516, allocations: 72.31 kB / 322.8 MB, free: 13.95 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004931/0.02565, allocations: 0.5676 MB / 323.3 MB, free: 13.37 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.02566, allocations: 192 / 323.3 MB, free: 13.37 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.783e-05/0.0257, allocations: 28.38 kB / 323.4 MB, free: 13.34 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.247e-05/0.02571, allocations: 19.94 kB / 323.4 MB, free: 13.32 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004624/0.02618, allocations: 457.6 kB / 323.8 MB, free: 12.88 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.001815/0.02799, allocations: 1.441 MB / 325.3 MB, free: 11.39 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007739/0.02877, allocations: 0.7672 MB / 326 MB, free: 10.62 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001444/0.02891, allocations: 139.3 kB / 326.2 MB, free: 10.47 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00186/0.03077, allocations: 1.362 MB / 327.5 MB, free: 9.098 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.324e-05/0.03079, allocations: 46.48 kB / 327.6 MB, free: 9.043 MB / 298.7 MB Notification: Performance of pre-optimization done (n=42): time 1.683e-06/0.0308, allocations: 0 / 327.6 MB, free: 9.043 MB / 298.7 MB Notification: Performance of matching and sorting (n=56): time 0.006412/0.03721, allocations: 2.304 MB / 329.9 MB, free: 6.695 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.073e-05/0.03724, allocations: 55.91 kB / 329.9 MB, free: 6.625 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000209/0.03745, allocations: 367 kB / 330.3 MB, free: 6.25 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.908e-05/0.03748, allocations: 33.7 kB / 330.3 MB, free: 6.211 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001274/0.0376, allocations: 340.7 kB / 330.7 MB, free: 5.875 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001044/0.03771, allocations: 214.2 kB / 330.9 MB, free: 5.664 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001308/0.03784, allocations: 142.5 kB / 331 MB, free: 5.52 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.056e-05/0.03793, allocations: 362.7 kB / 331.4 MB, free: 5.156 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001109/0.03804, allocations: 110.7 kB / 331.5 MB, free: 5.043 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002104/0.03825, allocations: 366 kB / 331.8 MB, free: 4.578 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003831/0.03863, allocations: 0.5323 MB / 332.4 MB, free: 3.934 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.03864, allocations: 7.938 kB / 332.4 MB, free: 3.926 MB / 298.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001607/0.04025, allocations: 0.7963 MB / 333.2 MB, free: 3.117 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.04026, allocations: 8 kB / 333.2 MB, free: 3.109 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/0.04028, allocations: 8 kB / 333.2 MB, free: 3.102 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002416/0.04269, allocations: 0.6314 MB / 333.8 MB, free: 2.465 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002658/0.04296, allocations: 155.7 kB / 334 MB, free: 2.312 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003183/0.04614, allocations: 3.402 MB / 337.4 MB, free: 14.73 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000253/0.04639, allocations: 28 kB / 337.4 MB, free: 14.71 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.777e-05/0.04644, allocations: 31.98 kB / 337.4 MB, free: 14.68 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.0001729/0.04662, allocations: 172.3 kB / 337.6 MB, free: 14.5 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.441e-05/0.0467, allocations: 51.95 kB / 337.6 MB, free: 14.45 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001951/0.04865, allocations: 0.7923 MB / 338.4 MB, free: 13.64 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.109e-06/0.04866, allocations: 8 kB / 338.4 MB, free: 13.64 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.04866, allocations: 3.938 kB / 338.5 MB, free: 13.63 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/0.04867, allocations: 7.922 kB / 338.5 MB, free: 13.62 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002306/0.05097, allocations: 1.189 MB / 339.6 MB, free: 12.37 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/0.05098, allocations: 4 kB / 339.7 MB, free: 12.37 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001676/0.05115, allocations: 88.12 kB / 339.7 MB, free: 12.28 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002677/0.05382, allocations: 0.7778 MB / 340.5 MB, free: 11.5 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.64e-05/0.05386, allocations: 19.98 kB / 340.5 MB, free: 11.48 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003523/0.05738, allocations: 4.535 MB / 345.1 MB, free: 6.68 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.05739, allocations: 11.91 kB / 345.1 MB, free: 6.668 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001992/0.05938, allocations: 0.9502 MB / 346 MB, free: 5.672 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.209e-05/0.05945, allocations: 47.61 kB / 346.1 MB, free: 5.625 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.196e-05/0.05949, allocations: 16 kB / 346.1 MB, free: 5.609 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001441/0.05964, allocations: 12 kB / 346.1 MB, free: 5.598 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.758e-05/0.05974, allocations: 64.33 kB / 346.2 MB, free: 5.535 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.296e-05/0.05977, allocations: 19.98 kB / 346.2 MB, free: 5.516 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001253/0.05989, allocations: 136.7 kB / 346.3 MB, free: 5.379 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.05989, allocations: 0 / 346.3 MB, free: 5.379 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0009929/0.06089, allocations: 399.1 kB / 346.7 MB, free: 4.988 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.0006379/0.06152, allocations: 486.2 kB / 347.2 MB, free: 4.504 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000857/0.06238, allocations: 0.6956 MB / 347.9 MB, free: 3.785 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.364e-05/0.0624, allocations: 8.562 kB / 347.9 MB, free: 3.777 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007482/0.06314, allocations: 0.6452 MB / 348.5 MB, free: 3.09 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004379/0.06358, allocations: 151.1 kB / 348.7 MB, free: 2.949 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.001772/0.06535, allocations: 1.217 MB / 349.9 MB, free: 1.68 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001044/0.06546, allocations: 147.2 kB / 350 MB, free: 1.512 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002677/0.06573, allocations: 126.1 kB / 350.2 MB, free: 1.395 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002762/0.066, allocations: 225.5 kB / 350.4 MB, free: 1.176 MB / 314.7 MB Notification: Performance of SimCode: time 9.32e-07/0.066, allocations: 0 / 350.4 MB, free: 1.176 MB / 314.7 MB Notification: Performance of Templates: time 0.02076/0.08676, allocations: 18.71 MB / 369.1 MB, free: 14.59 MB / 346.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.342649614904076]