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.0009376/0.0009376, allocations: 76.45 kB / 19.89 MB, free: 28 kB / 13.93 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.00081/0.00081, allocations: 169.9 kB / 23.18 MB, free: 1.387 MB / 18.57 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 0.9502/0.9502, allocations: 177.2 MB / 203.6 MB, free: 5.773 MB / 186.7 MB " [Timeout remaining time 179] 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.09172/0.09172, allocations: 17.37 MB / 277.4 MB, free: 11.89 MB / 266.7 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.0009502/0.0009502, allocations: 78.23 kB / 412.8 MB, free: 13.12 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0901/0.09105, allocations: 59.83 MB / 472.6 MB, free: 13.91 MB / 378.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.HeatingOfAlcohol): time 0.003633/0.09469, allocations: 3.904 MB / 476.5 MB, free: 9.98 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00601/0.1007, allocations: 7.716 MB / 484.3 MB, free: 2.234 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000419/0.1011, allocations: 11.88 kB / 484.3 MB, free: 2.223 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004603/0.1016, allocations: 162.6 kB / 484.4 MB, free: 2.062 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001543/0.1031, allocations: 0.7836 MB / 485.2 MB, free: 1.273 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001773/0.1049, allocations: 1.025 MB / 486.2 MB, free: 248 kB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008478/0.1057, allocations: 0.885 MB / 487.1 MB, free: 15.36 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004245/0.1062, allocations: 420.8 kB / 487.5 MB, free: 14.94 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004833/0.1066, allocations: 0.6392 MB / 488.2 MB, free: 14.3 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004027/0.1071, allocations: 430.3 kB / 488.6 MB, free: 13.88 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 7.702e-05/0.1071, allocations: 76 kB / 488.7 MB, free: 13.8 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00145/0.1086, allocations: 0.8539 MB / 489.5 MB, free: 12.95 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001525/0.1087, allocations: 179.4 kB / 489.7 MB, free: 12.77 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000249/0.109, allocations: 350.5 kB / 490 MB, free: 12.43 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002269/0.1112, allocations: 1.844 MB / 491.9 MB, free: 10.57 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.1113, allocations: 0 / 491.9 MB, free: 10.57 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1113, allocations: 0 / 491.9 MB, free: 10.57 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.392e-05/0.1113, allocations: 0 / 491.9 MB, free: 10.57 MB / 394.7 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.001329/0.1126, allocations: 1.104 MB / 493 MB, free: 9.434 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.1126, allocations: 8.031 kB / 493 MB, free: 9.426 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003939/0.113, allocations: 152.1 kB / 493.1 MB, free: 9.277 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005311/0.1136, allocations: 401.8 kB / 493.5 MB, free: 8.859 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.772e-05/0.1136, allocations: 54.38 kB / 493.6 MB, free: 8.809 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.702e-05/0.1137, allocations: 64.38 kB / 493.7 MB, free: 8.746 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008025/0.1145, allocations: 0.7628 MB / 494.4 MB, free: 7.969 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/0.1145, allocations: 3.938 kB / 494.4 MB, free: 7.965 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.501e-05/0.1145, allocations: 24 kB / 494.4 MB, free: 7.941 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.025e-05/0.1145, allocations: 16 kB / 494.5 MB, free: 7.926 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009/0.1154, allocations: 0.8628 MB / 495.3 MB, free: 7.066 MB / 394.7 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.002324/0.1178, allocations: 1.774 MB / 497.1 MB, free: 5.242 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009705/0.1187, allocations: 0.7992 MB / 497.9 MB, free: 4.438 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002635/0.119, allocations: 259.2 kB / 498.1 MB, free: 4.176 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001933/0.1209, allocations: 1.52 MB / 499.7 MB, free: 2.637 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.177e-05/0.121, allocations: 42.34 kB / 499.7 MB, free: 2.586 MB / 394.7 MB Notification: Performance of pre-optimization done (n=42): time 2.144e-06/0.121, allocations: 0 / 499.7 MB, free: 2.586 MB / 394.7 MB Notification: Performance of matching and sorting (n=56): time 0.007371/0.1283, allocations: 2.66 MB / 0.4906 GB, free: 15.88 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.313e-05/0.1284, allocations: 55.91 kB / 0.4906 GB, free: 15.82 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003183/0.1287, allocations: 393.6 kB / 0.491 GB, free: 15.43 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.47e-05/0.1287, allocations: 33.7 kB / 0.4911 GB, free: 15.39 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001559/0.1289, allocations: 380 kB / 0.4914 GB, free: 15.02 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001105/0.129, allocations: 210.2 kB / 0.4916 GB, free: 14.81 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001488/0.1291, allocations: 146.6 kB / 0.4918 GB, free: 14.66 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001008/0.1292, allocations: 362.7 kB / 0.4921 GB, free: 14.29 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002439/0.1295, allocations: 201.9 kB / 0.4923 GB, free: 14.1 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003477/0.1298, allocations: 474.1 kB / 0.4928 GB, free: 13.52 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006359/0.1305, allocations: 0.7121 MB / 0.4934 GB, free: 12.7 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.858e-06/0.1305, allocations: 4 kB / 0.4934 GB, free: 12.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002258/0.1327, allocations: 1.127 MB / 0.4946 GB, free: 11.55 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.1327, allocations: 8 kB / 0.4946 GB, free: 11.54 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/0.1328, allocations: 8 kB / 0.4946 GB, free: 11.54 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001642/0.1344, allocations: 445.8 kB / 0.495 GB, free: 11.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002658/0.1347, allocations: 159.7 kB / 0.4951 GB, free: 10.94 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004996/0.1397, allocations: 4.353 MB / 0.4994 GB, free: 6.375 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003839/0.14, allocations: 36.05 kB / 0.4994 GB, free: 6.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.365e-05/0.1401, allocations: 36 kB / 0.4995 GB, free: 6.305 MB / 410.7 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.0002619/0.1404, allocations: 205.6 kB / 0.4997 GB, free: 6.094 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.465e-05/0.1404, allocations: 55.67 kB / 0.4997 GB, free: 6.039 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002608/0.1431, allocations: 1.097 MB / 0.5008 GB, free: 4.93 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.007e-06/0.1431, allocations: 8 kB / 0.5008 GB, free: 4.922 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.1431, allocations: 0 / 0.5008 GB, free: 4.922 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.113e-05/0.1431, allocations: 3.984 kB / 0.5008 GB, free: 4.918 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003198/0.1463, allocations: 1.62 MB / 0.5024 GB, free: 3.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.202e-06/0.1463, allocations: 0 / 0.5024 GB, free: 3.23 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002121/0.1465, allocations: 91.98 kB / 0.5025 GB, free: 3.141 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002055/0.1486, allocations: 0.5059 MB / 0.503 GB, free: 2.625 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.457e-05/0.1486, allocations: 23.98 kB / 0.503 GB, free: 2.602 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004956/0.1536, allocations: 5.517 MB / 0.5084 GB, free: 12.77 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/0.1536, allocations: 7.969 kB / 0.5084 GB, free: 12.77 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002884/0.1565, allocations: 1.387 MB / 0.5097 GB, free: 11.33 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000111/0.1566, allocations: 55.75 kB / 0.5098 GB, free: 11.28 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.369e-05/0.1566, allocations: 15.94 kB / 0.5098 GB, free: 11.26 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001708/0.1568, allocations: 12 kB / 0.5098 GB, free: 11.25 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001231/0.1569, allocations: 64.33 kB / 0.5099 GB, free: 11.18 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.536e-05/0.1569, allocations: 27.98 kB / 0.5099 GB, free: 11.16 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002094/0.1572, allocations: 247.2 kB / 0.5101 GB, free: 10.91 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1572, allocations: 0 / 0.5101 GB, free: 10.91 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0009833/0.1581, allocations: 403.1 kB / 0.5105 GB, free: 10.52 MB / 426.7 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.0006509/0.1588, allocations: 473.9 kB / 0.511 GB, free: 10.05 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001147/0.1599, allocations: 0.8577 MB / 0.5118 GB, free: 9.168 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.1599, allocations: 0 / 0.5118 GB, free: 9.168 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006748/0.1606, allocations: 0.706 MB / 0.5125 GB, free: 8.426 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005643/0.1612, allocations: 150.3 kB / 0.5126 GB, free: 8.285 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001636/0.1628, allocations: 1.329 MB / 0.5139 GB, free: 6.902 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002232/0.163, allocations: 297.6 kB / 0.5142 GB, free: 6.586 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003041/0.1633, allocations: 131.7 kB / 0.5143 GB, free: 6.457 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001239/0.1635, allocations: 95.25 kB / 0.5144 GB, free: 6.367 MB / 426.7 MB Notification: Performance of SimCode: time 1.092e-06/0.1635, allocations: 0 / 0.5144 GB, free: 6.367 MB / 426.7 MB Notification: Performance of Templates: time 0.01827/0.1817, allocations: 16.53 MB / 0.5306 GB, free: 5.961 MB / 442.7 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 -s cvode -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.HeatingOfAlcohol.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 3.536143106990494] Failed to read output from testmodel.py, exit status != 0: 0.3534129969775677 0.197164835 0.08400147100000001 Calling exit ...