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.001612/0.001612, allocations: 92.42 kB / 19.7 MB, free: 2.137 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.002201/0.002201, allocations: 211.8 kB / 23 MB, free: 4.953 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.568/1.568, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.1642/0.1642, allocations: 23.86 MB / 337.1 MB, free: 10.98 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.002036/0.002036, allocations: 67.91 kB / 472.4 MB, free: 7.027 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3929/0.395, allocations: 59.86 MB / 0.5197 GB, free: 9.801 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.HeatingOfAlcohol): time 0.006872/0.4018, allocations: 3.905 MB / 0.5236 GB, free: 7.18 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01352/0.4154, allocations: 7.709 MB / 0.5311 GB, free: 1.934 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001147/0.4165, allocations: 13 kB / 0.5311 GB, free: 1.926 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000914/0.4174, allocations: 168.1 kB / 0.5313 GB, free: 1.84 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003679/0.4211, allocations: 0.7856 MB / 0.532 GB, free: 1.371 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004475/0.4256, allocations: 1.026 MB / 0.533 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002261/0.4278, allocations: 0.8779 MB / 0.5339 GB, free: 340 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008584/0.4287, allocations: 424 kB / 0.5343 GB, free: 136 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008497/0.4296, allocations: 457.1 kB / 0.5347 GB, free: 15.96 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001172/0.4307, allocations: 484.3 kB / 0.5352 GB, free: 15.77 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001959/0.4309, allocations: 76.81 kB / 0.5353 GB, free: 15.77 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00491/0.4358, allocations: 0.8763 MB / 0.5361 GB, free: 15.56 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003533/0.4362, allocations: 180.7 kB / 0.5363 GB, free: 15.45 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007411/0.4369, allocations: 344.7 kB / 0.5366 GB, free: 15.28 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005577/0.4425, allocations: 1.838 MB / 0.5384 GB, free: 14.5 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.223e-06/0.4425, allocations: 4 kB / 0.5384 GB, free: 14.49 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.895e-06/0.4425, allocations: 0 / 0.5384 GB, free: 14.49 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.107e-05/0.4425, allocations: 1.375 kB / 0.5384 GB, free: 14.49 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.003593/0.4461, allocations: 1.092 MB / 0.5395 GB, free: 13.78 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.373e-05/0.4462, allocations: 10.19 kB / 0.5395 GB, free: 13.78 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001171/0.4473, allocations: 151.3 kB / 0.5396 GB, free: 13.73 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001697/0.449, allocations: 414.5 kB / 0.54 GB, free: 13.44 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.882e-05/0.4491, allocations: 50.84 kB / 0.5401 GB, free: 13.42 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002159/0.4493, allocations: 68.11 kB / 0.5401 GB, free: 13.4 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002248/0.4516, allocations: 0.7586 MB / 0.5409 GB, free: 13.08 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.755e-05/0.4516, allocations: 0 / 0.5409 GB, free: 13.08 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001221/0.4517, allocations: 28.94 kB / 0.5409 GB, free: 13.06 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.904e-05/0.4518, allocations: 22.16 kB / 0.5409 GB, free: 13.05 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002736/0.4545, allocations: 0.858 MB / 0.5418 GB, free: 12.81 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.006747/0.4612, allocations: 1.77 MB / 0.5435 GB, free: 11.8 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002904/0.4642, allocations: 0.8083 MB / 0.5443 GB, free: 11.49 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007734/0.4649, allocations: 248.9 kB / 0.5445 GB, free: 11.39 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006625/0.4716, allocations: 1.532 MB / 0.546 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.434e-05/0.4716, allocations: 40.72 kB / 0.5461 GB, free: 10.63 MB / 398.1 MB Notification: Performance of pre-optimization done (n=42): time 3.256e-06/0.4716, allocations: 0 / 0.5461 GB, free: 10.63 MB / 398.1 MB Notification: Performance of matching and sorting (n=56): time 0.02595/0.4976, allocations: 2.651 MB / 0.5487 GB, free: 9.309 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.676e-05/0.4976, allocations: 61.97 kB / 0.5487 GB, free: 9.242 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008351/0.4985, allocations: 392.9 kB / 0.5491 GB, free: 8.988 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001322/0.4986, allocations: 39.08 kB / 0.5491 GB, free: 8.945 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004362/0.499, allocations: 371.3 kB / 0.5495 GB, free: 8.617 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003341/0.4994, allocations: 210.9 kB / 0.5497 GB, free: 8.434 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003339/0.4997, allocations: 140 kB / 0.5498 GB, free: 8.348 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001945/0.4999, allocations: 369.6 kB / 0.5502 GB, free: 7.988 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003781/0.5003, allocations: 203.3 kB / 0.5504 GB, free: 7.895 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006065/0.5009, allocations: 461.5 kB / 0.5508 GB, free: 7.469 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001043/0.5019, allocations: 0.7215 MB / 0.5515 GB, free: 6.891 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.711e-06/0.5019, allocations: 2.219 kB / 0.5515 GB, free: 6.891 MB / 398.1 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.004433/0.5064, allocations: 1.129 MB / 0.5526 GB, free: 6.297 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.552e-05/0.5064, allocations: 11.88 kB / 0.5526 GB, free: 6.297 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.744e-05/0.5064, allocations: 8.25 kB / 0.5526 GB, free: 6.297 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003305/0.5097, allocations: 444.3 kB / 0.553 GB, free: 6.094 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005491/0.5103, allocations: 163.2 kB / 0.5532 GB, free: 6.055 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007629/0.5179, allocations: 4.36 MB / 0.5575 GB, free: 2.285 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006549/0.5186, allocations: 26.06 kB / 0.5575 GB, free: 2.273 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.523e-05/0.5186, allocations: 40.06 kB / 0.5575 GB, free: 2.266 MB / 398.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.0003976/0.519, allocations: 210.5 kB / 0.5577 GB, free: 2.082 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001395/0.5192, allocations: 51.39 kB / 0.5578 GB, free: 2.055 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005132/0.5243, allocations: 1.085 MB / 0.5588 GB, free: 1.031 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.786e-06/0.5243, allocations: 8 kB / 0.5588 GB, free: 1.023 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.5243, allocations: 4 kB / 0.5588 GB, free: 1.02 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.126e-05/0.5243, allocations: 3.984 kB / 0.5588 GB, free: 1.016 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006025/0.5304, allocations: 1.612 MB / 0.5604 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.913e-06/0.5304, allocations: 4 kB / 0.5604 GB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003307/0.5307, allocations: 95.89 kB / 0.5605 GB, free: 15.24 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004141/0.5348, allocations: 0.506 MB / 0.561 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.848e-05/0.5349, allocations: 23.98 kB / 0.561 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008249/0.5432, allocations: 5.513 MB / 0.5664 GB, free: 8.875 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.678e-06/0.5432, allocations: 3.938 kB / 0.5664 GB, free: 8.871 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00552/0.5487, allocations: 1.399 MB / 0.5678 GB, free: 7.422 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002309/0.5489, allocations: 55.64 kB / 0.5678 GB, free: 7.367 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.89e-05/0.549, allocations: 12.11 kB / 0.5679 GB, free: 7.355 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003318/0.5493, allocations: 19.94 kB / 0.5679 GB, free: 7.336 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001544/0.5495, allocations: 64.33 kB / 0.5679 GB, free: 7.273 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.957e-05/0.5495, allocations: 27.98 kB / 0.568 GB, free: 7.246 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003136/0.5499, allocations: 243.2 kB / 0.5682 GB, free: 7.008 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5499, allocations: 0 / 0.5682 GB, free: 7.008 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001637/0.5515, allocations: 403.1 kB / 0.5686 GB, free: 6.613 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.0009107/0.5524, allocations: 470.4 kB / 0.569 GB, free: 6.145 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001749/0.5541, allocations: 0.8655 MB / 0.5699 GB, free: 5.25 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.5542, allocations: 0 / 0.5699 GB, free: 5.25 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00118/0.5553, allocations: 0.706 MB / 0.5706 GB, free: 4.508 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008368/0.5562, allocations: 145.6 kB / 0.5707 GB, free: 4.371 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002509/0.5587, allocations: 1.361 MB / 0.572 GB, free: 2.957 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003432/0.559, allocations: 305.5 kB / 0.5723 GB, free: 2.633 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002776/0.5593, allocations: 122.3 kB / 0.5724 GB, free: 2.516 MB / 414.1 MB Notification: Performance of SimCode: time 6.91e-07/0.5593, allocations: 0 / 0.5724 GB, free: 2.516 MB / 414.1 MB Notification: Performance of Templates: time 0.02367/0.583, allocations: 17.78 MB / 0.5898 GB, free: 0.7812 MB / 430.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: 9.630517224024516] Failed to read output from testmodel.py, exit status != 0: 0.5929009529645555 0.60677609 0.16090746 Calling exit ...