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.002052/0.002052, allocations: 103 kB / 16.45 MB, free: 6.449 MB / 14.72 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.002253/0.002253, allocations: 206.4 kB / 19.42 MB, free: 3.641 MB / 14.72 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: 230.5 MB / 252.8 MB, free: 8.984 MB / 206.1 MB " [Timeout remaining time 178] 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.1429/0.1429, allocations: 23.86 MB / 332.7 MB, free: 12.35 MB / 270.1 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: Chemical requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002087/0.002087, allocations: 70.39 kB / 466.5 MB, free: 9.609 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3433/0.3454, allocations: 59.82 MB / 0.5139 GB, free: 9.18 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.HeatingOfAlcohol): time 0.005236/0.3506, allocations: 4.293 MB / 0.5181 GB, free: 6.27 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.009803/0.3604, allocations: 8.755 MB / 0.5267 GB, free: 15.89 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007329/0.3612, allocations: 13.31 kB / 0.5267 GB, free: 15.89 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007991/0.362, allocations: 181.7 kB / 0.5269 GB, free: 15.79 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002412/0.3644, allocations: 0.7927 MB / 0.5276 GB, free: 15.3 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003093/0.3675, allocations: 1.01 MB / 0.5286 GB, free: 14.71 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001428/0.3689, allocations: 0.8905 MB / 0.5295 GB, free: 14.26 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006337/0.3695, allocations: 420.4 kB / 0.5299 GB, free: 14.05 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005862/0.3701, allocations: 454.6 kB / 0.5303 GB, free: 13.89 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007077/0.3708, allocations: 484.2 kB / 0.5308 GB, free: 13.69 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001219/0.3709, allocations: 77.06 kB / 0.5309 GB, free: 13.69 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003401/0.3743, allocations: 0.9088 MB / 0.5318 GB, free: 13.46 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002245/0.3746, allocations: 177.4 kB / 0.5319 GB, free: 13.35 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005254/0.3751, allocations: 413.6 kB / 0.5323 GB, free: 13.11 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00384/0.3789, allocations: 1.836 MB / 0.5341 GB, free: 12.33 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.3789, allocations: 0.6094 kB / 0.5341 GB, free: 12.33 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.123e-06/0.3789, allocations: 9.156 kB / 0.5341 GB, free: 12.32 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.233e-05/0.379, allocations: 0 / 0.5341 GB, free: 12.32 MB / 398.1 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.002392/0.3814, allocations: 1.171 MB / 0.5353 GB, free: 11.51 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.3814, allocations: 13.19 kB / 0.5353 GB, free: 11.51 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007123/0.3821, allocations: 150.4 kB / 0.5354 GB, free: 11.46 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000854/0.383, allocations: 458.3 kB / 0.5359 GB, free: 11.12 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.374e-05/0.383, allocations: 54.09 kB / 0.5359 GB, free: 11.1 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001348/0.3832, allocations: 64.72 kB / 0.536 GB, free: 11.08 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001381/0.3845, allocations: 0.7616 MB / 0.5367 GB, free: 10.76 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.791e-05/0.3846, allocations: 0 / 0.5367 GB, free: 10.76 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.73e-05/0.3846, allocations: 29.62 kB / 0.5367 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.711e-05/0.3846, allocations: 16.75 kB / 0.5368 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001469/0.3861, allocations: 0.8725 MB / 0.5376 GB, free: 10.48 MB / 398.1 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.004239/0.3904, allocations: 2.348 MB / 0.5399 GB, free: 9.012 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001794/0.3921, allocations: 0.9876 MB / 0.5409 GB, free: 8.492 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004639/0.3926, allocations: 253.2 kB / 0.5411 GB, free: 8.391 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004742/0.3974, allocations: 2.852 MB / 0.5439 GB, free: 6.125 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.303e-05/0.3974, allocations: 41.03 kB / 0.5439 GB, free: 6.078 MB / 398.1 MB Notification: Performance of pre-optimization done (n=42): time 2.205e-06/0.3974, allocations: 0 / 0.5439 GB, free: 6.078 MB / 398.1 MB Notification: Performance of matching and sorting (n=56): time 0.01694/0.4143, allocations: 2.82 MB / 0.5467 GB, free: 4.613 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.568e-05/0.4144, allocations: 61.78 kB / 0.5467 GB, free: 4.547 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006921/0.4151, allocations: 406.6 kB / 0.5471 GB, free: 4.293 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001194/0.4152, allocations: 35.83 kB / 0.5472 GB, free: 4.254 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003669/0.4156, allocations: 378.1 kB / 0.5475 GB, free: 3.918 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002316/0.4158, allocations: 206.6 kB / 0.5477 GB, free: 3.738 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002432/0.416, allocations: 144.1 kB / 0.5479 GB, free: 3.652 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0003036/0.4163, allocations: 366.2 kB / 0.5482 GB, free: 3.297 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004027/0.4167, allocations: 206.6 kB / 0.5484 GB, free: 3.195 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006362/0.4174, allocations: 459 kB / 0.5488 GB, free: 2.766 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001269/0.4187, allocations: 0.72 MB / 0.5496 GB, free: 2.18 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.667e-06/0.4187, allocations: 2.875 kB / 0.5496 GB, free: 2.18 MB / 398.1 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.005093/0.4238, allocations: 1.135 MB / 0.5507 GB, free: 1.582 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.031e-05/0.4238, allocations: 8.719 kB / 0.5507 GB, free: 1.582 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.189e-05/0.4238, allocations: 8.375 kB / 0.5507 GB, free: 1.582 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003813/0.4276, allocations: 451.9 kB / 0.5511 GB, free: 1.371 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006561/0.4283, allocations: 155 kB / 0.5513 GB, free: 1.34 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009242/0.4375, allocations: 4.642 MB / 0.5558 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008465/0.4384, allocations: 30.19 kB / 0.5558 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001236/0.4385, allocations: 44.27 kB / 0.5559 GB, free: 13.19 MB / 414.1 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.0004283/0.4389, allocations: 211.2 kB / 0.5561 GB, free: 13.01 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001734/0.4391, allocations: 56 kB / 0.5561 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005682/0.4448, allocations: 1.074 MB / 0.5572 GB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.918e-06/0.4448, allocations: 5.969 kB / 0.5572 GB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.033e-05/0.4448, allocations: 5.484 kB / 0.5572 GB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.173e-05/0.4448, allocations: 7.938 kB / 0.5572 GB, free: 12.35 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006741/0.4516, allocations: 1.809 MB / 0.559 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.705e-06/0.4516, allocations: 1.656 kB / 0.559 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003831/0.4519, allocations: 94.2 kB / 0.559 GB, free: 11.08 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004861/0.4568, allocations: 0.5084 MB / 0.5595 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001438/0.4569, allocations: 26.86 kB / 0.5596 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01047/0.4674, allocations: 5.963 MB / 0.5654 GB, free: 4.668 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/0.4674, allocations: 0 / 0.5654 GB, free: 4.668 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006142/0.4736, allocations: 1.401 MB / 0.5668 GB, free: 3.219 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000302/0.4739, allocations: 128.7 kB / 0.5669 GB, free: 3.074 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.876e-05/0.4739, allocations: 12 kB / 0.5669 GB, free: 3.062 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000359/0.4743, allocations: 16.03 kB / 0.5669 GB, free: 3.047 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001986/0.4745, allocations: 68.36 kB / 0.567 GB, free: 2.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.977e-05/0.4746, allocations: 24 kB / 0.567 GB, free: 2.957 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003824/0.4749, allocations: 271.1 kB / 0.5673 GB, free: 2.699 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4749, allocations: 0 / 0.5673 GB, free: 2.699 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001906/0.4768, allocations: 403.1 kB / 0.5676 GB, free: 2.305 MB / 414.1 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.00107/0.4779, allocations: 466 kB / 0.5681 GB, free: 1.836 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002017/0.4799, allocations: 0.8773 MB / 0.5689 GB, free: 0.9336 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.4799, allocations: 0 / 0.5689 GB, free: 0.9336 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001262/0.4812, allocations: 0.6987 MB / 0.5696 GB, free: 204 kB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008233/0.482, allocations: 140.7 kB / 0.5698 GB, free: 68 kB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002498/0.4845, allocations: 1.338 MB / 0.5711 GB, free: 14.68 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006868/0.4852, allocations: 0.8952 MB / 0.5719 GB, free: 13.75 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004091/0.4856, allocations: 132.5 kB / 0.5721 GB, free: 13.62 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001939/0.4858, allocations: 94.52 kB / 0.5722 GB, free: 13.54 MB / 430.1 MB Notification: Performance of SimCode: time 4.71e-07/0.4858, allocations: 0 / 0.5722 GB, free: 13.54 MB / 430.1 MB Notification: Performance of Templates: time 0.02873/0.5145, allocations: 16.38 MB / 0.5881 GB, free: 13.22 MB / 446.1 MB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.HeatingOfAlcohol.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.821708653122187] Failed to read output from testmodel.py, exit status != 0: 0.5239276587963104 0.537153161 0.15513210000000002 Calling exit ...