Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Physiolibrary_Physiolibrary.Chemical.Examples.HeatingOfAlcohol.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/package.mo", uses=false) Using package Physiolibrary with version 3.0.0-beta1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/package.mo) 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) Running command: translateModel(Physiolibrary.Chemical.Examples.HeatingOfAlcohol,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Chemical.Examples.HeatingOfAlcohol") translateModel(Physiolibrary.Chemical.Examples.HeatingOfAlcohol,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Chemical.Examples.HeatingOfAlcohol") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001168/0.001168, allocations: 183 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.285/1.285, allocations: 222.9 MB / 239.6 MB, free: 10.98 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.001038/0.001037, allocations: 112.2 kB / 289.9 MB, free: 10.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/package.mo): time 0.3191/0.3191, allocations: 36.68 MB / 376.7 MB, free: 41.47 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 63.91 kB / 446.4 MB, free: 11.83 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.1089, allocations: 58.92 MB / 0.4935 GB, free: 0.8555 MB / 378.7 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Chemical.Examples.HeatingOfAlcohol): time 0.1979/0.3068, allocations: 4.71 MB / 0.4981 GB, free: 39.95 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.007637/0.3145, allocations: 8.614 MB / 0.5065 GB, free: 34.7 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005218/0.315, allocations: 17.06 kB / 0.5065 GB, free: 34.69 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000494/0.3155, allocations: 153.3 kB / 0.5066 GB, free: 34.61 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001595/0.3172, allocations: 0.6785 MB / 0.5073 GB, free: 34.21 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00223/0.3194, allocations: 0.878 MB / 0.5082 GB, free: 33.69 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008539/0.3203, allocations: 0.8515 MB / 0.509 GB, free: 33.28 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000437/0.3207, allocations: 433.6 kB / 0.5094 GB, free: 33.11 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003454/0.3211, allocations: 436.5 kB / 0.5098 GB, free: 32.97 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003855/0.3215, allocations: 470.8 kB / 0.5103 GB, free: 32.79 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 8.377e-05/0.3216, allocations: 51.59 kB / 0.5103 GB, free: 32.79 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001994/0.3236, allocations: 0.8558 MB / 0.5112 GB, free: 32.57 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001362/0.3237, allocations: 157.6 kB / 0.5113 GB, free: 32.48 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003165/0.324, allocations: 383.7 kB / 0.5117 GB, free: 32.28 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002128/0.3262, allocations: 1.705 MB / 0.5133 GB, free: 31.57 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.3262, allocations: 0 / 0.5133 GB, free: 31.57 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.3262, allocations: 6.938 kB / 0.5133 GB, free: 31.57 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.417e-06/0.3262, allocations: 1.406 kB / 0.5133 GB, free: 31.57 MB / 378.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.001602/0.3278, allocations: 1.14 MB / 0.5145 GB, free: 30.79 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.3279, allocations: 9.469 kB / 0.5145 GB, free: 30.79 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005434/0.3284, allocations: 142.7 kB / 0.5146 GB, free: 30.75 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004994/0.3289, allocations: 452 kB / 0.515 GB, free: 30.41 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.327e-05/0.329, allocations: 55.47 kB / 0.5151 GB, free: 30.38 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001078/0.3291, allocations: 66.81 kB / 0.5152 GB, free: 30.36 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001002/0.3301, allocations: 0.7568 MB / 0.5159 GB, free: 30.04 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.555e-05/0.3301, allocations: 3.938 kB / 0.5159 GB, free: 30.04 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.775e-05/0.3302, allocations: 26.92 kB / 0.5159 GB, free: 30.02 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.387e-05/0.3302, allocations: 15.56 kB / 0.5159 GB, free: 30.02 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001107/0.3313, allocations: 0.8739 MB / 0.5168 GB, free: 29.77 MB / 378.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.002825/0.3342, allocations: 2.348 MB / 0.5191 GB, free: 28.3 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001281/0.3354, allocations: 1.02 MB / 0.5201 GB, free: 27.78 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003377/0.3358, allocations: 299.6 kB / 0.5204 GB, free: 27.66 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003038/0.3388, allocations: 2.872 MB / 0.5232 GB, free: 25.38 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.876e-05/0.3389, allocations: 43.06 kB / 0.5232 GB, free: 25.33 MB / 378.7 MB Notification: Performance of pre-optimization done (n=42): time 1.854e-06/0.3389, allocations: 0 / 0.5232 GB, free: 25.33 MB / 378.7 MB Notification: Performance of matching and sorting (n=56): time 0.01364/0.3525, allocations: 2.798 MB / 0.5259 GB, free: 24.2 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.391e-05/0.3526, allocations: 58.06 kB / 0.526 GB, free: 24.14 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003442/0.3529, allocations: 412.8 kB / 0.5264 GB, free: 23.93 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.278e-05/0.353, allocations: 29.7 kB / 0.5264 GB, free: 23.9 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001465/0.3531, allocations: 365.7 kB / 0.5268 GB, free: 23.6 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.601e-05/0.3532, allocations: 202.9 kB / 0.527 GB, free: 23.45 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001637/0.3534, allocations: 142.2 kB / 0.5271 GB, free: 23.38 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.153e-05/0.3535, allocations: 365.5 kB / 0.5274 GB, free: 23.04 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00029/0.3538, allocations: 212.3 kB / 0.5277 GB, free: 22.96 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003632/0.3541, allocations: 457.8 kB / 0.5281 GB, free: 22.56 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000711/0.3549, allocations: 0.7254 MB / 0.5288 GB, free: 21.98 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.3549, allocations: 2.969 kB / 0.5288 GB, free: 21.98 MB / 378.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.004068/0.3589, allocations: 1.134 MB / 0.5299 GB, free: 21.57 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.155e-05/0.359, allocations: 9.062 kB / 0.5299 GB, free: 21.57 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.385e-05/0.359, allocations: 14.03 kB / 0.5299 GB, free: 21.57 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003356/0.3624, allocations: 438.5 kB / 0.5303 GB, free: 21.49 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004425/0.3628, allocations: 159.1 kB / 0.5305 GB, free: 21.47 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005987/0.3688, allocations: 4.224 MB / 0.5346 GB, free: 18.01 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006934/0.3695, allocations: 42.36 kB / 0.5347 GB, free: 17.99 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.29e-05/0.3696, allocations: 44.39 kB / 0.5347 GB, free: 17.98 MB / 378.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.000288/0.3699, allocations: 209.9 kB / 0.5349 GB, free: 17.8 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001165/0.37, allocations: 53.64 kB / 0.535 GB, free: 17.77 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004989/0.375, allocations: 1.106 MB / 0.536 GB, free: 17.36 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.395e-05/0.3751, allocations: 7.266 kB / 0.536 GB, free: 17.36 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.3751, allocations: 3.125 kB / 0.536 GB, free: 17.36 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.188e-05/0.3751, allocations: 3.516 kB / 0.5361 GB, free: 17.36 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006051/0.3812, allocations: 1.815 MB / 0.5378 GB, free: 16.45 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.716e-06/0.3812, allocations: 3.094 kB / 0.5378 GB, free: 16.45 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003202/0.3815, allocations: 91.47 kB / 0.5379 GB, free: 16.43 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004349/0.3859, allocations: 0.499 MB / 0.5384 GB, free: 16.34 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-05/0.386, allocations: 22.53 kB / 0.5384 GB, free: 16.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006474/0.3925, allocations: 5.423 MB / 0.5437 GB, free: 11.6 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.3925, allocations: 1.594 kB / 0.5437 GB, free: 11.6 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07639/0.4689, allocations: 16.71 MB / 0.56 GB, free: 1.52 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001459/0.4691, allocations: 128 kB / 0.5602 GB, free: 1.391 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.057e-05/0.4692, allocations: 13.22 kB / 0.5602 GB, free: 1.383 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003848/0.4696, allocations: 21.42 kB / 0.5602 GB, free: 1.371 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001605/0.4697, allocations: 56.48 kB / 0.5602 GB, free: 1.344 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.566e-05/0.4698, allocations: 25.66 kB / 0.5603 GB, free: 1.336 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002797/0.4701, allocations: 271.5 kB / 0.5605 GB, free: 1.168 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.4701, allocations: 0 / 0.5605 GB, free: 1.168 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001895/0.472, allocations: 0.5152 MB / 0.561 GB, free: 1.062 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.0009132/0.4729, allocations: 460.9 kB / 0.5615 GB, free: 0.7891 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001536/0.4745, allocations: 0.8895 MB / 0.5623 GB, free: 248 kB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.4745, allocations: 4 kB / 0.5623 GB, free: 244 kB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001099/0.4756, allocations: 0.726 MB / 0.563 GB, free: 15.69 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008087/0.4764, allocations: 143.4 kB / 0.5632 GB, free: 15.61 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004086/0.4805, allocations: 2.478 MB / 0.5656 GB, free: 13.72 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005564/0.4811, allocations: 0.919 MB / 0.5665 GB, free: 12.92 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0006131/0.4817, allocations: 134.5 kB / 0.5666 GB, free: 12.86 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002384/0.482, allocations: 99.8 kB / 0.5667 GB, free: 12.84 MB / 394.7 MB Notification: Performance of SimCode: time 1.132e-06/0.482, allocations: 0 / 0.5667 GB, free: 12.84 MB / 394.7 MB Notification: Performance of Templates: time 0.03558/0.5176, allocations: 21.55 MB / 0.5878 GB, free: 7.648 MB / 410.7 MB make -j1 -f Physiolibrary_Physiolibrary.Chemical.Examples.HeatingOfAlcohol.makefile (rm -f Physiolibrary_Physiolibrary.Chemical.Examples.HeatingOfAlcohol.pipe ; mkfifo Physiolibrary_Physiolibrary.Chemical.Examples.HeatingOfAlcohol.pipe ; head -c 1048576 < Physiolibrary_Physiolibrary.Chemical.Examples.HeatingOfAlcohol.pipe >> ../files/Physiolibrary_Physiolibrary.Chemical.Examples.HeatingOfAlcohol.sim & ./Physiolibrary_Physiolibrary.Chemical.Examples.HeatingOfAlcohol -abortSlowSimulation -alarm=480 -lv LOG_STATS > Physiolibrary_Physiolibrary.Chemical.Examples.HeatingOfAlcohol.pipe 2>&1)