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.001122/0.001122, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001008/0.001008, allocations: 177 kB / 23.36 MB, free: 1.133 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 1.019/1.019, allocations: 177.2 MB / 203.8 MB, free: 5.484 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.1008/0.1008, allocations: 17.39 MB / 277.6 MB, free: 11.53 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.513e-06/1.513e-06, allocations: 0 / 300.6 MB, free: 1.926 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.538e-05/2.689e-05, allocations: 2.969 kB / 300.6 MB, free: 1.922 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.ExothermicReaction): time 0.007464/0.007491, allocations: 8.435 MB / 309 MB, free: 11.93 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.02287/0.03036, allocations: 23.21 MB / 332.3 MB, free: 4.672 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008698/0.03123, allocations: 31.75 kB / 332.3 MB, free: 4.641 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001086/0.03232, allocations: 488 kB / 332.8 MB, free: 4.16 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00449/0.03681, allocations: 2.133 MB / 334.9 MB, free: 2.012 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00635/0.04316, allocations: 3.176 MB / 338.1 MB, free: 14.81 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002396/0.04555, allocations: 2.581 MB / 340.7 MB, free: 12.22 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001433/0.04699, allocations: 1.221 MB / 341.9 MB, free: 10.94 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001564/0.04855, allocations: 1.724 MB / 343.6 MB, free: 9.211 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001282/0.04983, allocations: 1.119 MB / 344.7 MB, free: 8.09 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002809/0.05011, allocations: 216 kB / 344.9 MB, free: 7.879 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005083/0.0552, allocations: 2.491 MB / 347.4 MB, free: 5.383 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000381/0.05558, allocations: 0.5217 MB / 347.9 MB, free: 4.859 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009709/0.05655, allocations: 0.8029 MB / 348.7 MB, free: 4.055 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005389/0.06194, allocations: 4.696 MB / 353.4 MB, free: 15.34 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.06194, allocations: 0 / 353.4 MB, free: 15.34 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.06194, allocations: 0 / 353.4 MB, free: 15.34 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.963e-05/0.06196, allocations: 4 kB / 353.4 MB, free: 15.34 MB / 330.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.003437/0.0654, allocations: 2.637 MB / 356.1 MB, free: 12.66 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.151e-05/0.06543, allocations: 8.031 kB / 356.1 MB, free: 12.65 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001445/0.06688, allocations: 0.6505 MB / 356.7 MB, free: 12 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001077/0.06795, allocations: 0.696 MB / 357.4 MB, free: 11.27 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001534/0.06811, allocations: 246.9 kB / 357.7 MB, free: 11.01 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002427/0.06835, allocations: 188.3 kB / 357.9 MB, free: 10.82 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001479/0.06983, allocations: 1.544 MB / 359.4 MB, free: 9.242 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.483e-05/0.06985, allocations: 4.188 kB / 359.4 MB, free: 9.238 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001037/0.06996, allocations: 76.12 kB / 359.5 MB, free: 9.164 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.193e-05/0.06998, allocations: 44 kB / 359.5 MB, free: 9.121 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001783/0.07176, allocations: 1.297 MB / 360.8 MB, free: 7.82 MB / 330.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.00543/0.07719, allocations: 4.201 MB / 365 MB, free: 3.523 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00213/0.07932, allocations: 1.977 MB / 367 MB, free: 1.52 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000369/0.07969, allocations: 407.5 kB / 367.4 MB, free: 1.117 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004855/0.08455, allocations: 3.816 MB / 371.2 MB, free: 13.28 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.613e-05/0.08457, allocations: 43.56 kB / 371.3 MB, free: 13.23 MB / 346.7 MB Notification: Performance of pre-optimization done (n=122): time 2.174e-06/0.08457, allocations: 0 / 371.3 MB, free: 13.23 MB / 346.7 MB Notification: Performance of matching and sorting (n=150): time 0.01068/0.09525, allocations: 4.594 MB / 375.9 MB, free: 8.562 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.038e-05/0.09529, allocations: 98.36 kB / 375.9 MB, free: 8.449 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004662/0.09576, allocations: 0.7952 MB / 376.7 MB, free: 7.633 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.721e-05/0.09582, allocations: 53.7 kB / 376.8 MB, free: 7.574 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000301/0.09612, allocations: 0.7747 MB / 377.6 MB, free: 6.789 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002638/0.09638, allocations: 0.5383 MB / 378.1 MB, free: 6.246 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000347/0.09673, allocations: 379.3 kB / 378.5 MB, free: 5.867 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.729e-05/0.09683, allocations: 365.8 kB / 378.8 MB, free: 5.504 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002902/0.09712, allocations: 230.8 kB / 379.1 MB, free: 5.273 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005745/0.09769, allocations: 0.958 MB / 380 MB, free: 3.977 MB / 346.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.001099/0.09879, allocations: 1.455 MB / 381.5 MB, free: 2.188 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.945e-06/0.0988, allocations: 8 kB / 381.5 MB, free: 2.18 MB / 346.7 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.003029/0.1018, allocations: 1.677 MB / 383.2 MB, free: 492 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.861e-05/0.1019, allocations: 19.94 kB / 383.2 MB, free: 472 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.611e-05/0.1019, allocations: 24 kB / 383.2 MB, free: 448 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003513/0.1054, allocations: 1.066 MB / 384.3 MB, free: 15.36 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009361/0.1063, allocations: 0.5188 MB / 384.8 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004751/0.1111, allocations: 6.302 MB / 391.1 MB, free: 8.195 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000551/0.1116, allocations: 71.95 kB / 391.2 MB, free: 8.125 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001052/0.1117, allocations: 99.97 kB / 391.3 MB, free: 8.027 MB / 362.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.0003071/0.112, allocations: 259.8 kB / 391.5 MB, free: 7.762 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001566/0.1122, allocations: 123.9 kB / 391.6 MB, free: 7.641 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00319/0.1154, allocations: 1.815 MB / 393.4 MB, free: 5.773 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.085e-06/0.1154, allocations: 20 kB / 393.5 MB, free: 5.754 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.1154, allocations: 0 / 393.5 MB, free: 5.754 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.01e-05/0.1154, allocations: 7.969 kB / 393.5 MB, free: 5.746 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002013/0.1174, allocations: 1.597 MB / 395.1 MB, free: 4.078 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/0.1174, allocations: 7.938 kB / 395.1 MB, free: 4.07 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006562/0.1181, allocations: 303.7 kB / 395.4 MB, free: 3.773 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003954/0.122, allocations: 1.183 MB / 396.6 MB, free: 2.574 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.226e-05/0.1221, allocations: 43.92 kB / 396.6 MB, free: 2.531 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005022/0.1271, allocations: 7.328 MB / 403.9 MB, free: 10.77 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.1271, allocations: 0 / 403.9 MB, free: 10.77 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003063/0.1302, allocations: 1.826 MB / 405.8 MB, free: 8.887 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001077/0.1303, allocations: 111.1 kB / 405.9 MB, free: 8.777 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001039/0.1304, allocations: 35.94 kB / 405.9 MB, free: 8.742 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003152/0.1307, allocations: 32 kB / 405.9 MB, free: 8.711 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001934/0.1309, allocations: 133 kB / 406.1 MB, free: 8.582 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.19e-05/0.131, allocations: 35.98 kB / 406.1 MB, free: 8.547 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000271/0.1312, allocations: 372 kB / 406.5 MB, free: 8.172 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1312, allocations: 0 / 406.5 MB, free: 8.172 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002089/0.1333, allocations: 1.06 MB / 407.5 MB, free: 7.109 MB / 378.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.001348/0.1347, allocations: 1.231 MB / 408.7 MB, free: 5.863 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00144/0.1361, allocations: 1.524 MB / 410.3 MB, free: 4.285 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-05/0.1361, allocations: 25.81 kB / 410.3 MB, free: 4.258 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008039/0.1369, allocations: 1.105 MB / 411.4 MB, free: 3.082 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007527/0.1377, allocations: 329.8 kB / 411.7 MB, free: 2.77 MB / 378.7 MB Error: Error parsing unit kDa: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003035/0.1407, allocations: 2.751 MB / 414.5 MB, free: 15.94 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002092/0.1409, allocations: 288.5 kB / 414.8 MB, free: 15.63 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0006273/0.1416, allocations: 316.4 kB / 415.1 MB, free: 15.33 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005652/0.1421, allocations: 437 kB / 415.5 MB, free: 14.9 MB / 394.7 MB Notification: Performance of SimCode: time 6.21e-07/0.1421, allocations: 0 / 415.5 MB, free: 14.9 MB / 394.7 MB Notification: Performance of Templates: time 0.1542/0.2963, allocations: 42.92 MB / 458.4 MB, free: 126.9 MB / 410.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=240 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.ExothermicReaction.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.099619851447642]