Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.001522/0.001522, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001943/0.001943, allocations: 211.6 kB / 22.24 MB, free: 5.262 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.464/1.464, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.1413/0.1413, allocations: 23.99 MB / 336.4 MB, free: 10.94 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/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_master_Chemical.Obsolete.Examples.HeatingOfAlcohol") translateModel(Chemical.Obsolete.Examples.HeatingOfAlcohol,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_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.002045/0.002045, allocations: 71.88 kB / 471.8 MB, free: 6.863 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3093/0.3113, allocations: 59.89 MB / 0.5192 GB, free: 9.734 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.HeatingOfAlcohol): time 0.00479/0.3161, allocations: 3.918 MB / 0.523 GB, free: 7.098 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008271/0.3244, allocations: 7.701 MB / 0.5306 GB, free: 1.859 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004723/0.3249, allocations: 9.75 kB / 0.5306 GB, free: 1.855 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005329/0.3254, allocations: 173.9 kB / 0.5307 GB, free: 1.766 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001716/0.3271, allocations: 0.7797 MB / 0.5315 GB, free: 1.301 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00233/0.3294, allocations: 1.03 MB / 0.5325 GB, free: 0.6914 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00102/0.3305, allocations: 0.8825 MB / 0.5334 GB, free: 260 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005004/0.331, allocations: 419.9 kB / 0.5338 GB, free: 60 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005179/0.3315, allocations: 454.6 kB / 0.5342 GB, free: 15.89 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000614/0.3321, allocations: 428.6 kB / 0.5346 GB, free: 15.75 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001147/0.3322, allocations: 80.34 kB / 0.5347 GB, free: 15.74 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002084/0.3343, allocations: 0.8584 MB / 0.5355 GB, free: 15.56 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001831/0.3345, allocations: 171.7 kB / 0.5357 GB, free: 15.45 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003888/0.3349, allocations: 350.2 kB / 0.536 GB, free: 15.28 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003121/0.338, allocations: 1.843 MB / 0.5378 GB, free: 14.49 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.338, allocations: 0 / 0.5378 GB, free: 14.49 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.338, allocations: 1.375 kB / 0.5378 GB, free: 14.49 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.245e-05/0.338, allocations: 0 / 0.5378 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.002044/0.34, allocations: 1.085 MB / 0.5389 GB, free: 13.79 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.256e-05/0.3401, allocations: 13.03 kB / 0.5389 GB, free: 13.78 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006115/0.3407, allocations: 156.3 kB / 0.539 GB, free: 13.73 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007817/0.3415, allocations: 398.7 kB / 0.5394 GB, free: 13.46 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.83e-05/0.3415, allocations: 55.12 kB / 0.5395 GB, free: 13.43 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001148/0.3416, allocations: 71.22 kB / 0.5395 GB, free: 13.41 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001222/0.3428, allocations: 0.7547 MB / 0.5403 GB, free: 13.09 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.791e-05/0.3429, allocations: 4 kB / 0.5403 GB, free: 13.09 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.769e-05/0.3429, allocations: 26.56 kB / 0.5403 GB, free: 13.07 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.62e-05/0.343, allocations: 16.64 kB / 0.5403 GB, free: 13.07 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00135/0.3443, allocations: 0.8615 MB / 0.5412 GB, free: 12.82 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.003375/0.3477, allocations: 1.772 MB / 0.5429 GB, free: 11.82 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001525/0.3492, allocations: 0.8078 MB / 0.5437 GB, free: 11.5 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004145/0.3496, allocations: 255.1 kB / 0.5439 GB, free: 11.39 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003462/0.3531, allocations: 1.526 MB / 0.5454 GB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.359e-05/0.3531, allocations: 41.88 kB / 0.5454 GB, free: 10.64 MB / 398.1 MB Notification: Performance of pre-optimization done (n=42): time 1.894e-06/0.3531, allocations: 0 / 0.5454 GB, free: 10.64 MB / 398.1 MB Notification: Performance of matching and sorting (n=56): time 0.01444/0.3676, allocations: 2.649 MB / 0.548 GB, free: 9.293 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.387e-05/0.3676, allocations: 61.69 kB / 0.5481 GB, free: 9.227 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004669/0.3681, allocations: 391.9 kB / 0.5485 GB, free: 8.977 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.399e-05/0.3681, allocations: 35.98 kB / 0.5485 GB, free: 8.938 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002592/0.3684, allocations: 375.7 kB / 0.5489 GB, free: 8.605 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001854/0.3686, allocations: 206.2 kB / 0.5491 GB, free: 8.426 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002171/0.3688, allocations: 148.2 kB / 0.5492 GB, free: 8.332 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001772/0.369, allocations: 366.1 kB / 0.5495 GB, free: 7.977 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003594/0.3693, allocations: 206.3 kB / 0.5497 GB, free: 7.879 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005565/0.3699, allocations: 458.8 kB / 0.5502 GB, free: 7.453 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001004/0.3709, allocations: 0.7175 MB / 0.5509 GB, free: 6.879 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/0.3709, allocations: 5.312 kB / 0.5509 GB, free: 6.875 MB / 398.1 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.004228/0.3751, allocations: 1.129 MB / 0.552 GB, free: 6.281 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.226e-05/0.3751, allocations: 12.44 kB / 0.552 GB, free: 6.277 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.305e-05/0.3752, allocations: 8.25 kB / 0.552 GB, free: 6.277 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003313/0.3785, allocations: 445 kB / 0.5524 GB, free: 6.074 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004708/0.3789, allocations: 163.1 kB / 0.5526 GB, free: 6.035 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007567/0.3865, allocations: 4.353 MB / 0.5568 GB, free: 2.273 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005676/0.3871, allocations: 25.22 kB / 0.5569 GB, free: 2.262 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.963e-05/0.3872, allocations: 45.58 kB / 0.5569 GB, free: 2.25 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.0003699/0.3875, allocations: 211.4 kB / 0.5571 GB, free: 2.051 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001261/0.3876, allocations: 55.73 kB / 0.5572 GB, free: 1.996 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005079/0.3927, allocations: 1.079 MB / 0.5582 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.007e-05/0.3927, allocations: 8 kB / 0.5582 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.3927, allocations: 0 / 0.5582 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.148e-05/0.3928, allocations: 3.984 kB / 0.5582 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006/0.3988, allocations: 1.624 MB / 0.5598 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.532e-06/0.3988, allocations: 4 kB / 0.5598 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003181/0.3991, allocations: 87.91 kB / 0.5599 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004304/0.4034, allocations: 0.5137 MB / 0.5604 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.632e-05/0.4034, allocations: 24 kB / 0.5604 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008319/0.4118, allocations: 5.509 MB / 0.5658 GB, free: 8.75 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.332e-06/0.4118, allocations: 7.938 kB / 0.5658 GB, free: 8.742 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005517/0.4173, allocations: 1.395 MB / 0.5672 GB, free: 7.297 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001977/0.4175, allocations: 55.61 kB / 0.5672 GB, free: 7.242 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.72e-05/0.4176, allocations: 12 kB / 0.5672 GB, free: 7.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003389/0.4179, allocations: 16.22 kB / 0.5673 GB, free: 7.215 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001351/0.418, allocations: 64.33 kB / 0.5673 GB, free: 7.152 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.391e-05/0.4181, allocations: 27.94 kB / 0.5673 GB, free: 7.125 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003199/0.4184, allocations: 247.2 kB / 0.5676 GB, free: 6.883 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4184, allocations: 0 / 0.5676 GB, free: 6.883 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0016/0.42, allocations: 403.1 kB / 0.568 GB, free: 6.488 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.0009685/0.421, allocations: 478 kB / 0.5684 GB, free: 6.012 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001724/0.4227, allocations: 0.8655 MB / 0.5693 GB, free: 5.117 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.4227, allocations: 0 / 0.5693 GB, free: 5.117 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001106/0.4238, allocations: 0.7022 MB / 0.57 GB, free: 4.379 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007801/0.4246, allocations: 143.7 kB / 0.5701 GB, free: 4.242 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002289/0.4269, allocations: 1.335 MB / 0.5714 GB, free: 2.859 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003159/0.4272, allocations: 301.5 kB / 0.5717 GB, free: 2.539 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000422/0.4276, allocations: 120.7 kB / 0.5718 GB, free: 2.418 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001846/0.4278, allocations: 94.03 kB / 0.5719 GB, free: 2.328 MB / 414.1 MB Notification: Performance of SimCode: time 4.81e-07/0.4278, allocations: 4 kB / 0.5719 GB, free: 2.324 MB / 414.1 MB Notification: Performance of Templates: time 0.02755/0.4554, allocations: 17.34 MB / 0.5888 GB, free: 1.129 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.HeatingOfAlcohol.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.HeatingOfAlcohol.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.HeatingOfAlcohol.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.HeatingOfAlcohol.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.HeatingOfAlcohol.sim & ./Chemical_master_Chemical.Obsolete.Examples.HeatingOfAlcohol -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.HeatingOfAlcohol.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.452105760574341] Failed to read output from testmodel.py, exit status != 0: 0.464521624147892 0.478072043 0.13710197400000002 Calling exit ...