Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Obsolete.Examples.SimpleReaction.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.001127/0.001127, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.0009991/0.0009991, allocations: 173 kB / 23.49 MB, free: 1.062 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.645 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.08965/0.08965, allocations: 17.47 MB / 277.7 MB, free: 11.62 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/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.SimpleReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.SimpleReaction") translateModel(Chemical.Obsolete.Examples.SimpleReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.SimpleReaction") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 353.5 MB, free: 10.2 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.138e-05/2.292e-05, allocations: 6.25 kB / 353.5 MB, free: 10.19 MB / 282.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Obsolete.mo:14335:7-14335: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 master/Obsolete.mo:14335:7-14335: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.SimpleReaction): time 0.02365/0.02367, allocations: 27.96 MB / 381.5 MB, free: 14.38 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.007806/0.03148, allocations: 8.03 MB / 389.5 MB, free: 6.316 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003831/0.03186, allocations: 11.88 kB / 389.5 MB, free: 6.305 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004476/0.03231, allocations: 174.5 kB / 389.7 MB, free: 6.133 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001087/0.0334, allocations: 0.7249 MB / 390.4 MB, free: 5.402 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00204/0.03544, allocations: 1.076 MB / 391.5 MB, free: 4.32 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008996/0.03634, allocations: 0.9662 MB / 392.5 MB, free: 3.348 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004889/0.03683, allocations: 442.7 kB / 392.9 MB, free: 2.914 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008544/0.03768, allocations: 0.6317 MB / 393.5 MB, free: 2.281 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005043/0.03819, allocations: 419 kB / 394 MB, free: 1.871 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 9.288e-05/0.03828, allocations: 80 kB / 394 MB, free: 1.793 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001271/0.03955, allocations: 0.8265 MB / 394.9 MB, free: 0.9648 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001697/0.03972, allocations: 195.4 kB / 395.1 MB, free: 0.7734 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002701/0.03999, allocations: 307.3 kB / 395.4 MB, free: 484 kB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001816/0.04181, allocations: 1.634 MB / 397 MB, free: 14.83 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.04181, allocations: 0 / 397 MB, free: 14.83 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.04181, allocations: 0 / 397 MB, free: 14.83 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.016e-06/0.04182, allocations: 0 / 397 MB, free: 14.83 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.001499/0.04332, allocations: 1.216 MB / 398.2 MB, free: 13.57 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.04336, allocations: 8.031 kB / 398.2 MB, free: 13.57 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006399/0.044, allocations: 251.5 kB / 398.5 MB, free: 13.32 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005754/0.04457, allocations: 431.9 kB / 398.9 MB, free: 12.87 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.903e-05/0.04467, allocations: 106 kB / 399 MB, free: 12.76 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001029/0.04478, allocations: 72.33 kB / 399.1 MB, free: 12.69 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009089/0.04568, allocations: 0.6387 MB / 399.7 MB, free: 12.02 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.58e-05/0.0457, allocations: 192 / 399.7 MB, free: 12.02 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.316e-05/0.04576, allocations: 32.12 kB / 399.7 MB, free: 11.99 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.89e-05/0.04578, allocations: 20 kB / 399.7 MB, free: 11.97 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001079/0.04686, allocations: 0.5814 MB / 400.3 MB, free: 11.39 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.002709/0.04957, allocations: 2.004 MB / 402.3 MB, free: 9.32 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001175/0.05074, allocations: 0.8136 MB / 403.1 MB, free: 8.492 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002986/0.05104, allocations: 189.6 kB / 403.3 MB, free: 8.305 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002203/0.05325, allocations: 1.551 MB / 404.9 MB, free: 6.73 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.873e-05/0.05327, allocations: 41.39 kB / 404.9 MB, free: 6.68 MB / 330.7 MB Notification: Performance of pre-optimization done (n=41): time 1.933e-06/0.05328, allocations: 0 / 404.9 MB, free: 6.68 MB / 330.7 MB Notification: Performance of matching and sorting (n=46): time 0.00171/0.05499, allocations: 0.9715 MB / 405.9 MB, free: 5.668 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.661e-05/0.05502, allocations: 59.41 kB / 405.9 MB, free: 5.598 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003626/0.05539, allocations: 450.3 kB / 406.4 MB, free: 5.141 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.766e-05/0.05541, allocations: 33.7 kB / 406.4 MB, free: 5.102 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002167/0.05563, allocations: 430.8 kB / 406.8 MB, free: 4.676 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001132/0.05574, allocations: 166.6 kB / 407 MB, free: 4.512 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001465/0.05589, allocations: 132.2 kB / 407.1 MB, free: 4.371 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0003019/0.05619, allocations: 0.5313 MB / 407.7 MB, free: 3.828 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001687/0.05636, allocations: 93.94 kB / 407.8 MB, free: 3.738 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003245/0.05668, allocations: 427.4 kB / 408.2 MB, free: 3.18 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005553/0.05724, allocations: 0.563 MB / 408.7 MB, free: 2.473 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.05724, allocations: 0 / 408.7 MB, free: 2.473 MB / 330.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.0007271/0.05797, allocations: 0.5441 MB / 409.3 MB, free: 1.918 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/0.05799, allocations: 8 kB / 409.3 MB, free: 1.91 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.058, allocations: 8 kB / 409.3 MB, free: 1.902 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.273e-05/0.05802, allocations: 12 kB / 409.3 MB, free: 1.891 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005184/0.05854, allocations: 208.1 kB / 409.5 MB, free: 1.688 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.718e-05/0.05856, allocations: 15.94 kB / 409.5 MB, free: 1.672 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002064/0.05876, allocations: 19.94 kB / 409.5 MB, free: 1.652 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.756e-05/0.05881, allocations: 43.98 kB / 409.6 MB, free: 1.609 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (83): * Single equations (assignments): 83 * 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.0001606/0.05897, allocations: 200.3 kB / 409.8 MB, free: 1.402 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.483e-05/0.05906, allocations: 67.61 kB / 409.8 MB, free: 1.336 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006386/0.0597, allocations: 418.7 kB / 410.3 MB, free: 0.9219 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.0597, allocations: 11.94 kB / 410.3 MB, free: 0.9102 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.05971, allocations: 0 / 410.3 MB, free: 0.9102 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.05971, allocations: 3.938 kB / 410.3 MB, free: 0.9062 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005283/0.06024, allocations: 477.3 kB / 410.7 MB, free: 392 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.06024, allocations: 0 / 410.7 MB, free: 392 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003988/0.06064, allocations: 139.9 kB / 410.9 MB, free: 252 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.06065, allocations: 4 kB / 410.9 MB, free: 248 kB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.694e-05/0.06067, allocations: 20.12 kB / 410.9 MB, free: 228 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.06068, allocations: 3.938 kB / 410.9 MB, free: 224 kB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.06068, allocations: 4 kB / 410.9 MB, free: 220 kB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.14/0.2007, allocations: 0.6222 MB / 411.5 MB, free: 62.18 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001593/0.2008, allocations: 82.89 kB / 411.6 MB, free: 62.18 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.552e-05/0.2009, allocations: 10.81 kB / 411.6 MB, free: 62.18 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001417/0.201, allocations: 12.62 kB / 411.6 MB, free: 62.18 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.138e-05/0.2011, allocations: 42.88 kB / 411.7 MB, free: 62.18 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.715e-05/0.2011, allocations: 19.47 kB / 411.7 MB, free: 62.18 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001913/0.2013, allocations: 276.6 kB / 412 MB, free: 62.05 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2013, allocations: 0 / 412 MB, free: 62.05 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006986/0.202, allocations: 334.9 kB / 412.3 MB, free: 62.05 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (solution.temperature,A.logn,B.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 (53): * Single equations (assignments): 53 * 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.0005688/0.2026, allocations: 459 kB / 412.7 MB, free: 61.96 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004778/0.2031, allocations: 345 kB / 413.1 MB, free: 61.94 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.2031, allocations: 2.625 kB / 413.1 MB, free: 61.94 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001593/0.2032, allocations: 163.9 kB / 413.2 MB, free: 61.91 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004473/0.2037, allocations: 139.4 kB / 413.4 MB, free: 61.91 MB / 330.7 MB Error: Error parsing unit kDa: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001668/0.2053, allocations: 1.13 MB / 414.5 MB, free: 61.35 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.343e-05/0.2054, allocations: 133.5 kB / 414.6 MB, free: 61.28 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002385/0.2057, allocations: 112.8 kB / 414.7 MB, free: 61.27 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001129/0.2058, allocations: 74.2 kB / 414.8 MB, free: 61.27 MB / 330.7 MB Notification: Performance of SimCode: time 8.82e-07/0.2058, allocations: 0 / 414.8 MB, free: 61.27 MB / 330.7 MB Notification: Performance of Templates: time 0.0108/0.2166, allocations: 10.19 MB / 425 MB, free: 58.49 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.SimpleReaction.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.SimpleReaction.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.SimpleReaction.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.SimpleReaction.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.SimpleReaction.sim & ./Chemical_master_Chemical.Obsolete.Examples.SimpleReaction -abortSlowSimulation -alarm=240 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.SimpleReaction.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3963808880653232]