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.0008215/0.0008215, allocations: 80.75 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.0009362/0.0009362, allocations: 181 kB / 23.36 MB, free: 1.129 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.9934/0.9934, allocations: 177.1 MB / 203.8 MB, free: 5.492 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.09116/0.09116, allocations: 17.38 MB / 277.6 MB, free: 11.54 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.023e-06/2.023e-06, allocations: 1.375 kB / 300.6 MB, free: 1.676 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.102e-05/1.304e-05, allocations: 2.312 kB / 300.6 MB, free: 1.672 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.04964/0.04965, allocations: 34.62 MB / 335.2 MB, free: 1.879 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.009089/0.05874, allocations: 11.6 MB / 346.8 MB, free: 6.227 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003096/0.05905, allocations: 11.88 kB / 346.8 MB, free: 6.215 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004432/0.05949, allocations: 250 kB / 347.1 MB, free: 5.969 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001622/0.06111, allocations: 1.039 MB / 348.1 MB, free: 4.922 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002492/0.06361, allocations: 1.6 MB / 349.7 MB, free: 3.312 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001057/0.06466, allocations: 1.29 MB / 351 MB, free: 2.016 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008247/0.06549, allocations: 0.6006 MB / 351.6 MB, free: 1.387 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006796/0.06617, allocations: 0.8501 MB / 352.4 MB, free: 0.5352 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006269/0.06679, allocations: 0.5535 MB / 353 MB, free: 15.98 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001258/0.06692, allocations: 108 kB / 353.1 MB, free: 15.88 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001683/0.0686, allocations: 1.232 MB / 354.3 MB, free: 14.64 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001623/0.06877, allocations: 263.2 kB / 354.6 MB, free: 14.38 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002607/0.06903, allocations: 411.1 kB / 355 MB, free: 13.98 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001974/0.071, allocations: 2.354 MB / 357.4 MB, free: 11.62 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.071, allocations: 0 / 357.4 MB, free: 11.62 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.071, allocations: 0 / 357.4 MB, free: 11.62 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.722e-06/0.07101, allocations: 4 kB / 357.4 MB, free: 11.61 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.001517/0.07253, allocations: 1.421 MB / 358.8 MB, free: 10.16 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.402e-05/0.07255, allocations: 8.031 kB / 358.8 MB, free: 10.16 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006311/0.07318, allocations: 327.6 kB / 359.1 MB, free: 9.836 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005841/0.07377, allocations: 439.1 kB / 359.5 MB, free: 9.379 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.751e-05/0.07386, allocations: 126 kB / 359.7 MB, free: 9.242 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001186/0.07397, allocations: 88.38 kB / 359.7 MB, free: 9.156 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008757/0.07485, allocations: 0.7873 MB / 360.5 MB, free: 8.348 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.69e-05/0.07487, allocations: 192 / 360.5 MB, free: 8.348 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.889e-05/0.07494, allocations: 40.12 kB / 360.6 MB, free: 8.309 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.733e-05/0.07495, allocations: 24 kB / 360.6 MB, free: 8.285 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008497/0.0758, allocations: 0.6409 MB / 361.2 MB, free: 7.641 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.002878/0.07868, allocations: 2.112 MB / 363.3 MB, free: 5.469 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001535/0.08021, allocations: 1.243 MB / 364.6 MB, free: 4.215 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000247/0.08046, allocations: 191.8 kB / 364.8 MB, free: 4.02 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003068/0.08353, allocations: 1.915 MB / 366.7 MB, free: 2.09 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.724e-05/0.08356, allocations: 39.06 kB / 366.7 MB, free: 2.043 MB / 330.7 MB Notification: Performance of pre-optimization done (n=56): time 1.733e-06/0.08356, allocations: 0 / 366.7 MB, free: 2.043 MB / 330.7 MB Notification: Performance of matching and sorting (n=63): time 0.001674/0.08523, allocations: 1.105 MB / 367.8 MB, free: 0.9102 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.133e-05/0.08526, allocations: 60.05 kB / 367.9 MB, free: 0.8359 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003211/0.08559, allocations: 470.8 kB / 368.4 MB, free: 372 kB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.179e-05/0.08562, allocations: 41.7 kB / 368.4 MB, free: 324 kB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002062/0.08582, allocations: 432.8 kB / 368.8 MB, free: 15.88 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001328/0.08596, allocations: 226 kB / 369 MB, free: 15.66 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001679/0.08612, allocations: 182.4 kB / 369.2 MB, free: 15.48 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001127/0.08624, allocations: 382.4 kB / 369.6 MB, free: 15.1 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001412/0.08638, allocations: 92.78 kB / 369.7 MB, free: 15.01 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002948/0.08667, allocations: 430.5 kB / 370.1 MB, free: 14.44 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005311/0.0872, allocations: 0.6137 MB / 370.7 MB, free: 13.67 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.08721, allocations: 8 kB / 370.7 MB, free: 13.66 MB / 346.7 MB Notification: Performance of matching and sorting (n=115) (initialization): time 0.0006227/0.08783, allocations: 0.5276 MB / 371.2 MB, free: 13.13 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.08785, allocations: 12 kB / 371.3 MB, free: 13.12 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.285e-05/0.08786, allocations: 12 kB / 371.3 MB, free: 13.11 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.996e-05/0.08788, allocations: 16 kB / 371.3 MB, free: 13.09 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006108/0.08849, allocations: 259.6 kB / 371.5 MB, free: 12.84 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.683e-05/0.08851, allocations: 23.88 kB / 371.6 MB, free: 12.81 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000267/0.08877, allocations: 32.16 kB / 371.6 MB, free: 12.78 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.938e-05/0.08882, allocations: 47.98 kB / 371.6 MB, free: 12.73 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.0001543/0.08898, allocations: 168.3 kB / 371.8 MB, free: 12.56 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.272e-05/0.08906, allocations: 59.94 kB / 371.9 MB, free: 12.5 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005965/0.08966, allocations: 439.8 kB / 372.3 MB, free: 12.06 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.08966, allocations: 8 kB / 372.3 MB, free: 12.05 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.08967, allocations: 4 kB / 372.3 MB, free: 12.05 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.662e-06/0.08967, allocations: 3.984 kB / 372.3 MB, free: 12.04 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007983/0.09047, allocations: 0.52 MB / 372.8 MB, free: 11.48 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.09047, allocations: 3.984 kB / 372.8 MB, free: 11.48 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004589/0.09093, allocations: 175.9 kB / 373 MB, free: 11.3 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.09094, allocations: 7.938 kB / 373 MB, free: 11.3 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.998e-05/0.09097, allocations: 19.98 kB / 373 MB, free: 11.28 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.09097, allocations: 4 kB / 373 MB, free: 11.27 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.09097, allocations: 0 / 373 MB, free: 11.27 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005838/0.09156, allocations: 0.5966 MB / 373.6 MB, free: 10.65 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000138/0.09169, allocations: 79.55 kB / 373.7 MB, free: 10.57 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.964e-05/0.09175, allocations: 20 kB / 373.7 MB, free: 10.55 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001686/0.09192, allocations: 12 kB / 373.7 MB, free: 10.54 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.048e-05/0.09199, allocations: 52.56 kB / 373.8 MB, free: 10.49 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.913e-05/0.09202, allocations: 19.98 kB / 373.8 MB, free: 10.47 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000157/0.09218, allocations: 196.3 kB / 374 MB, free: 10.28 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.09218, allocations: 0 / 374 MB, free: 10.28 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008151/0.09299, allocations: 486.6 kB / 374.5 MB, free: 9.801 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.0007315/0.09373, allocations: 0.6312 MB / 375.1 MB, free: 9.156 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004442/0.09417, allocations: 402.4 kB / 375.5 MB, free: 8.762 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.362e-05/0.09418, allocations: 8.5 kB / 375.5 MB, free: 8.754 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001875/0.09437, allocations: 181.8 kB / 375.7 MB, free: 8.578 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005115/0.09488, allocations: 178.6 kB / 375.9 MB, free: 8.41 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.001967/0.09685, allocations: 1.401 MB / 377.3 MB, free: 6.949 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000111/0.09696, allocations: 159.3 kB / 377.4 MB, free: 6.773 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003833/0.09734, allocations: 161.2 kB / 377.6 MB, free: 6.613 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000372/0.09772, allocations: 245.2 kB / 377.8 MB, free: 6.375 MB / 346.7 MB Notification: Performance of SimCode: time 3.4e-07/0.09772, allocations: 0 / 377.8 MB, free: 6.375 MB / 346.7 MB Notification: Performance of Templates: time 0.02097/0.1187, allocations: 16.45 MB / 394.3 MB, free: 6.047 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 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.SimpleReaction2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.2250458551570773]