Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Obsolete.Examples.SimpleReaction2.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.001082/0.001082, allocations: 80.81 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.001109/0.001109, allocations: 173 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.04/1.04, allocations: 177.1 MB / 203.8 MB, free: 5.48 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.1163/0.1163, allocations: 17.39 MB / 277.6 MB, free: 11.52 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.SimpleReaction2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.SimpleReaction2") translateModel(Chemical.Obsolete.Examples.SimpleReaction2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.SimpleReaction2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 300.6 MB, free: 1.625 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.324e-05/2.486e-05, allocations: 4.297 kB / 300.7 MB, free: 1.621 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Obsolete.mo:14337:7-14337:66:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Obsolete.mo:14337:7-14337:66:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer \"system\" component but an inner \"system\" component is not defined. For simulation drag Modelica.Fluid.System into your model to specify system properties. Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.SimpleReaction2): time 0.03711/0.03714, allocations: 34.65 MB / 335.3 MB, free: 1.793 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01106/0.0482, allocations: 11.6 MB / 346.9 MB, free: 6.141 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007992/0.049, allocations: 19.81 kB / 346.9 MB, free: 6.121 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006273/0.04963, allocations: 250 kB / 347.2 MB, free: 5.875 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002225/0.05186, allocations: 1.008 MB / 348.2 MB, free: 4.859 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003607/0.05546, allocations: 1.568 MB / 349.7 MB, free: 3.281 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001434/0.0569, allocations: 1.302 MB / 351 MB, free: 1.973 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005674/0.05746, allocations: 0.5889 MB / 351.6 MB, free: 1.355 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006563/0.05812, allocations: 0.854 MB / 352.5 MB, free: 0.5 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006617/0.05878, allocations: 0.5535 MB / 353 MB, free: 15.95 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001196/0.0589, allocations: 108 kB / 353.2 MB, free: 15.84 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002752/0.06165, allocations: 1.279 MB / 354.4 MB, free: 14.56 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000186/0.06184, allocations: 275.1 kB / 354.7 MB, free: 14.29 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003089/0.06215, allocations: 403.1 kB / 355.1 MB, free: 13.89 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003592/0.06574, allocations: 2.354 MB / 357.4 MB, free: 11.53 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.692e-06/0.06575, allocations: 4 kB / 357.4 MB, free: 11.53 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.844e-06/0.06575, allocations: 0 / 357.4 MB, free: 11.53 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.439e-05/0.06576, allocations: 0 / 357.4 MB, free: 11.53 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: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.001554/0.06732, allocations: 1.421 MB / 358.9 MB, free: 10.08 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/0.06736, allocations: 8.031 kB / 358.9 MB, free: 10.07 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008824/0.06825, allocations: 327.6 kB / 359.2 MB, free: 9.75 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006615/0.06891, allocations: 435.1 kB / 359.6 MB, free: 9.297 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001053/0.06901, allocations: 130 kB / 359.7 MB, free: 9.156 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001284/0.06914, allocations: 88.38 kB / 359.8 MB, free: 9.07 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009689/0.07011, allocations: 0.7834 MB / 360.6 MB, free: 8.266 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.016e-05/0.07013, allocations: 4.125 kB / 360.6 MB, free: 8.262 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.853e-05/0.0702, allocations: 40.12 kB / 360.7 MB, free: 8.223 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.009e-05/0.07022, allocations: 20 kB / 360.7 MB, free: 8.203 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009813/0.0712, allocations: 0.6448 MB / 361.3 MB, free: 7.555 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.003333/0.07453, allocations: 2.108 MB / 363.4 MB, free: 5.387 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001663/0.0762, allocations: 1.25 MB / 364.7 MB, free: 4.129 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002646/0.07646, allocations: 203.8 kB / 364.9 MB, free: 3.922 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003021/0.07948, allocations: 1.908 MB / 366.8 MB, free: 2 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.004e-05/0.07951, allocations: 35.06 kB / 366.8 MB, free: 1.957 MB / 330.7 MB Notification: Performance of pre-optimization done (n=56): time 2.104e-06/0.07951, allocations: 0 / 366.8 MB, free: 1.957 MB / 330.7 MB Notification: Performance of matching and sorting (n=63): time 0.00198/0.08149, allocations: 1.102 MB / 367.9 MB, free: 0.8281 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.652e-05/0.08153, allocations: 68.05 kB / 368 MB, free: 0.7461 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003758/0.08191, allocations: 470.8 kB / 368.5 MB, free: 280 kB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.476e-05/0.08194, allocations: 37.7 kB / 368.5 MB, free: 236 kB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002187/0.08216, allocations: 432.8 kB / 368.9 MB, free: 15.8 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001477/0.08231, allocations: 238 kB / 369.1 MB, free: 15.56 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001719/0.08248, allocations: 170.5 kB / 369.3 MB, free: 15.39 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001318/0.08261, allocations: 386.6 kB / 369.7 MB, free: 15 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001379/0.08275, allocations: 88.78 kB / 369.8 MB, free: 14.92 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000322/0.08307, allocations: 438.5 kB / 370.2 MB, free: 14.34 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005917/0.08366, allocations: 0.6137 MB / 370.8 MB, free: 13.57 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.221e-06/0.08367, allocations: 4 kB / 370.8 MB, free: 13.57 MB / 346.7 MB Notification: Performance of matching and sorting (n=115) (initialization): time 0.0006756/0.08434, allocations: 0.5278 MB / 371.3 MB, free: 13.04 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.236e-05/0.08437, allocations: 16.03 kB / 371.4 MB, free: 13.02 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.271e-05/0.08438, allocations: 8 kB / 371.4 MB, free: 13.01 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.575e-05/0.08441, allocations: 16 kB / 371.4 MB, free: 13 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007222/0.08513, allocations: 295.5 kB / 371.7 MB, free: 12.71 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.837e-05/0.08515, allocations: 23.92 kB / 371.7 MB, free: 12.68 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002844/0.08543, allocations: 32 kB / 371.7 MB, free: 12.65 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.079e-05/0.08549, allocations: 43.98 kB / 371.8 MB, free: 12.61 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 (115): * Single equations (assignments): 115 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001753/0.08567, allocations: 172.3 kB / 371.9 MB, free: 12.43 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.309e-05/0.08575, allocations: 51.95 kB / 372 MB, free: 12.38 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006432/0.08639, allocations: 443.8 kB / 372.4 MB, free: 11.93 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.877e-06/0.0864, allocations: 8 kB / 372.4 MB, free: 11.93 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.0864, allocations: 0 / 372.4 MB, free: 11.93 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.471e-06/0.08641, allocations: 0 / 372.4 MB, free: 11.93 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006741/0.08708, allocations: 0.5239 MB / 373 MB, free: 11.36 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/0.08709, allocations: 3.984 kB / 373 MB, free: 11.36 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005257/0.08761, allocations: 187.9 kB / 373.1 MB, free: 11.17 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.542e-06/0.08762, allocations: 4 kB / 373.2 MB, free: 11.17 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.922e-05/0.08766, allocations: 27.97 kB / 373.2 MB, free: 11.14 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/0.08766, allocations: 4 kB / 373.2 MB, free: 11.14 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.08767, allocations: 4 kB / 373.2 MB, free: 11.13 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000684/0.08835, allocations: 0.5888 MB / 373.8 MB, free: 10.52 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001522/0.0885, allocations: 83.5 kB / 373.9 MB, free: 10.43 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.704e-05/0.08856, allocations: 24 kB / 373.9 MB, free: 10.41 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001659/0.08873, allocations: 12 kB / 373.9 MB, free: 10.4 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.572e-05/0.08881, allocations: 48.56 kB / 373.9 MB, free: 10.35 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.431e-05/0.08885, allocations: 20 kB / 374 MB, free: 10.33 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001612/0.08901, allocations: 192.4 kB / 374.1 MB, free: 10.14 MB / 346.7 MB Notification: Performance of sort global known variables: time 7e-08/0.08901, allocations: 0 / 374.1 MB, free: 10.14 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.00117/0.09018, allocations: 490.5 kB / 374.6 MB, free: 9.664 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (solution.temperature,A.logn,B.logn,C.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 (71): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009182/0.0911, allocations: 0.6351 MB / 375.3 MB, free: 9.016 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004867/0.09158, allocations: 402.3 kB / 375.7 MB, free: 8.621 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.446e-05/0.0916, allocations: 8.5 kB / 375.7 MB, free: 8.613 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002075/0.09181, allocations: 189.8 kB / 375.8 MB, free: 8.43 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005585/0.09236, allocations: 175.3 kB / 376 MB, free: 8.262 MB / 346.7 MB Error: Error parsing unit kDa: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002429/0.09479, allocations: 1.389 MB / 377.4 MB, free: 6.812 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001293/0.09492, allocations: 159.3 kB / 377.6 MB, free: 6.637 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0004267/0.09535, allocations: 157.2 kB / 377.7 MB, free: 6.48 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003948/0.09574, allocations: 241.2 kB / 378 MB, free: 6.246 MB / 346.7 MB Notification: Performance of SimCode: time 6.82e-07/0.09574, allocations: 0 / 378 MB, free: 6.246 MB / 346.7 MB Notification: Performance of Templates: time 0.02337/0.1191, allocations: 16.46 MB / 394.4 MB, free: 5.914 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_Chemical.Obsolete.Examples.SimpleReaction2.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.SimpleReaction2.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.SimpleReaction2.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.SimpleReaction2.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.SimpleReaction2.sim & ./Chemical_Chemical.Obsolete.Examples.SimpleReaction2 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.SimpleReaction2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.2814328600652516]