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.001737/0.001737, allocations: 112.4 kB / 17.13 MB, free: 6.008 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.002023/0.002023, allocations: 211.2 kB / 20.1 MB, free: 3.055 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.51/1.51, allocations: 230.6 MB / 253.5 MB, free: 15.07 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.1395/0.1395, allocations: 23.9 MB / 333.4 MB, free: 1.156 MB / 254.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.002093/0.002093, allocations: 65.12 kB / 467.2 MB, free: 30.47 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09511/0.0972, allocations: 59.84 MB / 0.5147 GB, free: 12.39 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.HeatingOfAlcohol): time 0.006047/0.1032, allocations: 4.292 MB / 0.5189 GB, free: 8.07 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0113/0.1145, allocations: 8.752 MB / 0.5274 GB, free: 15.28 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004733/0.115, allocations: 11.94 kB / 0.5275 GB, free: 15.27 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005575/0.1156, allocations: 186.5 kB / 0.5276 GB, free: 15.09 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002025/0.1176, allocations: 0.7915 MB / 0.5284 GB, free: 14.29 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002595/0.1202, allocations: 1.006 MB / 0.5294 GB, free: 13.28 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001182/0.1214, allocations: 0.885 MB / 0.5302 GB, free: 12.39 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000546/0.1219, allocations: 420.2 kB / 0.5306 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005463/0.1225, allocations: 450.8 kB / 0.5311 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000649/0.1231, allocations: 486.3 kB / 0.5315 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001136/0.1232, allocations: 76 kB / 0.5316 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002322/0.1256, allocations: 0.9049 MB / 0.5325 GB, free: 10.07 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002258/0.1258, allocations: 187.4 kB / 0.5327 GB, free: 9.883 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004026/0.1262, allocations: 414.1 kB / 0.5331 GB, free: 9.477 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002965/0.1292, allocations: 1.836 MB / 0.5349 GB, free: 7.633 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.1292, allocations: 0 / 0.5349 GB, free: 7.633 MB / 398.1 MB Notification: Performance of FrontEnd: time 8.51e-07/0.1292, allocations: 0 / 0.5349 GB, free: 7.633 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.588e-06/0.1292, allocations: 0 / 0.5349 GB, free: 7.633 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.002221/0.1314, allocations: 1.176 MB / 0.536 GB, free: 6.402 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.1314, allocations: 8.031 kB / 0.536 GB, free: 6.395 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006713/0.1321, allocations: 156.3 kB / 0.5362 GB, free: 6.242 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000844/0.1329, allocations: 467.6 kB / 0.5366 GB, free: 5.75 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.836e-05/0.133, allocations: 50.38 kB / 0.5367 GB, free: 5.703 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001286/0.1331, allocations: 72.38 kB / 0.5367 GB, free: 5.633 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001326/0.1344, allocations: 0.755 MB / 0.5375 GB, free: 4.863 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.477e-05/0.1345, allocations: 3.938 kB / 0.5375 GB, free: 4.859 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.446e-05/0.1345, allocations: 32 kB / 0.5375 GB, free: 4.828 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.718e-05/0.1345, allocations: 16 kB / 0.5375 GB, free: 4.812 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001566/0.1361, allocations: 0.8706 MB / 0.5384 GB, free: 3.945 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.004049/0.1402, allocations: 2.35 MB / 0.5407 GB, free: 1.465 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001792/0.142, allocations: 0.9727 MB / 0.5416 GB, free: 456 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004387/0.1424, allocations: 255 kB / 0.5419 GB, free: 196 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004352/0.1467, allocations: 2.86 MB / 0.5447 GB, free: 13 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.499e-05/0.1468, allocations: 42.33 kB / 0.5447 GB, free: 12.95 MB / 414.1 MB Notification: Performance of pre-optimization done (n=42): time 2.244e-06/0.1468, allocations: 0 / 0.5447 GB, free: 12.95 MB / 414.1 MB Notification: Performance of matching and sorting (n=56): time 0.01604/0.1628, allocations: 2.8 MB / 0.5474 GB, free: 10.07 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.068e-05/0.1629, allocations: 55.97 kB / 0.5475 GB, free: 10 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005647/0.1634, allocations: 417.7 kB / 0.5479 GB, free: 9.586 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.818e-05/0.1635, allocations: 33.7 kB / 0.5479 GB, free: 9.547 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003207/0.1638, allocations: 372.2 kB / 0.5483 GB, free: 9.18 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002175/0.164, allocations: 214.2 kB / 0.5485 GB, free: 8.969 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002242/0.1642, allocations: 138.6 kB / 0.5486 GB, free: 8.828 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002501/0.1645, allocations: 370.7 kB / 0.549 GB, free: 8.457 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004338/0.1649, allocations: 201.9 kB / 0.5491 GB, free: 8.258 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005936/0.1655, allocations: 462.2 kB / 0.5496 GB, free: 7.695 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001254/0.1668, allocations: 0.7212 MB / 0.5503 GB, free: 6.859 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/0.1668, allocations: 8 kB / 0.5503 GB, free: 6.852 MB / 414.1 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.004733/0.1715, allocations: 1.129 MB / 0.5514 GB, free: 5.711 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.202e-05/0.1715, allocations: 8 kB / 0.5514 GB, free: 5.703 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.379e-05/0.1715, allocations: 12 kB / 0.5514 GB, free: 5.691 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003782/0.1753, allocations: 441.5 kB / 0.5518 GB, free: 5.254 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000497/0.1758, allocations: 163.8 kB / 0.552 GB, free: 5.094 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008138/0.184, allocations: 4.646 MB / 0.5565 GB, free: 168 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004745/0.1844, allocations: 28 kB / 0.5566 GB, free: 140 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001086/0.1845, allocations: 43.98 kB / 0.5566 GB, free: 96 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.0003211/0.1849, allocations: 209.6 kB / 0.5568 GB, free: 15.88 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001236/0.185, allocations: 55.62 kB / 0.5569 GB, free: 15.82 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005583/0.1906, allocations: 1.084 MB / 0.5579 GB, free: 14.72 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.695e-06/0.1906, allocations: 8 kB / 0.5579 GB, free: 14.71 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.1906, allocations: 48 / 0.5579 GB, free: 14.71 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.878e-06/0.1906, allocations: 7.969 kB / 0.5579 GB, free: 14.71 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006365/0.197, allocations: 1.813 MB / 0.5597 GB, free: 12.81 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/0.197, allocations: 3.984 kB / 0.5597 GB, free: 12.8 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003355/0.1973, allocations: 87.91 kB / 0.5598 GB, free: 12.72 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004625/0.2019, allocations: 0.5099 MB / 0.5603 GB, free: 12.2 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.496e-05/0.202, allocations: 16 kB / 0.5603 GB, free: 12.18 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008891/0.2109, allocations: 5.962 MB / 0.5661 GB, free: 5.797 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.641e-06/0.2109, allocations: 8.016 kB / 0.5661 GB, free: 5.789 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005669/0.2165, allocations: 1.393 MB / 0.5675 GB, free: 4.348 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001339/0.2167, allocations: 132.7 kB / 0.5676 GB, free: 4.199 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.388e-05/0.2167, allocations: 16.11 kB / 0.5676 GB, free: 4.184 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003817/0.2171, allocations: 23.94 kB / 0.5677 GB, free: 4.16 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001228/0.2173, allocations: 60.36 kB / 0.5677 GB, free: 4.102 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.199e-05/0.2173, allocations: 27.98 kB / 0.5677 GB, free: 4.074 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002947/0.2176, allocations: 263.2 kB / 0.568 GB, free: 3.824 MB / 430.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2176, allocations: 0 / 0.568 GB, free: 3.824 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001315/0.2189, allocations: 403.1 kB / 0.5684 GB, free: 3.43 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.0008219/0.2197, allocations: 486.3 kB / 0.5688 GB, free: 2.941 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00158/0.2213, allocations: 0.8658 MB / 0.5697 GB, free: 2.051 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2213, allocations: 0 / 0.5697 GB, free: 2.051 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001158/0.2225, allocations: 0.7024 MB / 0.5704 GB, free: 1.312 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007849/0.2233, allocations: 147.1 kB / 0.5705 GB, free: 1.176 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002251/0.2255, allocations: 1.363 MB / 0.5718 GB, free: 15.76 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005429/0.2261, allocations: 0.8952 MB / 0.5727 GB, free: 14.84 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002626/0.2263, allocations: 124.5 kB / 0.5728 GB, free: 14.72 MB / 446.1 MB Notification: Performance of SimCode: time 3.91e-07/0.2263, allocations: 0 / 0.5728 GB, free: 14.72 MB / 446.1 MB Notification: Performance of Templates: time 0.2113/0.4376, allocations: 17.57 MB / 0.59 GB, free: 67 MB / 446.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: 9.067224027996417] Failed to read output from testmodel.py, exit status != 0: 0.4455048160161823 0.45704877600000005 0.32524052400000003 Calling exit ...