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.001568/0.001568, allocations: 117.7 kB / 17.13 MB, free: 6.047 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.00176/0.00176, allocations: 209.8 kB / 20.09 MB, free: 3.098 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.578/1.578, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.1593/0.1593, allocations: 23.85 MB / 333.4 MB, free: 1.223 MB / 254.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.00198/0.00198, allocations: 75.48 kB / 467.1 MB, free: 30.53 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1295/0.1314, allocations: 59.84 MB / 0.5146 GB, free: 12.48 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.HeatingOfAlcohol): time 0.007492/0.1389, allocations: 4.285 MB / 0.5188 GB, free: 8.172 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01242/0.1513, allocations: 8.748 MB / 0.5274 GB, free: 15.39 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007003/0.152, allocations: 15.88 kB / 0.5274 GB, free: 15.37 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007392/0.1528, allocations: 182.5 kB / 0.5275 GB, free: 15.19 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002349/0.1551, allocations: 0.7915 MB / 0.5283 GB, free: 14.39 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002892/0.158, allocations: 1.006 MB / 0.5293 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001444/0.1595, allocations: 0.8889 MB / 0.5302 GB, free: 12.49 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006013/0.1601, allocations: 420.2 kB / 0.5306 GB, free: 12.07 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005697/0.1606, allocations: 450.8 kB / 0.531 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006444/0.1613, allocations: 482.3 kB / 0.5315 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001122/0.1614, allocations: 80 kB / 0.5315 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002761/0.1642, allocations: 0.9087 MB / 0.5324 GB, free: 10.16 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002107/0.1644, allocations: 183.4 kB / 0.5326 GB, free: 9.984 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004569/0.1648, allocations: 410.1 kB / 0.533 GB, free: 9.582 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003423/0.1683, allocations: 1.844 MB / 0.5348 GB, free: 7.73 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.1683, allocations: 0 / 0.5348 GB, free: 7.73 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.1683, allocations: 4 kB / 0.5348 GB, free: 7.727 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.14e-05/0.1683, allocations: 0 / 0.5348 GB, free: 7.727 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.002143/0.1704, allocations: 1.164 MB / 0.5359 GB, free: 6.508 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.803e-05/0.1705, allocations: 12.03 kB / 0.5359 GB, free: 6.496 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006684/0.1711, allocations: 152.1 kB / 0.5361 GB, free: 6.348 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007512/0.1719, allocations: 467.6 kB / 0.5365 GB, free: 5.855 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.248e-05/0.1719, allocations: 54.38 kB / 0.5366 GB, free: 5.805 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001329/0.1721, allocations: 68.31 kB / 0.5366 GB, free: 5.738 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001345/0.1734, allocations: 0.7551 MB / 0.5374 GB, free: 4.969 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.087e-05/0.1734, allocations: 8 kB / 0.5374 GB, free: 4.961 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.724e-05/0.1735, allocations: 27.98 kB / 0.5374 GB, free: 4.934 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.158e-05/0.1735, allocations: 19.94 kB / 0.5374 GB, free: 4.914 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001501/0.175, allocations: 0.8745 MB / 0.5383 GB, free: 4.043 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.004032/0.1791, allocations: 2.35 MB / 0.5406 GB, free: 1.562 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001793/0.1809, allocations: 0.9765 MB / 0.5415 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004364/0.1813, allocations: 243 kB / 0.5418 GB, free: 304 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004447/0.1857, allocations: 2.86 MB / 0.5446 GB, free: 13.11 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.686e-05/0.1858, allocations: 46.34 kB / 0.5446 GB, free: 13.05 MB / 414.1 MB Notification: Performance of pre-optimization done (n=42): time 2.775e-06/0.1858, allocations: 0 / 0.5446 GB, free: 13.05 MB / 414.1 MB Notification: Performance of matching and sorting (n=56): time 0.01569/0.2015, allocations: 2.801 MB / 0.5473 GB, free: 10.16 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.4e-05/0.2015, allocations: 59.97 kB / 0.5474 GB, free: 10.09 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005726/0.2021, allocations: 409.7 kB / 0.5478 GB, free: 9.688 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.225e-05/0.2022, allocations: 33.7 kB / 0.5478 GB, free: 9.648 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000291/0.2025, allocations: 372.2 kB / 0.5482 GB, free: 9.281 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002106/0.2027, allocations: 206.2 kB / 0.5484 GB, free: 9.078 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002444/0.2029, allocations: 142.6 kB / 0.5485 GB, free: 8.934 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001964/0.2031, allocations: 370.7 kB / 0.5489 GB, free: 8.562 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003972/0.2035, allocations: 205.9 kB / 0.5491 GB, free: 8.359 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006402/0.2042, allocations: 462.2 kB / 0.5495 GB, free: 7.797 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001132/0.2053, allocations: 0.7212 MB / 0.5502 GB, free: 6.961 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.2053, allocations: 4 kB / 0.5502 GB, free: 6.957 MB / 414.1 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.004719/0.21, allocations: 1.133 MB / 0.5513 GB, free: 5.812 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.814e-05/0.2101, allocations: 12.16 kB / 0.5513 GB, free: 5.801 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.643e-05/0.2101, allocations: 12 kB / 0.5513 GB, free: 5.789 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003576/0.2136, allocations: 445.1 kB / 0.5518 GB, free: 5.348 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005852/0.2142, allocations: 159.8 kB / 0.5519 GB, free: 5.191 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008313/0.2225, allocations: 4.652 MB / 0.5565 GB, free: 264 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006567/0.2232, allocations: 36.05 kB / 0.5565 GB, free: 228 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.447e-05/0.2233, allocations: 40 kB / 0.5565 GB, free: 188 kB / 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.0004256/0.2237, allocations: 209.8 kB / 0.5567 GB, free: 15.96 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001536/0.2239, allocations: 59.56 kB / 0.5568 GB, free: 15.91 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005437/0.2293, allocations: 1.073 MB / 0.5578 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.299e-05/0.2293, allocations: 8 kB / 0.5578 GB, free: 14.81 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.2293, allocations: 4 kB / 0.5579 GB, free: 14.8 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.444e-05/0.2293, allocations: 3.984 kB / 0.5579 GB, free: 14.8 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006501/0.2358, allocations: 1.801 MB / 0.5596 GB, free: 12.91 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.097e-06/0.2359, allocations: 8.219 kB / 0.5596 GB, free: 12.91 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003773/0.2362, allocations: 91.89 kB / 0.5597 GB, free: 12.82 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004604/0.2408, allocations: 0.5057 MB / 0.5602 GB, free: 12.3 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.266e-05/0.2409, allocations: 23.98 kB / 0.5602 GB, free: 12.28 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009278/0.2502, allocations: 5.961 MB / 0.566 GB, free: 5.895 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.2502, allocations: 4.031 kB / 0.5661 GB, free: 5.891 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005809/0.256, allocations: 1.389 MB / 0.5674 GB, free: 4.453 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000214/0.2562, allocations: 136.7 kB / 0.5675 GB, free: 4.301 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.881e-05/0.2563, allocations: 16.11 kB / 0.5676 GB, free: 4.285 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003551/0.2567, allocations: 15.94 kB / 0.5676 GB, free: 4.27 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001683/0.2568, allocations: 68.36 kB / 0.5676 GB, free: 4.203 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.235e-05/0.2569, allocations: 23.98 kB / 0.5677 GB, free: 4.18 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.00033/0.2572, allocations: 267.2 kB / 0.5679 GB, free: 3.926 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2572, allocations: 0 / 0.5679 GB, free: 3.926 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001459/0.2587, allocations: 403.1 kB / 0.5683 GB, free: 3.531 MB / 430.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.000917/0.2596, allocations: 481.5 kB / 0.5688 GB, free: 3.051 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001787/0.2614, allocations: 0.8696 MB / 0.5696 GB, free: 2.156 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.2614, allocations: 0 / 0.5696 GB, free: 2.156 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001202/0.2626, allocations: 0.7103 MB / 0.5703 GB, free: 1.41 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000804/0.2634, allocations: 140.5 kB / 0.5704 GB, free: 1.277 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002366/0.2658, allocations: 1.359 MB / 0.5718 GB, free: 15.87 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005932/0.2663, allocations: 0.8952 MB / 0.5726 GB, free: 14.94 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002527/0.2666, allocations: 117.2 kB / 0.5727 GB, free: 14.83 MB / 446.1 MB Notification: Performance of SimCode: time 6.51e-07/0.2666, allocations: 4 kB / 0.5727 GB, free: 14.82 MB / 446.1 MB Notification: Performance of Templates: time 0.2664/0.533, allocations: 17.58 MB / 0.5899 GB, free: 66.96 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: 9.804441682994366] Failed to read output from testmodel.py, exit status != 0: 0.5411017079895828 0.5528068939999999 0.381806141 Calling exit ...