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.0009714/0.0009714, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 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.001013/0.001013, allocations: 165 kB / 23.02 MB, free: 1.547 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.025/1.025, allocations: 177.1 MB / 203.4 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.1064/0.1064, allocations: 17.37 MB / 277.3 MB, free: 11.49 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 2.094e-06/2.094e-06, allocations: 0 / 353.4 MB, free: 11.02 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.487e-05/2.696e-05, allocations: 2.312 kB / 353.4 MB, free: 11.02 MB / 330.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.03094/0.03097, allocations: 28.83 MB / 382.3 MB, free: 14.29 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01087/0.04184, allocations: 11.76 MB / 394 MB, free: 2.48 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007272/0.04256, allocations: 19.81 kB / 394 MB, free: 2.461 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006655/0.04323, allocations: 242 kB / 394.3 MB, free: 2.223 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002386/0.04562, allocations: 1.039 MB / 395.3 MB, free: 1.176 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003359/0.04897, allocations: 1.576 MB / 396.9 MB, free: 15.59 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001554/0.05053, allocations: 1.294 MB / 398.2 MB, free: 14.29 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007822/0.05131, allocations: 0.5889 MB / 398.8 MB, free: 13.68 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000908/0.05222, allocations: 0.8501 MB / 399.6 MB, free: 12.83 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000789/0.05301, allocations: 0.569 MB / 400.2 MB, free: 12.26 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001766/0.05318, allocations: 108 kB / 400.3 MB, free: 12.15 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00285/0.05603, allocations: 1.224 MB / 401.5 MB, free: 10.93 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002302/0.05626, allocations: 271.1 kB / 401.8 MB, free: 10.66 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004308/0.05669, allocations: 407.1 kB / 402.2 MB, free: 10.26 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005448/0.06214, allocations: 2.354 MB / 404.5 MB, free: 7.898 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.06215, allocations: 3.938 kB / 404.5 MB, free: 7.895 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.06215, allocations: 0 / 404.5 MB, free: 7.895 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.163e-05/0.06218, allocations: 0 / 404.5 MB, free: 7.895 MB / 378.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.002241/0.06442, allocations: 1.546 MB / 406.1 MB, free: 6.305 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/0.06447, allocations: 8.031 kB / 406.1 MB, free: 6.297 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007662/0.06523, allocations: 355.1 kB / 406.4 MB, free: 5.949 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006594/0.06589, allocations: 0.5291 MB / 407 MB, free: 5.391 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001069/0.066, allocations: 118 kB / 407.1 MB, free: 5.266 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001158/0.06612, allocations: 92.38 kB / 407.2 MB, free: 5.176 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001029/0.06714, allocations: 0.8544 MB / 408 MB, free: 4.293 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.52e-05/0.06716, allocations: 192 / 408 MB, free: 4.293 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.127e-05/0.06722, allocations: 40.12 kB / 408.1 MB, free: 4.254 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.73e-05/0.06724, allocations: 20 kB / 408.1 MB, free: 4.234 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001078/0.06832, allocations: 0.8469 MB / 408.9 MB, free: 3.391 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.003265/0.07158, allocations: 2.709 MB / 411.7 MB, free: 0.6016 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001762/0.07334, allocations: 1.306 MB / 413 MB, free: 15.29 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003445/0.07369, allocations: 270.5 kB / 413.2 MB, free: 15.01 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002765/0.07645, allocations: 2.103 MB / 415.3 MB, free: 12.89 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.85e-05/0.07648, allocations: 41.89 kB / 415.4 MB, free: 12.84 MB / 394.7 MB Notification: Performance of pre-optimization done (n=56): time 2.204e-06/0.07648, allocations: 4 kB / 415.4 MB, free: 12.84 MB / 394.7 MB Notification: Performance of matching and sorting (n=63): time 0.002651/0.07913, allocations: 1.311 MB / 416.7 MB, free: 11.49 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.971e-05/0.07917, allocations: 67.98 kB / 416.7 MB, free: 11.41 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000424/0.0796, allocations: 0.5296 MB / 417.3 MB, free: 10.86 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.001e-05/0.07963, allocations: 37.7 kB / 417.3 MB, free: 10.82 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002713/0.0799, allocations: 0.518 MB / 417.8 MB, free: 10.29 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001314/0.08003, allocations: 234 kB / 418.1 MB, free: 10.06 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001569/0.08019, allocations: 180.2 kB / 418.2 MB, free: 9.879 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001861/0.08037, allocations: 0.5547 MB / 418.8 MB, free: 9.312 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001931/0.08057, allocations: 129.9 kB / 418.9 MB, free: 9.188 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004024/0.08097, allocations: 0.591 MB / 419.5 MB, free: 8.391 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006617/0.08163, allocations: 0.7856 MB / 420.3 MB, free: 7.398 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.08164, allocations: 4 kB / 420.3 MB, free: 7.395 MB / 394.7 MB Notification: Performance of matching and sorting (n=115) (initialization): time 0.000848/0.08248, allocations: 0.7433 MB / 421 MB, free: 6.645 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.742e-05/0.08251, allocations: 15.94 kB / 421.1 MB, free: 6.629 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.555e-05/0.08253, allocations: 8 kB / 421.1 MB, free: 6.621 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.742e-05/0.08255, allocations: 16 kB / 421.1 MB, free: 6.605 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005529/0.08311, allocations: 267.6 kB / 421.3 MB, free: 6.344 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.825e-05/0.08312, allocations: 19.94 kB / 421.4 MB, free: 6.324 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002554/0.08338, allocations: 40.02 kB / 421.4 MB, free: 6.285 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.837e-05/0.08344, allocations: 52 kB / 421.5 MB, free: 6.234 MB / 394.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.0001805/0.08362, allocations: 212.2 kB / 421.7 MB, free: 6.016 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.63e-05/0.08371, allocations: 87.58 kB / 421.7 MB, free: 5.93 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007365/0.08444, allocations: 0.5699 MB / 422.3 MB, free: 5.344 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.08445, allocations: 4 kB / 422.3 MB, free: 5.34 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.468e-06/0.08446, allocations: 3.984 kB / 422.3 MB, free: 5.336 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.08446, allocations: 0 / 422.3 MB, free: 5.336 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005852/0.08505, allocations: 0.5598 MB / 422.9 MB, free: 4.719 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.041e-06/0.08505, allocations: 4 kB / 422.9 MB, free: 4.715 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004019/0.08546, allocations: 175.9 kB / 423.1 MB, free: 4.543 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.16e-06/0.08546, allocations: 4 kB / 423.1 MB, free: 4.539 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.39e-05/0.0855, allocations: 23.98 kB / 423.1 MB, free: 4.516 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.649e-06/0.0855, allocations: 4 kB / 423.1 MB, free: 4.512 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.0855, allocations: 3.938 kB / 423.1 MB, free: 4.508 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008056/0.08631, allocations: 0.7808 MB / 423.9 MB, free: 3.691 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000157/0.08647, allocations: 115.5 kB / 424 MB, free: 3.578 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.672e-05/0.08651, allocations: 16 kB / 424 MB, free: 3.562 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001318/0.08664, allocations: 12 kB / 424 MB, free: 3.551 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.429e-05/0.08673, allocations: 64.44 kB / 424.1 MB, free: 3.488 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.882e-05/0.08676, allocations: 24 kB / 424.1 MB, free: 3.465 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002275/0.08698, allocations: 322.8 kB / 424.4 MB, free: 3.152 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.08698, allocations: 0 / 424.4 MB, free: 3.152 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009967/0.08798, allocations: 486.6 kB / 424.9 MB, free: 2.676 MB / 394.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.0008396/0.08882, allocations: 0.6106 MB / 425.5 MB, free: 2.055 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005869/0.08941, allocations: 485.6 kB / 426 MB, free: 1.582 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.08941, allocations: 0 / 426 MB, free: 1.582 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002228/0.08963, allocations: 221.1 kB / 426.2 MB, free: 1.359 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005262/0.09016, allocations: 174.2 kB / 426.4 MB, free: 1.188 MB / 394.7 MB Error: Error parsing unit kDa: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002117/0.09228, allocations: 1.408 MB / 427.8 MB, free: 15.72 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001058/0.09238, allocations: 167.3 kB / 427.9 MB, free: 15.54 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003342/0.09272, allocations: 161.2 kB / 428.1 MB, free: 15.38 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000152/0.09287, allocations: 100.5 kB / 428.2 MB, free: 15.28 MB / 410.7 MB Notification: Performance of SimCode: time 1.042e-06/0.09287, allocations: 0 / 428.2 MB, free: 15.28 MB / 410.7 MB Notification: Performance of Templates: time 0.01634/0.1092, allocations: 14.3 MB / 442.5 MB, free: 1.117 MB / 410.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 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.SimpleReaction2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6916703092865646]