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.001399/0.001399, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001557/0.001557, allocations: 214.7 kB / 22.99 MB, free: 4.945 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.491/1.491, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.1503/0.1503, allocations: 23.89 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.00211/0.00211, allocations: 67.91 kB / 472.4 MB, free: 7.027 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3225/0.3246, allocations: 59.85 MB / 0.5197 GB, free: 9.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.HeatingOfAlcohol): time 0.0048/0.3294, allocations: 3.911 MB / 0.5236 GB, free: 7.121 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008577/0.338, allocations: 7.712 MB / 0.5311 GB, free: 1.875 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005961/0.3386, allocations: 13.66 kB / 0.5311 GB, free: 1.867 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006357/0.3392, allocations: 170.1 kB / 0.5313 GB, free: 1.781 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002156/0.3414, allocations: 0.7792 MB / 0.532 GB, free: 1.316 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002879/0.3443, allocations: 1.026 MB / 0.533 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00133/0.3456, allocations: 0.8856 MB / 0.5339 GB, free: 276 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005802/0.3462, allocations: 412.4 kB / 0.5343 GB, free: 84 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006072/0.3468, allocations: 455.1 kB / 0.5347 GB, free: 15.92 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007255/0.3475, allocations: 432.5 kB / 0.5351 GB, free: 15.77 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001327/0.3476, allocations: 80.19 kB / 0.5352 GB, free: 15.77 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002811/0.3505, allocations: 0.8482 MB / 0.536 GB, free: 15.59 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002273/0.3507, allocations: 185.5 kB / 0.5362 GB, free: 15.47 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004494/0.3511, allocations: 342.5 kB / 0.5365 GB, free: 15.3 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004215/0.3553, allocations: 1.838 MB / 0.5383 GB, free: 14.52 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.3554, allocations: 1.281 kB / 0.5383 GB, free: 14.52 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3554, allocations: 0 / 0.5383 GB, free: 14.52 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.557e-05/0.3554, allocations: 0.75 kB / 0.5383 GB, free: 14.52 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.00242/0.3578, allocations: 1.1 MB / 0.5394 GB, free: 13.8 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.3578, allocations: 9.625 kB / 0.5394 GB, free: 13.8 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006798/0.3585, allocations: 148.9 kB / 0.5396 GB, free: 13.75 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009391/0.3594, allocations: 410.5 kB / 0.54 GB, free: 13.47 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.812e-05/0.3595, allocations: 53.25 kB / 0.54 GB, free: 13.45 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001322/0.3596, allocations: 68.38 kB / 0.5401 GB, free: 13.42 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001363/0.361, allocations: 0.7583 MB / 0.5408 GB, free: 13.11 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.362e-05/0.361, allocations: 5.188 kB / 0.5408 GB, free: 13.1 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.345e-05/0.3611, allocations: 29.91 kB / 0.5408 GB, free: 13.08 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.639e-05/0.3611, allocations: 15.62 kB / 0.5409 GB, free: 13.08 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001532/0.3626, allocations: 0.8629 MB / 0.5417 GB, free: 12.83 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.00382/0.3665, allocations: 1.761 MB / 0.5434 GB, free: 11.83 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001652/0.3681, allocations: 0.8111 MB / 0.5442 GB, free: 11.52 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004242/0.3685, allocations: 258.2 kB / 0.5445 GB, free: 11.41 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003892/0.3724, allocations: 1.528 MB / 0.546 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.753e-05/0.3725, allocations: 40.33 kB / 0.546 GB, free: 10.65 MB / 398.1 MB Notification: Performance of pre-optimization done (n=42): time 2.665e-06/0.3725, allocations: 1.344 kB / 0.546 GB, free: 10.65 MB / 398.1 MB Notification: Performance of matching and sorting (n=56): time 0.0151/0.3876, allocations: 2.649 MB / 0.5486 GB, free: 9.312 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.614e-05/0.3876, allocations: 62.27 kB / 0.5486 GB, free: 9.246 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005418/0.3882, allocations: 391.9 kB / 0.549 GB, free: 8.996 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 8.099e-05/0.3882, allocations: 40.11 kB / 0.5491 GB, free: 8.953 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002924/0.3885, allocations: 374.4 kB / 0.5494 GB, free: 8.621 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002126/0.3888, allocations: 211.2 kB / 0.5496 GB, free: 8.438 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002397/0.389, allocations: 144.4 kB / 0.5497 GB, free: 8.348 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000195/0.3892, allocations: 361.7 kB / 0.5501 GB, free: 7.996 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003695/0.3896, allocations: 202.7 kB / 0.5503 GB, free: 7.902 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006134/0.3902, allocations: 466.1 kB / 0.5507 GB, free: 7.469 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001116/0.3913, allocations: 0.7175 MB / 0.5514 GB, free: 6.895 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.784e-06/0.3913, allocations: 2.219 kB / 0.5514 GB, free: 6.895 MB / 398.1 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.0045/0.3958, allocations: 1.129 MB / 0.5525 GB, free: 6.301 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.532e-05/0.3958, allocations: 8.375 kB / 0.5525 GB, free: 6.301 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.458e-05/0.3958, allocations: 12.47 kB / 0.5526 GB, free: 6.297 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003376/0.3992, allocations: 439.8 kB / 0.553 GB, free: 6.098 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005285/0.3997, allocations: 155.5 kB / 0.5531 GB, free: 6.066 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007829/0.4076, allocations: 4.357 MB / 0.5574 GB, free: 2.301 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00072/0.4083, allocations: 25.3 kB / 0.5574 GB, free: 2.289 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.723e-05/0.4084, allocations: 45.58 kB / 0.5574 GB, free: 2.277 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.0004035/0.4088, allocations: 206.8 kB / 0.5576 GB, free: 2.098 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001407/0.4089, allocations: 50.64 kB / 0.5577 GB, free: 2.07 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00514/0.4141, allocations: 1.094 MB / 0.5588 GB, free: 1.117 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.985e-06/0.4141, allocations: 4 kB / 0.5588 GB, free: 1.113 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.826e-06/0.4141, allocations: 8 kB / 0.5588 GB, free: 1.105 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.637e-06/0.4141, allocations: 4.078 kB / 0.5588 GB, free: 1.102 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006094/0.4202, allocations: 1.612 MB / 0.5603 GB, free: 15.42 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.414e-06/0.4202, allocations: 4 kB / 0.5604 GB, free: 15.42 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003346/0.4205, allocations: 87.89 kB / 0.5604 GB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004454/0.425, allocations: 0.5138 MB / 0.5609 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.365e-05/0.425, allocations: 20 kB / 0.561 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008715/0.4338, allocations: 5.517 MB / 0.5663 GB, free: 8.961 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/0.4338, allocations: 3.938 kB / 0.5663 GB, free: 8.957 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005734/0.4395, allocations: 1.395 MB / 0.5677 GB, free: 7.512 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003007/0.4398, allocations: 55.61 kB / 0.5678 GB, free: 7.457 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.51e-05/0.4399, allocations: 20 kB / 0.5678 GB, free: 7.438 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003548/0.4402, allocations: 12 kB / 0.5678 GB, free: 7.426 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001972/0.4404, allocations: 64.38 kB / 0.5679 GB, free: 7.363 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.205e-05/0.4405, allocations: 23.98 kB / 0.5679 GB, free: 7.34 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000384/0.4409, allocations: 251.2 kB / 0.5681 GB, free: 7.094 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4409, allocations: 0 / 0.5681 GB, free: 7.094 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001766/0.4426, allocations: 403.1 kB / 0.5685 GB, free: 6.699 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.000916/0.4436, allocations: 462.9 kB / 0.5689 GB, free: 6.238 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001757/0.4453, allocations: 0.8733 MB / 0.5698 GB, free: 5.336 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.4453, allocations: 96 / 0.5698 GB, free: 5.336 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001202/0.4465, allocations: 0.6982 MB / 0.5705 GB, free: 4.602 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008226/0.4474, allocations: 151.2 kB / 0.5706 GB, free: 4.457 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002502/0.4499, allocations: 1.365 MB / 0.572 GB, free: 3.035 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003424/0.4502, allocations: 301.5 kB / 0.5722 GB, free: 2.715 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002728/0.4505, allocations: 117.3 kB / 0.5724 GB, free: 2.605 MB / 414.1 MB Notification: Performance of SimCode: time 6.11e-07/0.4505, allocations: 0 / 0.5724 GB, free: 2.605 MB / 414.1 MB Notification: Performance of Templates: time 0.02468/0.4752, allocations: 17.78 MB / 0.5897 GB, free: 0.8711 MB / 430.1 MB " [Timeout remaining time 660] 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.344475167803466] Failed to read output from testmodel.py, exit status != 0: 0.4846759778447449 0.499633082 0.140985892 Calling exit ...