Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Chemical_Chemical.Examples.HeatingOfAlcohol.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Chemical with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo) Running command: translateModel(Chemical.Examples.HeatingOfAlcohol,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.HeatingOfAlcohol") translateModel(Chemical.Examples.HeatingOfAlcohol,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.HeatingOfAlcohol") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo): time 0.1008/0.1008, allocations: 15.29 MB / 31.09 MB, free: 3.113 MB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001425/0.001424, allocations: 198 kB / 36.14 MB, free: 2.141 MB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.359/1.359, allocations: 222.9 MB / 264 MB, free: 4.922 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001037/0.001037, allocations: 105 kB / 318.4 MB, free: 3.418 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00099/0.0009902, allocations: 56.55 kB / 382.7 MB, free: 48.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09575/0.09676, allocations: 53.61 MB / 436.3 MB, free: 1.027 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.HeatingOfAlcohol): time 0.005473/0.1023, allocations: 4.713 MB / 441 MB, free: 12.29 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.009122/0.1114, allocations: 8.598 MB / 449.6 MB, free: 3.656 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006464/0.1121, allocations: 11.94 kB / 449.6 MB, free: 3.645 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006089/0.1127, allocations: 162.9 kB / 449.8 MB, free: 3.484 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001847/0.1146, allocations: 0.6756 MB / 450.5 MB, free: 2.805 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002435/0.1171, allocations: 0.8743 MB / 451.4 MB, free: 1.926 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009858/0.1181, allocations: 0.8538 MB / 452.2 MB, free: 1.066 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004814/0.1186, allocations: 431.6 kB / 452.6 MB, free: 0.6367 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000418/0.119, allocations: 442.7 kB / 453.1 MB, free: 208 kB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005236/0.1195, allocations: 462.4 kB / 453.5 MB, free: 15.75 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 9.178e-05/0.1196, allocations: 52 kB / 453.6 MB, free: 15.7 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002332/0.122, allocations: 0.8577 MB / 454.4 MB, free: 14.84 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001629/0.1221, allocations: 155.4 kB / 454.6 MB, free: 14.69 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003471/0.1225, allocations: 382.2 kB / 454.9 MB, free: 14.31 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00232/0.1248, allocations: 1.662 MB / 456.6 MB, free: 12.64 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.1248, allocations: 0 / 456.6 MB, free: 12.64 MB / 330.7 MB Notification: Performance of FrontEnd: time 7.82e-07/0.1249, allocations: 4 kB / 456.6 MB, free: 12.64 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.055e-06/0.1249, allocations: 4 kB / 456.6 MB, free: 12.63 MB / 330.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.001812/0.1267, allocations: 1.135 MB / 457.8 MB, free: 11.45 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.1267, allocations: 12.88 kB / 457.8 MB, free: 11.44 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005597/0.1273, allocations: 140 kB / 457.9 MB, free: 11.3 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006012/0.1279, allocations: 443.5 kB / 458.3 MB, free: 10.83 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.845e-05/0.128, allocations: 62.3 kB / 458.4 MB, free: 10.77 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000117/0.1281, allocations: 72.28 kB / 458.5 MB, free: 10.7 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001173/0.1293, allocations: 0.7589 MB / 459.2 MB, free: 9.926 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.57e-05/0.1293, allocations: 0 / 459.2 MB, free: 9.926 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.21e-05/0.1294, allocations: 24 kB / 459.2 MB, free: 9.902 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.684e-05/0.1294, allocations: 16 kB / 459.3 MB, free: 9.887 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001358/0.1308, allocations: 0.8706 MB / 460.1 MB, free: 9.016 MB / 330.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.003419/0.1342, allocations: 2.353 MB / 462.5 MB, free: 6.535 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001564/0.1358, allocations: 1.031 MB / 463.5 MB, free: 5.457 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003939/0.1362, allocations: 291 kB / 463.8 MB, free: 5.168 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003905/0.1401, allocations: 2.867 MB / 466.7 MB, free: 1.969 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.437e-05/0.1401, allocations: 42.56 kB / 466.7 MB, free: 1.918 MB / 330.7 MB Notification: Performance of pre-optimization done (n=42): time 1.953e-06/0.1402, allocations: 0 / 466.7 MB, free: 1.918 MB / 330.7 MB Notification: Performance of matching and sorting (n=56): time 0.01418/0.1543, allocations: 2.795 MB / 469.5 MB, free: 15.04 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.763e-05/0.1544, allocations: 59.97 kB / 469.6 MB, free: 14.97 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004537/0.1549, allocations: 401.8 kB / 470 MB, free: 14.57 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.441e-05/0.1549, allocations: 33.7 kB / 470 MB, free: 14.53 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002176/0.1552, allocations: 367 kB / 470.3 MB, free: 14.16 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001511/0.1553, allocations: 193.2 kB / 470.5 MB, free: 13.97 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001998/0.1555, allocations: 150.4 kB / 470.7 MB, free: 13.82 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001275/0.1557, allocations: 362.7 kB / 471 MB, free: 13.46 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003357/0.156, allocations: 209.9 kB / 471.2 MB, free: 13.25 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004675/0.1565, allocations: 465.9 kB / 471.7 MB, free: 12.69 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000897/0.1574, allocations: 0.7134 MB / 472.4 MB, free: 11.86 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/0.1574, allocations: 4 kB / 472.4 MB, free: 11.86 MB / 346.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.004321/0.1617, allocations: 1.14 MB / 473.6 MB, free: 10.7 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.317e-05/0.1618, allocations: 12 kB / 473.6 MB, free: 10.69 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/0.1618, allocations: 16.06 kB / 473.6 MB, free: 10.68 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003467/0.1652, allocations: 437.2 kB / 474 MB, free: 10.24 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004812/0.1657, allocations: 159.7 kB / 474.2 MB, free: 10.09 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006734/0.1725, allocations: 4.234 MB / 478.4 MB, free: 5.57 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006245/0.1731, allocations: 40.05 kB / 478.4 MB, free: 5.531 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.818e-05/0.1732, allocations: 43.98 kB / 478.5 MB, free: 5.488 MB / 346.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.0002951/0.1735, allocations: 209.5 kB / 478.7 MB, free: 5.273 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001138/0.1736, allocations: 51.34 kB / 478.7 MB, free: 5.223 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005191/0.1788, allocations: 1.092 MB / 479.8 MB, free: 4.113 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.105e-06/0.1789, allocations: 8 kB / 479.8 MB, free: 4.105 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.1789, allocations: 0 / 479.8 MB, free: 4.105 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.916e-06/0.1789, allocations: 4.094 kB / 479.8 MB, free: 4.102 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005889/0.1848, allocations: 1.801 MB / 481.6 MB, free: 2.215 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/0.1848, allocations: 4 kB / 481.6 MB, free: 2.211 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003254/0.1851, allocations: 91.89 kB / 481.7 MB, free: 2.121 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00444/0.1896, allocations: 0.5099 MB / 482.2 MB, free: 1.602 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.647e-05/0.1897, allocations: 23.98 kB / 482.3 MB, free: 1.578 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007661/0.1973, allocations: 5.434 MB / 487.7 MB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/0.1974, allocations: 4.031 kB / 487.7 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07578/0.2732, allocations: 16.68 MB / 0.4926 GB, free: 10.43 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001611/0.2734, allocations: 128.4 kB / 0.4927 GB, free: 10.28 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001073/0.2735, allocations: 16 kB / 0.4927 GB, free: 10.27 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000397/0.2739, allocations: 19.98 kB / 0.4927 GB, free: 10.25 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001602/0.2741, allocations: 60.42 kB / 0.4928 GB, free: 10.19 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.233e-05/0.2741, allocations: 28.06 kB / 0.4928 GB, free: 10.16 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000302/0.2744, allocations: 267.1 kB / 0.4931 GB, free: 9.902 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2744, allocations: 0 / 0.4931 GB, free: 9.902 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001873/0.2763, allocations: 0.5114 MB / 0.4936 GB, free: 9.391 MB / 378.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.0009517/0.2773, allocations: 454.9 kB / 0.494 GB, free: 8.934 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001626/0.2789, allocations: 0.8892 MB / 0.4949 GB, free: 8.02 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.2789, allocations: 0 / 0.4949 GB, free: 8.02 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001136/0.2801, allocations: 0.7299 MB / 0.4956 GB, free: 7.254 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007898/0.2809, allocations: 134.2 kB / 0.4957 GB, free: 7.121 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00404/0.2849, allocations: 2.479 MB / 0.4981 GB, free: 4.543 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005778/0.2855, allocations: 0.915 MB / 0.499 GB, free: 3.598 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005713/0.2861, allocations: 128.8 kB / 0.4991 GB, free: 3.473 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001999/0.2863, allocations: 106 kB / 0.4992 GB, free: 3.371 MB / 378.7 MB Notification: Performance of SimCode: time 4.71e-07/0.2863, allocations: 0 / 0.4992 GB, free: 3.371 MB / 378.7 MB Notification: Performance of Templates: time 0.1987/0.485, allocations: 21.35 MB / 0.5201 GB, free: 64.77 MB / 378.7 MB make -j1 -f Chemical_Chemical.Examples.HeatingOfAlcohol.makefile (rm -f Chemical_Chemical.Examples.HeatingOfAlcohol.pipe ; mkfifo Chemical_Chemical.Examples.HeatingOfAlcohol.pipe ; head -c 1048576 < Chemical_Chemical.Examples.HeatingOfAlcohol.pipe >> ../files/Chemical_Chemical.Examples.HeatingOfAlcohol.sim & ./Chemical_Chemical.Examples.HeatingOfAlcohol -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Examples.HeatingOfAlcohol.pipe 2>&1)