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.001276/0.001276, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001353/0.001353, allocations: 218.8 kB / 22.25 MB, free: 5.117 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.354/1.354, allocations: 230.6 MB / 256 MB, free: 7.992 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.1301/0.1301, allocations: 23.85 MB / 336.3 MB, free: 11.19 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.001978/0.001978, allocations: 67.91 kB / 471.6 MB, free: 7.215 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2731/0.2751, allocations: 59.85 MB / 0.519 GB, free: 9.832 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.HeatingOfAlcohol): time 0.004371/0.2795, allocations: 4.321 MB / 0.5233 GB, free: 6.781 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007836/0.2873, allocations: 8.771 MB / 0.5318 GB, free: 412 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004777/0.2878, allocations: 13.31 kB / 0.5318 GB, free: 404 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000525/0.2883, allocations: 181.2 kB / 0.532 GB, free: 304 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001882/0.2902, allocations: 0.7966 MB / 0.5328 GB, free: 15.82 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002732/0.2929, allocations: 1.026 MB / 0.5338 GB, free: 15.21 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001446/0.2944, allocations: 0.8897 MB / 0.5347 GB, free: 14.77 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006054/0.295, allocations: 417.6 kB / 0.5351 GB, free: 14.57 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006368/0.2956, allocations: 458.1 kB / 0.5355 GB, free: 14.4 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007712/0.2964, allocations: 480.3 kB / 0.536 GB, free: 14.21 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001411/0.2965, allocations: 80.75 kB / 0.536 GB, free: 14.2 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002821/0.2994, allocations: 0.909 MB / 0.5369 GB, free: 13.98 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001909/0.2996, allocations: 182.3 kB / 0.5371 GB, free: 13.86 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004832/0.3, allocations: 413.2 kB / 0.5375 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003216/0.3033, allocations: 1.837 MB / 0.5393 GB, free: 12.84 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.3033, allocations: 0 / 0.5393 GB, free: 12.84 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.3033, allocations: 0 / 0.5393 GB, free: 12.84 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.234e-05/0.3033, allocations: 0 / 0.5393 GB, free: 12.84 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.002094/0.3054, allocations: 1.108 MB / 0.5404 GB, free: 12.11 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.22e-05/0.3054, allocations: 9.625 kB / 0.5404 GB, free: 12.11 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006253/0.306, allocations: 151.5 kB / 0.5405 GB, free: 12.06 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007682/0.3068, allocations: 399.4 kB / 0.5409 GB, free: 11.79 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.051e-05/0.3068, allocations: 53.41 kB / 0.541 GB, free: 11.77 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001168/0.307, allocations: 68.3 kB / 0.541 GB, free: 11.74 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00123/0.3082, allocations: 0.7538 MB / 0.5418 GB, free: 11.43 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.801e-05/0.3082, allocations: 5.094 kB / 0.5418 GB, free: 11.43 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.815e-05/0.3083, allocations: 25.5 kB / 0.5418 GB, free: 11.41 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.494e-05/0.3083, allocations: 15.5 kB / 0.5418 GB, free: 11.41 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001363/0.3097, allocations: 0.8771 MB / 0.5427 GB, free: 11.15 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.003892/0.3135, allocations: 2.31 MB / 0.5449 GB, free: 9.695 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001545/0.3151, allocations: 0.8301 MB / 0.5457 GB, free: 9.371 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004033/0.3155, allocations: 258.9 kB / 0.546 GB, free: 9.258 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003561/0.3191, allocations: 1.595 MB / 0.5475 GB, free: 8.438 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.163e-05/0.3191, allocations: 41.19 kB / 0.5476 GB, free: 8.391 MB / 398.1 MB Notification: Performance of pre-optimization done (n=42): time 2.134e-06/0.3191, allocations: 0 / 0.5476 GB, free: 8.391 MB / 398.1 MB Notification: Performance of matching and sorting (n=56): time 0.0159/0.335, allocations: 2.66 MB / 0.5502 GB, free: 6.973 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.414e-05/0.335, allocations: 58.47 kB / 0.5502 GB, free: 6.91 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005291/0.3356, allocations: 402.4 kB / 0.5506 GB, free: 6.66 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.364e-05/0.3356, allocations: 35.98 kB / 0.5506 GB, free: 6.621 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002757/0.3359, allocations: 381.5 kB / 0.551 GB, free: 6.281 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002022/0.3361, allocations: 206.4 kB / 0.5512 GB, free: 6.102 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002242/0.3363, allocations: 144.1 kB / 0.5513 GB, free: 6.012 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001873/0.3365, allocations: 366.8 kB / 0.5517 GB, free: 5.656 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003547/0.3369, allocations: 209.8 kB / 0.5519 GB, free: 5.555 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000577/0.3375, allocations: 459.9 kB / 0.5523 GB, free: 5.125 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001046/0.3385, allocations: 0.7186 MB / 0.553 GB, free: 4.543 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.96e-06/0.3385, allocations: 6.219 kB / 0.553 GB, free: 4.539 MB / 398.1 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.004728/0.3432, allocations: 1.129 MB / 0.5541 GB, free: 3.945 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.211e-05/0.3433, allocations: 9.625 kB / 0.5541 GB, free: 3.945 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.503e-05/0.3433, allocations: 8.25 kB / 0.5541 GB, free: 3.945 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003723/0.347, allocations: 447.7 kB / 0.5546 GB, free: 3.738 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005207/0.3475, allocations: 163.7 kB / 0.5547 GB, free: 3.699 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007584/0.3551, allocations: 4.439 MB / 0.5591 GB, free: 15.83 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006062/0.3557, allocations: 30.05 kB / 0.5591 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.066e-05/0.3558, allocations: 44.16 kB / 0.5591 GB, free: 15.8 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.0003454/0.3561, allocations: 210.7 kB / 0.5593 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001321/0.3563, allocations: 60.88 kB / 0.5594 GB, free: 15.58 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005506/0.3618, allocations: 1.083 MB / 0.5605 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.173e-06/0.3618, allocations: 4 kB / 0.5605 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.283e-05/0.3618, allocations: 4 kB / 0.5605 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.528e-06/0.3618, allocations: 3.984 kB / 0.5605 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006585/0.3684, allocations: 1.779 MB / 0.5622 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/0.3684, allocations: 0 / 0.5622 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003358/0.3687, allocations: 99.83 kB / 0.5623 GB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004798/0.3735, allocations: 0.5021 MB / 0.5628 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.691e-05/0.3736, allocations: 23.98 kB / 0.5628 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00864/0.3822, allocations: 5.655 MB / 0.5683 GB, free: 6.297 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/0.3822, allocations: 7.969 kB / 0.5683 GB, free: 6.289 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005868/0.3881, allocations: 1.395 MB / 0.5697 GB, free: 4.844 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000163/0.3882, allocations: 59.66 kB / 0.5698 GB, free: 4.785 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.828e-05/0.3883, allocations: 16 kB / 0.5698 GB, free: 4.77 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003577/0.3887, allocations: 12 kB / 0.5698 GB, free: 4.758 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001314/0.3888, allocations: 60.33 kB / 0.5698 GB, free: 4.699 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.029e-05/0.3889, allocations: 27.98 kB / 0.5699 GB, free: 4.672 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003263/0.3892, allocations: 271.1 kB / 0.5701 GB, free: 4.406 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3892, allocations: 0 / 0.5701 GB, free: 4.406 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0015/0.3907, allocations: 407.1 kB / 0.5705 GB, free: 4.008 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.0008997/0.3916, allocations: 474.2 kB / 0.571 GB, free: 3.535 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001667/0.3933, allocations: 0.8612 MB / 0.5718 GB, free: 2.645 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.3933, allocations: 3.938 kB / 0.5718 GB, free: 2.641 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001159/0.3944, allocations: 0.6986 MB / 0.5725 GB, free: 1.906 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008289/0.3953, allocations: 137.1 kB / 0.5726 GB, free: 1.773 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002301/0.3976, allocations: 1.343 MB / 0.5739 GB, free: 392 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005671/0.3981, allocations: 0.8952 MB / 0.5748 GB, free: 15.46 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004214/0.3985, allocations: 128.8 kB / 0.5749 GB, free: 15.33 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001895/0.3987, allocations: 97.88 kB / 0.575 GB, free: 15.24 MB / 430.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3987, allocations: 0 / 0.575 GB, free: 15.24 MB / 430.1 MB Notification: Performance of Templates: time 0.02796/0.4267, allocations: 16.92 MB / 0.5916 GB, free: 14.37 MB / 446.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: 5.219854287803173] Failed to read output from testmodel.py, exit status != 0: 0.43552628601901233 0.44967753400000005 0.143326179 Calling exit ...