Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Obsolete.Examples.ExothermicReaction.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.001685/0.001685, allocations: 116.6 kB / 17.13 MB, free: 6.004 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.002115/0.002115, allocations: 212.7 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.646/1.646, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.1548/0.1548, allocations: 23.86 MB / 333.4 MB, free: 1.199 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.ExothermicReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.ExothermicReaction") translateModel(Chemical.Obsolete.Examples.ExothermicReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.ExothermicReaction") [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.002021/0.002021, allocations: 70.83 kB / 467.2 MB, free: 30.54 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.1166, allocations: 59.82 MB / 0.5146 GB, free: 12.46 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.ExothermicReaction): time 0.01101/0.1276, allocations: 8.627 MB / 0.5231 GB, free: 3.801 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03039/0.158, allocations: 23.37 MB / 0.5459 GB, free: 12.34 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001472/0.1595, allocations: 31.75 kB / 0.5459 GB, free: 12.3 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001757/0.1612, allocations: 0.5157 MB / 0.5464 GB, free: 11.79 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006604/0.1678, allocations: 2.021 MB / 0.5484 GB, free: 9.75 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009669/0.1775, allocations: 3.021 MB / 0.5513 GB, free: 6.711 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005356/0.1828, allocations: 2.515 MB / 0.5538 GB, free: 4.184 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002033/0.1849, allocations: 1.173 MB / 0.5549 GB, free: 2.961 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001948/0.1868, allocations: 1.247 MB / 0.5562 GB, free: 1.711 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002237/0.1891, allocations: 1.371 MB / 0.5575 GB, free: 344 kB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004018/0.1895, allocations: 216 kB / 0.5577 GB, free: 128 kB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007944/0.1974, allocations: 2.633 MB / 0.5603 GB, free: 13.49 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007379/0.1981, allocations: 0.5101 MB / 0.5608 GB, free: 12.98 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001456/0.1996, allocations: 1.093 MB / 0.5618 GB, free: 11.88 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01208/0.2117, allocations: 5.187 MB / 0.5669 GB, free: 6.672 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.2117, allocations: 3.938 kB / 0.5669 GB, free: 6.668 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.2117, allocations: 3.938 kB / 0.5669 GB, free: 6.664 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.139e-05/0.2117, allocations: 0 / 0.5669 GB, free: 6.664 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 455 * Number of variables: 455 Notification: Performance of Generate backend data structure: time 0.005592/0.2173, allocations: 2.726 MB / 0.5696 GB, free: 3.875 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.2174, allocations: 12.03 kB / 0.5696 GB, free: 3.863 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001928/0.2193, allocations: 426.9 kB / 0.57 GB, free: 3.445 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001899/0.2212, allocations: 0.9754 MB / 0.5709 GB, free: 2.426 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001938/0.2214, allocations: 191.5 kB / 0.5711 GB, free: 2.227 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003203/0.2217, allocations: 188.3 kB / 0.5713 GB, free: 2.043 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003841/0.2255, allocations: 2.082 MB / 0.5733 GB, free: 15.93 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.154e-05/0.2256, allocations: 0 / 0.5733 GB, free: 15.93 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002297/0.2258, allocations: 76 kB / 0.5734 GB, free: 15.85 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.063e-05/0.2258, allocations: 44 kB / 0.5735 GB, free: 15.81 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004526/0.2304, allocations: 2.581 MB / 0.576 GB, free: 13.23 MB / 446.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.0118/0.2422, allocations: 6.363 MB / 0.5822 GB, free: 6.645 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005394/0.2476, allocations: 2.414 MB / 0.5845 GB, free: 4.156 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001444/0.249, allocations: 0.7457 MB / 0.5853 GB, free: 3.406 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2743/0.5233, allocations: 8.076 MB / 0.5932 GB, free: 63.15 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.825e-05/0.5233, allocations: 48.78 kB / 0.5932 GB, free: 63.11 MB / 446.1 MB Notification: Performance of pre-optimization done (n=122): time 4.238e-06/0.5233, allocations: 0 / 0.5932 GB, free: 63.11 MB / 446.1 MB Notification: Performance of matching and sorting (n=150): time 0.02903/0.5524, allocations: 6.214 MB / 0.5993 GB, free: 60.66 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.54e-05/0.5524, allocations: 93.92 kB / 0.5994 GB, free: 60.57 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001649/0.5541, allocations: 0.938 MB / 0.6003 GB, free: 60.19 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000204/0.5543, allocations: 52.19 kB / 0.6003 GB, free: 60.14 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004992/0.5548, allocations: 0.856 MB / 0.6012 GB, free: 59.55 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005652/0.5553, allocations: 0.5479 MB / 0.6017 GB, free: 59.19 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006537/0.556, allocations: 376 kB / 0.6021 GB, free: 59.01 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.074e-05/0.556, allocations: 302.2 kB / 0.6023 GB, free: 58.71 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001079/0.5571, allocations: 0.528 MB / 0.6029 GB, free: 58.52 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001464/0.5586, allocations: 1.244 MB / 0.6041 GB, free: 57.4 MB / 446.1 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: solution_at_constant_temperature.temperature = solution_at_constant_temperature.temperature_start (fixedTemperature.T = solution_at_constant_temperature.temperature_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002855/0.5614, allocations: 2.047 MB / 0.6061 GB, free: 55.8 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.173e-05/0.5615, allocations: 6.469 kB / 0.6061 GB, free: 55.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.00905/0.5705, allocations: 2.531 MB / 0.6086 GB, free: 54.84 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.564e-05/0.5706, allocations: 15.12 kB / 0.6086 GB, free: 54.84 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.126e-05/0.5707, allocations: 23.38 kB / 0.6086 GB, free: 54.84 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005798/0.5765, allocations: 0.7029 MB / 0.6093 GB, free: 54.71 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002356/0.5788, allocations: 0.5256 MB / 0.6098 GB, free: 54.66 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01109/0.5899, allocations: 8.263 MB / 0.6179 GB, free: 47.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001905/0.5918, allocations: 79.2 kB / 0.6179 GB, free: 47.46 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003679/0.5922, allocations: 114.3 kB / 0.618 GB, free: 47.44 MB / 446.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: solution_at_constant_temperature.temperature = solution_at_constant_temperature.temperature_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 107 * 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 (241): * Single equations (assignments): 237 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(3,6,77.8%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.001072/0.5932, allocations: 386.5 kB / 0.6184 GB, free: 47.16 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005354/0.5938, allocations: 145.4 kB / 0.6186 GB, free: 47.09 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008796/0.6026, allocations: 2.465 MB / 0.621 GB, free: 45.98 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.311e-05/0.6026, allocations: 18.31 kB / 0.621 GB, free: 45.97 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.969e-05/0.6026, allocations: 2.312 kB / 0.621 GB, free: 45.97 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.962e-05/0.6026, allocations: 9.062 kB / 0.621 GB, free: 45.96 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005872/0.6085, allocations: 2.538 MB / 0.6235 GB, free: 44.24 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-05/0.6085, allocations: 3.938 kB / 0.6235 GB, free: 44.24 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00138/0.6099, allocations: 314.8 kB / 0.6238 GB, free: 44.17 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006226/0.6161, allocations: 0.748 MB / 0.6245 GB, free: 43.81 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001893/0.6163, allocations: 39.83 kB / 0.6245 GB, free: 43.79 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0105/0.6268, allocations: 9.492 MB / 0.6338 GB, free: 34.82 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.283e-06/0.6268, allocations: 4.984 kB / 0.6338 GB, free: 34.82 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008767/0.6356, allocations: 2.809 MB / 0.6366 GB, free: 32.68 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004606/0.6361, allocations: 212.1 kB / 0.6368 GB, free: 32.45 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003364/0.6364, allocations: 35.94 kB / 0.6368 GB, free: 32.41 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001037/0.6374, allocations: 28 kB / 0.6368 GB, free: 32.39 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003256/0.6378, allocations: 121 kB / 0.6369 GB, free: 32.27 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001024/0.6379, allocations: 55.92 kB / 0.637 GB, free: 32.21 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007833/0.6387, allocations: 0.6342 MB / 0.6376 GB, free: 31.57 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.6387, allocations: 0 / 0.6376 GB, free: 31.57 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003489/0.6421, allocations: 1.068 MB / 0.6386 GB, free: 30.55 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 7 (A1.logn,B1.logn,H2O.logn,A.logn,B.logn,H2O1.amountOfBonds,H2O1.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 (137): * Single equations (assignments): 132 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (2,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,3), (1,1), (2,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002282/0.6444, allocations: 1.126 MB / 0.6397 GB, free: 29.55 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003492/0.6479, allocations: 1.994 MB / 0.6417 GB, free: 27.52 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.6479, allocations: 0 / 0.6417 GB, free: 27.52 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001858/0.6498, allocations: 1.301 MB / 0.643 GB, free: 26.15 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002166/0.6519, allocations: 320.4 kB / 0.6433 GB, free: 25.85 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005559/0.6575, allocations: 3.088 MB / 0.6463 GB, free: 22.72 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006989/0.6582, allocations: 1.26 MB / 0.6475 GB, free: 21.43 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000634/0.6588, allocations: 271.6 kB / 0.6478 GB, free: 21.16 MB / 446.1 MB Notification: Performance of SimCode: time 1.352e-06/0.6588, allocations: 3.938 kB / 0.6478 GB, free: 21.16 MB / 446.1 MB Notification: Performance of Templates: time 0.06595/0.7248, allocations: 57.62 MB / 0.704 GB, free: 11.62 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f Chemical_Chemical.Obsolete.Examples.ExothermicReaction.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.ExothermicReaction.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.ExothermicReaction.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.ExothermicReaction.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.ExothermicReaction.sim & ./Chemical_Chemical.Obsolete.Examples.ExothermicReaction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.ExothermicReaction.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 12.15828052299912] Failed to read output from testmodel.py, exit status != 0: 0.7336079420056194 0.747354027 0.532424175 Calling exit ...