Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_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.0007928/0.0007928, 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.0009105/0.0009105, allocations: 173 kB / 23.49 MB, free: 1.059 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.043/1.043, allocations: 177.1 MB / 203.8 MB, free: 5.625 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.1112/0.1112, allocations: 17.38 MB / 277.7 MB, free: 11.7 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.SimpleReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.SimpleReaction") translateModel(Chemical.Obsolete.Examples.SimpleReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.SimpleReaction") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 0 / 353.4 MB, free: 10.31 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.039e-05/2.232e-05, allocations: 6.25 kB / 353.4 MB, free: 10.3 MB / 282.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.SimpleReaction): time 0.02565/0.02567, allocations: 27.96 MB / 381.4 MB, free: 14.5 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.007729/0.0334, allocations: 8.018 MB / 389.4 MB, free: 6.445 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004277/0.03383, allocations: 15.88 kB / 389.4 MB, free: 6.43 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004677/0.0343, allocations: 178.5 kB / 389.6 MB, free: 6.254 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00118/0.03548, allocations: 0.7172 MB / 390.3 MB, free: 5.531 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001909/0.03738, allocations: 1.079 MB / 391.4 MB, free: 4.445 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008221/0.03821, allocations: 0.9623 MB / 392.4 MB, free: 3.477 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004319/0.03864, allocations: 438.7 kB / 392.8 MB, free: 3.047 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004758/0.03911, allocations: 0.6395 MB / 393.4 MB, free: 2.406 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004414/0.03955, allocations: 415 kB / 393.8 MB, free: 2 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 8.492e-05/0.03964, allocations: 80 kB / 393.9 MB, free: 1.922 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001068/0.04071, allocations: 0.8343 MB / 394.8 MB, free: 1.086 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001518/0.04086, allocations: 199.4 kB / 395 MB, free: 0.8906 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002329/0.04109, allocations: 303.3 kB / 395.2 MB, free: 0.5938 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001472/0.04256, allocations: 1.622 MB / 396.9 MB, free: 14.96 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.04257, allocations: 0 / 396.9 MB, free: 14.96 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.04257, allocations: 3.938 kB / 396.9 MB, free: 14.96 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.014e-05/0.04258, allocations: 3.984 kB / 396.9 MB, free: 14.96 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.001303/0.04388, allocations: 1.212 MB / 398.1 MB, free: 13.7 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.04392, allocations: 8.031 kB / 398.1 MB, free: 13.7 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005171/0.04444, allocations: 255.5 kB / 398.3 MB, free: 13.45 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005018/0.04494, allocations: 431.9 kB / 398.8 MB, free: 13 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.997e-05/0.04504, allocations: 106 kB / 398.9 MB, free: 12.88 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.373e-05/0.04512, allocations: 72.33 kB / 398.9 MB, free: 12.81 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007416/0.04587, allocations: 0.6387 MB / 399.6 MB, free: 12.15 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.469e-05/0.04588, allocations: 192 / 399.6 MB, free: 12.15 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.702e-05/0.04594, allocations: 36.12 kB / 399.6 MB, free: 12.11 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.088e-05/0.04596, allocations: 16 kB / 399.6 MB, free: 12.1 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007721/0.04673, allocations: 0.5814 MB / 400.2 MB, free: 11.52 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.002327/0.04906, allocations: 1.996 MB / 402.2 MB, free: 9.453 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009412/0.05, allocations: 0.8137 MB / 403 MB, free: 8.625 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002402/0.05024, allocations: 193.5 kB / 403.2 MB, free: 8.434 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001977/0.05222, allocations: 1.547 MB / 404.8 MB, free: 6.863 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.872e-05/0.05224, allocations: 41.39 kB / 404.8 MB, free: 6.812 MB / 330.7 MB Notification: Performance of pre-optimization done (n=41): time 2.214e-06/0.05225, allocations: 0 / 404.8 MB, free: 6.812 MB / 330.7 MB Notification: Performance of matching and sorting (n=46): time 0.00148/0.05373, allocations: 0.9791 MB / 405.8 MB, free: 5.793 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.796e-05/0.05376, allocations: 55.41 kB / 405.8 MB, free: 5.727 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003269/0.05409, allocations: 450.3 kB / 406.3 MB, free: 5.27 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.707e-05/0.05412, allocations: 37.7 kB / 406.3 MB, free: 5.227 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001983/0.05432, allocations: 426.8 kB / 406.7 MB, free: 4.805 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.245e-05/0.05441, allocations: 166.6 kB / 406.9 MB, free: 4.641 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001185/0.05453, allocations: 136.2 kB / 407 MB, free: 4.496 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001796/0.05471, allocations: 0.5274 MB / 407.5 MB, free: 3.957 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001494/0.05486, allocations: 101.9 kB / 407.6 MB, free: 3.859 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002941/0.05515, allocations: 423.5 kB / 408.1 MB, free: 3.305 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004799/0.05563, allocations: 0.563 MB / 408.6 MB, free: 2.598 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.05563, allocations: 8 kB / 408.6 MB, free: 2.59 MB / 330.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.0005928/0.05623, allocations: 0.5397 MB / 409.2 MB, free: 2.039 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.05625, allocations: 8 kB / 409.2 MB, free: 2.031 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/0.05626, allocations: 11.98 kB / 409.2 MB, free: 2.02 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.925e-05/0.05628, allocations: 12.78 kB / 409.2 MB, free: 2.008 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003961/0.05667, allocations: 203.7 kB / 409.4 MB, free: 1.809 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.51e-05/0.05669, allocations: 12 kB / 409.4 MB, free: 1.797 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001534/0.05684, allocations: 27.94 kB / 409.4 MB, free: 1.77 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.963e-05/0.05688, allocations: 35.98 kB / 409.5 MB, free: 1.734 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.000149/0.05703, allocations: 204.3 kB / 409.7 MB, free: 1.523 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.471e-05/0.05709, allocations: 63.67 kB / 409.7 MB, free: 1.461 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005306/0.05762, allocations: 418.8 kB / 410.1 MB, free: 1.047 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.668e-06/0.05763, allocations: 4 kB / 410.2 MB, free: 1.043 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.05763, allocations: 0 / 410.2 MB, free: 1.043 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.635e-06/0.05764, allocations: 3.938 kB / 410.2 MB, free: 1.039 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004565/0.0581, allocations: 477.2 kB / 410.6 MB, free: 0.5156 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/0.0581, allocations: 4 kB / 410.6 MB, free: 0.5117 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003112/0.05841, allocations: 143.9 kB / 410.8 MB, free: 380 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.53e-06/0.05842, allocations: 4 kB / 410.8 MB, free: 376 kB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.583e-05/0.05845, allocations: 16 kB / 410.8 MB, free: 360 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/0.05845, allocations: 4 kB / 410.8 MB, free: 356 kB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.05845, allocations: 0 / 410.8 MB, free: 356 kB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1564/0.2149, allocations: 0.629 MB / 411.4 MB, free: 51.31 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000207/0.2151, allocations: 81.69 kB / 411.5 MB, free: 51.31 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.214e-05/0.2152, allocations: 11.2 kB / 411.5 MB, free: 51.31 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001544/0.2153, allocations: 13.31 kB / 411.5 MB, free: 51.31 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.966e-05/0.2154, allocations: 41.12 kB / 411.6 MB, free: 51.31 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.237e-05/0.2154, allocations: 19 kB / 411.6 MB, free: 51.31 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002314/0.2157, allocations: 274.4 kB / 411.8 MB, free: 51.18 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2157, allocations: 0.625 kB / 411.9 MB, free: 51.18 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0009334/0.2166, allocations: 333.6 kB / 412.2 MB, free: 51.18 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.0006825/0.2173, allocations: 462.1 kB / 412.6 MB, free: 51.1 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005533/0.2178, allocations: 346.2 kB / 413 MB, free: 51.09 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.2178, allocations: 0 / 413 MB, free: 51.09 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001853/0.218, allocations: 167 kB / 413.1 MB, free: 51.07 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005008/0.2185, allocations: 133.5 kB / 413.3 MB, free: 51.07 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.001929/0.2205, allocations: 1.138 MB / 414.4 MB, free: 50.53 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001021/0.2206, allocations: 135 kB / 414.5 MB, free: 50.46 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002717/0.2208, allocations: 115.6 kB / 414.6 MB, free: 50.45 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001154/0.2209, allocations: 74.47 kB / 414.7 MB, free: 50.45 MB / 330.7 MB Notification: Performance of SimCode: time 1.022e-06/0.2209, allocations: 0 / 414.7 MB, free: 50.45 MB / 330.7 MB Notification: Performance of Templates: time 0.01363/0.2346, allocations: 10.19 MB / 424.9 MB, free: 48.43 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_Chemical.Obsolete.Examples.SimpleReaction.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.SimpleReaction.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.SimpleReaction.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.SimpleReaction.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.SimpleReaction.sim & ./Chemical_Chemical.Obsolete.Examples.SimpleReaction -abortSlowSimulation -alarm=240 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.SimpleReaction.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.439208843978122]