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.001405/0.001405, 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.001915/0.001915, allocations: 210.9 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.521/1.521, allocations: 230.6 MB / 256 MB, free: 7.789 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.1482/0.1482, allocations: 23.89 MB / 336.3 MB, free: 10.94 MB / 270.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.002295/0.002295, allocations: 67.88 kB / 471.6 MB, free: 6.992 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3119/0.3142, allocations: 59.86 MB / 0.519 GB, free: 9.734 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.ExothermicReaction): time 0.009617/0.3238, allocations: 7.594 MB / 0.5264 GB, free: 4.691 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02755/0.3514, allocations: 20.51 MB / 0.5465 GB, free: 6.699 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001686/0.3531, allocations: 30.22 kB / 0.5465 GB, free: 6.684 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001586/0.3547, allocations: 483.6 kB / 0.5469 GB, free: 6.434 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007088/0.3618, allocations: 2.037 MB / 0.5489 GB, free: 5.188 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01051/0.3723, allocations: 3.055 MB / 0.5519 GB, free: 3.148 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004845/0.3771, allocations: 2.508 MB / 0.5544 GB, free: 1.641 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001973/0.3791, allocations: 1.135 MB / 0.5555 GB, free: 0.793 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002072/0.3812, allocations: 1.255 MB / 0.5567 GB, free: 208 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002729/0.3839, allocations: 1.233 MB / 0.5579 GB, free: 15.52 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004852/0.3844, allocations: 214.9 kB / 0.5581 GB, free: 15.52 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009205/0.3936, allocations: 2.463 MB / 0.5605 GB, free: 14.71 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009687/0.3946, allocations: 0.5104 MB / 0.561 GB, free: 14.29 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002003/0.3966, allocations: 0.927 MB / 0.5619 GB, free: 13.71 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01391/0.4105, allocations: 5.175 MB / 0.567 GB, free: 8.516 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.4105, allocations: 0 / 0.567 GB, free: 8.516 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.4105, allocations: 0 / 0.567 GB, free: 8.516 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.397e-05/0.4105, allocations: 4 kB / 0.567 GB, free: 8.512 MB / 414.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.00545/0.416, allocations: 2.647 MB / 0.5696 GB, free: 5.82 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.539e-05/0.416, allocations: 8.031 kB / 0.5696 GB, free: 5.812 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001905/0.4179, allocations: 430.9 kB / 0.57 GB, free: 5.391 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001933/0.4199, allocations: 0.9021 MB / 0.5709 GB, free: 4.461 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002318/0.4201, allocations: 247 kB / 0.5711 GB, free: 4.195 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003165/0.4204, allocations: 180.3 kB / 0.5713 GB, free: 4.02 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003638/0.4241, allocations: 2.086 MB / 0.5733 GB, free: 1.902 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.91e-05/0.4241, allocations: 4 kB / 0.5733 GB, free: 1.898 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001689/0.4243, allocations: 72 kB / 0.5734 GB, free: 1.828 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.975e-05/0.4243, allocations: 44 kB / 0.5734 GB, free: 1.785 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004212/0.4285, allocations: 2.565 MB / 0.5759 GB, free: 15.21 MB / 430.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.01054/0.439, allocations: 5.125 MB / 0.5809 GB, free: 9.988 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004966/0.444, allocations: 2.164 MB / 0.583 GB, free: 7.805 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001274/0.4453, allocations: 0.7416 MB / 0.5838 GB, free: 7.055 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01006/0.4553, allocations: 4.179 MB / 0.5879 GB, free: 2.852 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.057e-05/0.4554, allocations: 47.5 kB / 0.5879 GB, free: 2.797 MB / 430.1 MB Notification: Performance of pre-optimization done (n=122): time 3.467e-06/0.4554, allocations: 0 / 0.5879 GB, free: 2.797 MB / 430.1 MB Notification: Performance of matching and sorting (n=150): time 0.02694/0.4823, allocations: 5.819 MB / 0.5936 GB, free: 12.9 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.034e-05/0.4824, allocations: 98.36 kB / 0.5937 GB, free: 12.79 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001329/0.4838, allocations: 0.8562 MB / 0.5945 GB, free: 11.91 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002029/0.484, allocations: 53.7 kB / 0.5946 GB, free: 11.85 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006952/0.4847, allocations: 0.8628 MB / 0.5954 GB, free: 10.97 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005549/0.4852, allocations: 0.5384 MB / 0.5959 GB, free: 10.43 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006041/0.4858, allocations: 375.5 kB / 0.5963 GB, free: 10.05 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002053/0.486, allocations: 361.9 kB / 0.5966 GB, free: 9.695 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001041/0.4871, allocations: 0.5311 MB / 0.5972 GB, free: 9.16 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001697/0.4888, allocations: 1.239 MB / 0.5984 GB, free: 7.582 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.003358/0.4921, allocations: 1.973 MB / 0.6003 GB, free: 5.281 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-05/0.4921, allocations: 8 kB / 0.6003 GB, free: 5.273 MB / 446.1 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.008783/0.5009, allocations: 2.53 MB / 0.6028 GB, free: 2.723 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.2e-05/0.501, allocations: 16 kB / 0.6028 GB, free: 2.707 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.246e-05/0.501, allocations: 24 kB / 0.6028 GB, free: 2.684 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005648/0.5067, allocations: 0.6941 MB / 0.6035 GB, free: 1.977 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002472/0.5092, allocations: 0.5304 MB / 0.604 GB, free: 1.445 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01351/0.5227, allocations: 7.681 MB / 0.6115 GB, free: 9.352 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001551/0.5242, allocations: 71.95 kB / 0.6116 GB, free: 9.281 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003567/0.5246, allocations: 116 kB / 0.6117 GB, free: 9.168 MB / 462.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.001024/0.5256, allocations: 381 kB / 0.612 GB, free: 8.785 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005187/0.5261, allocations: 131.2 kB / 0.6122 GB, free: 8.656 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008948/0.5351, allocations: 2.477 MB / 0.6146 GB, free: 6.121 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.931e-05/0.5351, allocations: 15.98 kB / 0.6146 GB, free: 6.105 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.041e-05/0.5351, allocations: 7.938 kB / 0.6146 GB, free: 6.098 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.295e-05/0.5351, allocations: 7.969 kB / 0.6146 GB, free: 6.09 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005777/0.5409, allocations: 2.133 MB / 0.6167 GB, free: 3.879 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.706e-06/0.5409, allocations: 0 / 0.6167 GB, free: 3.879 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001481/0.5424, allocations: 315.5 kB / 0.617 GB, free: 3.57 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006404/0.5488, allocations: 0.7456 MB / 0.6177 GB, free: 2.809 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002262/0.549, allocations: 47.97 kB / 0.6178 GB, free: 2.762 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01324/0.5622, allocations: 8.767 MB / 0.6263 GB, free: 9.484 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.991e-06/0.5623, allocations: 8.125 kB / 0.6263 GB, free: 9.477 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009541/0.5718, allocations: 2.803 MB / 0.6291 GB, free: 6.613 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000459/0.5723, allocations: 119.1 kB / 0.6292 GB, free: 6.496 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002845/0.5725, allocations: 28 kB / 0.6292 GB, free: 6.469 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009287/0.5735, allocations: 32 kB / 0.6293 GB, free: 6.438 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003593/0.5738, allocations: 129 kB / 0.6294 GB, free: 6.312 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001162/0.5739, allocations: 55.97 kB / 0.6294 GB, free: 6.258 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0008562/0.5748, allocations: 0.5527 MB / 0.63 GB, free: 5.695 MB / 478.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.5748, allocations: 0 / 0.63 GB, free: 5.695 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003771/0.5786, allocations: 1.068 MB / 0.631 GB, free: 4.625 MB / 478.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.002304/0.5809, allocations: 1.125 MB / 0.6321 GB, free: 3.484 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.004002/0.5849, allocations: 1.979 MB / 0.634 GB, free: 1.457 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/0.5849, allocations: 0 / 0.634 GB, free: 1.457 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002215/0.5871, allocations: 1.302 MB / 0.6353 GB, free: 92 kB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001625/0.5887, allocations: 310 kB / 0.6356 GB, free: 15.79 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005079/0.5938, allocations: 3.037 MB / 0.6386 GB, free: 12.7 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007917/0.5946, allocations: 0.6837 MB / 0.6392 GB, free: 11.97 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001111/0.5957, allocations: 315 kB / 0.6395 GB, free: 11.66 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004192/0.5961, allocations: 195.3 kB / 0.6397 GB, free: 11.47 MB / 494.1 MB Notification: Performance of SimCode: time 1.382e-06/0.5961, allocations: 3.938 kB / 0.6397 GB, free: 11.46 MB / 494.1 MB Notification: Performance of Templates: time 0.06278/0.6589, allocations: 39.75 MB / 0.6785 GB, free: 3.996 MB / 0.5137 GB " [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: 6.636505652219057] Failed to read output from testmodel.py, exit status != 0: 0.6683910228312016 0.6824505129999999 0.26868946600000004 Calling exit ...