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.0007717/0.0007717, allocations: 76.55 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007372/0.0007372, allocations: 181.9 kB / 23.22 MB, free: 1.344 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.8623/0.8623, allocations: 177.1 MB / 203.5 MB, free: 5.73 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.08601/0.08601, allocations: 17.36 MB / 277.3 MB, free: 11.84 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.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: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 412.7 MB, free: 13.09 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.209e-05/2.346e-05, allocations: 7.281 kB / 412.7 MB, free: 13.09 MB / 330.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.ExothermicReaction): time 0.005111/0.005134, allocations: 7.568 MB / 420.3 MB, free: 8.098 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01485/0.01999, allocations: 20.49 MB / 440.8 MB, free: 10.12 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007262/0.02071, allocations: 29.69 kB / 440.8 MB, free: 10.11 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008709/0.02158, allocations: 496.4 kB / 441.3 MB, free: 9.84 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003106/0.02469, allocations: 2.113 MB / 443.4 MB, free: 8.211 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005438/0.03013, allocations: 3.147 MB / 446.5 MB, free: 5.773 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001952/0.03208, allocations: 2.589 MB / 449.1 MB, free: 4.18 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001108/0.03319, allocations: 1.148 MB / 450.3 MB, free: 3.324 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001421/0.03461, allocations: 1.72 MB / 452 MB, free: 2.344 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001175/0.03578, allocations: 1.095 MB / 453.1 MB, free: 1.246 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002811/0.03606, allocations: 216 kB / 453.3 MB, free: 1.035 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004411/0.04048, allocations: 2.499 MB / 455.8 MB, free: 14.53 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00029/0.04077, allocations: 0.5178 MB / 456.3 MB, free: 14.01 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005996/0.04136, allocations: 0.7951 MB / 457.1 MB, free: 13.21 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005876/0.04724, allocations: 5.492 MB / 462.6 MB, free: 7.703 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.04724, allocations: 0 / 462.6 MB, free: 7.703 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.04725, allocations: 0 / 462.6 MB, free: 7.703 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.155e-05/0.0473, allocations: 0 / 462.6 MB, free: 7.703 MB / 362.7 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.003156/0.05045, allocations: 2.627 MB / 465.2 MB, free: 5.031 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.05049, allocations: 12.03 kB / 465.2 MB, free: 5.02 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001302/0.05179, allocations: 426.9 kB / 465.7 MB, free: 4.602 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001166/0.05296, allocations: 0.9027 MB / 466.6 MB, free: 3.676 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000139/0.0531, allocations: 246.9 kB / 466.8 MB, free: 3.41 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000197/0.0533, allocations: 188.3 kB / 467 MB, free: 3.227 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002099/0.05539, allocations: 2.082 MB / 469.1 MB, free: 1.113 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.696e-05/0.05542, allocations: 0.6875 kB / 469.1 MB, free: 1.113 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001193/0.05554, allocations: 76.12 kB / 469.1 MB, free: 1.039 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.282e-05/0.05556, allocations: 44 kB / 469.2 MB, free: 0.9961 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003292/0.05885, allocations: 2.549 MB / 471.7 MB, free: 14.45 MB / 378.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.006336/0.06519, allocations: 5.147 MB / 476.9 MB, free: 9.199 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002835/0.06803, allocations: 2.14 MB / 479 MB, free: 7.047 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007954/0.06882, allocations: 0.7422 MB / 479.8 MB, free: 6.301 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005345/0.07417, allocations: 4.175 MB / 483.9 MB, free: 2.094 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.925e-05/0.0742, allocations: 51.5 kB / 484 MB, free: 2.031 MB / 378.7 MB Notification: Performance of pre-optimization done (n=122): time 3.276e-06/0.0742, allocations: 0 / 484 MB, free: 2.031 MB / 378.7 MB Notification: Performance of matching and sorting (n=150): time 0.0127/0.0869, allocations: 5.815 MB / 489.8 MB, free: 12.14 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.086e-05/0.08695, allocations: 102.4 kB / 489.9 MB, free: 12.02 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007103/0.08766, allocations: 0.8601 MB / 490.8 MB, free: 11.14 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.988e-05/0.08772, allocations: 49.7 kB / 490.8 MB, free: 11.09 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003471/0.08807, allocations: 0.8511 MB / 491.7 MB, free: 10.22 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002834/0.08835, allocations: 0.5423 MB / 492.2 MB, free: 9.676 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003178/0.08867, allocations: 371.4 kB / 492.6 MB, free: 9.305 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001024/0.08877, allocations: 357.9 kB / 492.9 MB, free: 8.949 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006336/0.08941, allocations: 0.5272 MB / 493.4 MB, free: 8.418 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009387/0.09034, allocations: 1.247 MB / 494.7 MB, free: 6.836 MB / 394.7 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.001816/0.09216, allocations: 1.973 MB / 496.7 MB, free: 4.531 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.315e-06/0.09217, allocations: 8 kB / 496.7 MB, free: 4.523 MB / 394.7 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.004089/0.09626, allocations: 2.519 MB / 499.2 MB, free: 1.984 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.502e-05/0.09628, allocations: 16 kB / 499.2 MB, free: 1.969 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.021e-05/0.0963, allocations: 24 kB / 499.2 MB, free: 1.945 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002407/0.09871, allocations: 0.7019 MB / 499.9 MB, free: 1.23 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001021/0.09973, allocations: 0.5266 MB / 0.4887 GB, free: 0.7031 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006697/0.1064, allocations: 7.701 MB / 0.4963 GB, free: 8.605 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00078/0.1072, allocations: 68 kB / 0.4963 GB, free: 8.539 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000148/0.1074, allocations: 112 kB / 0.4964 GB, free: 8.43 MB / 410.7 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.0005477/0.1079, allocations: 381 kB / 0.4968 GB, free: 8.047 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001727/0.1081, allocations: 139.1 kB / 0.4969 GB, free: 7.91 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004604/0.1127, allocations: 2.469 MB / 0.4993 GB, free: 5.383 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/0.1127, allocations: 12 kB / 0.4993 GB, free: 5.371 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.1127, allocations: 4 kB / 0.4993 GB, free: 5.367 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.027e-05/0.1127, allocations: 7.969 kB / 0.4994 GB, free: 5.359 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002965/0.1157, allocations: 2.125 MB / 0.5014 GB, free: 3.16 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.202e-06/0.1157, allocations: 3.938 kB / 0.5014 GB, free: 3.156 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007396/0.1164, allocations: 312 kB / 0.5017 GB, free: 2.852 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002846/0.1193, allocations: 0.7455 MB / 0.5025 GB, free: 2.09 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.889e-05/0.1193, allocations: 51.92 kB / 0.5025 GB, free: 2.039 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007308/0.1266, allocations: 8.775 MB / 0.5111 GB, free: 8.75 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.1266, allocations: 4 kB / 0.5111 GB, free: 8.746 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004872/0.1315, allocations: 2.787 MB / 0.5138 GB, free: 5.898 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002399/0.1318, allocations: 119.1 kB / 0.5139 GB, free: 5.781 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001097/0.1319, allocations: 32 kB / 0.5139 GB, free: 5.75 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000376/0.1322, allocations: 32 kB / 0.514 GB, free: 5.719 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000221/0.1325, allocations: 133 kB / 0.5141 GB, free: 5.59 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.142e-05/0.1325, allocations: 47.98 kB / 0.5141 GB, free: 5.543 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005141/0.133, allocations: 0.5527 MB / 0.5147 GB, free: 4.98 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.133, allocations: 0 / 0.5147 GB, free: 4.98 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002458/0.1355, allocations: 1.071 MB / 0.5157 GB, free: 3.902 MB / 426.7 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.001768/0.1373, allocations: 1.156 MB / 0.5169 GB, free: 2.734 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002438/0.1397, allocations: 1.983 MB / 0.5188 GB, free: 0.7031 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.1397, allocations: 256 / 0.5188 GB, free: 0.7031 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001204/0.1409, allocations: 1.298 MB / 0.5201 GB, free: 15.34 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009436/0.1419, allocations: 303 kB / 0.5204 GB, free: 15.05 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003701/0.1456, allocations: 2.977 MB / 0.5233 GB, free: 11.99 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004765/0.146, allocations: 0.6798 MB / 0.5239 GB, free: 11.28 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003966/0.1464, allocations: 264.3 kB / 0.5242 GB, free: 11.02 MB / 442.7 MB Notification: Performance of SimCode: time 6.41e-07/0.1464, allocations: 0 / 0.5242 GB, free: 11.02 MB / 442.7 MB Notification: Performance of Templates: time 0.04341/0.1898, allocations: 57.95 MB / 0.5808 GB, free: 1.137 MB / 490.7 MB " [Timeout remaining time 660] 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.798754457384348] Failed to read output from testmodel.py, exit status != 0: 0.4838810097426176 0.35306243800000003 0.304009399 Calling exit ...