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.001335/0.001335, allocations: 80.88 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.001446/0.001446, allocations: 181 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 0.9438/0.9438, allocations: 177.1 MB / 203.8 MB, free: 5.504 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.0835/0.0835, allocations: 17.45 MB / 277.7 MB, free: 11.47 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.523e-06/1.523e-06, allocations: 0 / 300.7 MB, free: 1.812 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.618e-06/1.114e-05, allocations: 3.078 kB / 300.7 MB, free: 1.809 MB / 266.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.03104/0.03105, allocations: 33.82 MB / 334.5 MB, free: 2.641 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.009114/0.04016, allocations: 7.967 MB / 342.5 MB, free: 10.64 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005876/0.04075, allocations: 15.88 kB / 342.5 MB, free: 10.62 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005821/0.04133, allocations: 174.6 kB / 342.7 MB, free: 10.45 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001761/0.04309, allocations: 0.7327 MB / 343.4 MB, free: 9.711 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002492/0.04559, allocations: 1.083 MB / 344.5 MB, free: 8.621 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001134/0.04672, allocations: 0.9623 MB / 345.5 MB, free: 7.652 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005654/0.04729, allocations: 456.5 kB / 345.9 MB, free: 7.203 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006848/0.04797, allocations: 0.6317 MB / 346.5 MB, free: 6.57 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005889/0.04856, allocations: 423 kB / 347 MB, free: 6.156 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001112/0.04867, allocations: 80 kB / 347 MB, free: 6.078 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001932/0.0506, allocations: 0.8226 MB / 347.9 MB, free: 5.254 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001921/0.05079, allocations: 199.4 kB / 348.1 MB, free: 5.059 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002806/0.05108, allocations: 303.3 kB / 348.3 MB, free: 4.762 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002256/0.05333, allocations: 1.63 MB / 350 MB, free: 3.125 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.05334, allocations: 0 / 350 MB, free: 3.125 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.605e-06/0.05334, allocations: 3.984 kB / 350 MB, free: 3.121 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.032e-05/0.05335, allocations: 0 / 350 MB, free: 3.121 MB / 314.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.001512/0.05486, allocations: 1.091 MB / 351.1 MB, free: 2 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.097e-05/0.05489, allocations: 8.031 kB / 351.1 MB, free: 1.992 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005768/0.05547, allocations: 239.9 kB / 351.3 MB, free: 1.758 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005191/0.05599, allocations: 353.1 kB / 351.7 MB, free: 1.391 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.333e-05/0.05608, allocations: 106 kB / 351.8 MB, free: 1.277 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.658e-05/0.05618, allocations: 72.36 kB / 351.8 MB, free: 1.207 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007177/0.05689, allocations: 0.5939 MB / 352.4 MB, free: 0.5898 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.615e-05/0.05691, allocations: 4.188 kB / 352.4 MB, free: 0.5859 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.634e-05/0.05697, allocations: 28.12 kB / 352.5 MB, free: 0.5586 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.605e-05/0.05698, allocations: 16 kB / 352.5 MB, free: 0.543 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006609/0.05764, allocations: 452.9 kB / 352.9 MB, free: 104 kB / 314.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.002527/0.06017, allocations: 1.551 MB / 354.5 MB, free: 14.5 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001389/0.06156, allocations: 0.7693 MB / 355.2 MB, free: 13.71 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000184/0.06175, allocations: 142.8 kB / 355.4 MB, free: 13.57 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002094/0.06384, allocations: 1.385 MB / 356.8 MB, free: 12.17 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.485e-05/0.06386, allocations: 38.56 kB / 356.8 MB, free: 12.12 MB / 330.7 MB Notification: Performance of pre-optimization done (n=41): time 1.783e-06/0.06387, allocations: 0 / 356.8 MB, free: 12.12 MB / 330.7 MB Notification: Performance of matching and sorting (n=46): time 0.001358/0.06522, allocations: 0.8273 MB / 357.6 MB, free: 11.26 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.231e-05/0.06526, allocations: 55.41 kB / 357.7 MB, free: 11.2 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002615/0.06552, allocations: 371 kB / 358 MB, free: 10.82 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.726e-05/0.06554, allocations: 41.69 kB / 358.1 MB, free: 10.77 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001556/0.0657, allocations: 348.6 kB / 358.4 MB, free: 10.43 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001013/0.0658, allocations: 170.5 kB / 358.6 MB, free: 10.26 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001328/0.06593, allocations: 126.6 kB / 358.7 MB, free: 10.13 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001099/0.06604, allocations: 366.6 kB / 359.1 MB, free: 9.762 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.994e-05/0.06614, allocations: 64.8 kB / 359.1 MB, free: 9.699 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002233/0.06637, allocations: 317 kB / 359.4 MB, free: 9.289 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004049/0.06677, allocations: 448.2 kB / 359.9 MB, free: 8.746 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.06678, allocations: 0 / 359.9 MB, free: 8.746 MB / 330.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.0004952/0.06727, allocations: 405.5 kB / 360.3 MB, free: 8.34 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.06729, allocations: 8 kB / 360.3 MB, free: 8.332 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.727e-06/0.0673, allocations: 8 kB / 360.3 MB, free: 8.324 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.986e-05/0.06732, allocations: 12 kB / 360.3 MB, free: 8.312 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004933/0.06781, allocations: 203.7 kB / 360.5 MB, free: 8.113 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.248e-05/0.06782, allocations: 15.94 kB / 360.5 MB, free: 8.098 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002076/0.06803, allocations: 20.09 kB / 360.5 MB, free: 8.078 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.395e-05/0.06807, allocations: 39.92 kB / 360.6 MB, free: 8.039 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.0001356/0.06821, allocations: 152.4 kB / 360.7 MB, free: 7.879 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.676e-05/0.06828, allocations: 39.97 kB / 360.8 MB, free: 7.84 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004616/0.06874, allocations: 327.7 kB / 361.1 MB, free: 7.512 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.702e-06/0.06874, allocations: 4 kB / 361.1 MB, free: 7.508 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.452e-06/0.06874, allocations: 0 / 361.1 MB, free: 7.508 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.06875, allocations: 3.984 kB / 361.1 MB, free: 7.504 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007595/0.06951, allocations: 444.5 kB / 361.5 MB, free: 7.027 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.853e-06/0.06952, allocations: 4 kB / 361.5 MB, free: 7.023 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003843/0.0699, allocations: 139.9 kB / 361.7 MB, free: 6.887 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.06991, allocations: 0 / 361.7 MB, free: 6.887 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.379e-05/0.06993, allocations: 16 kB / 361.7 MB, free: 6.871 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.639e-06/0.06993, allocations: 4 kB / 361.7 MB, free: 6.867 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.06994, allocations: 4.094 kB / 361.7 MB, free: 6.863 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004779/0.07041, allocations: 0.4901 MB / 362.2 MB, free: 6.344 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00011/0.07052, allocations: 63.69 kB / 362.2 MB, free: 6.281 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.808e-05/0.07057, allocations: 12 kB / 362.3 MB, free: 6.27 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001404/0.07071, allocations: 12 kB / 362.3 MB, free: 6.258 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.98e-05/0.07077, allocations: 36.44 kB / 362.3 MB, free: 6.223 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.489e-05/0.0708, allocations: 19.92 kB / 362.3 MB, free: 6.203 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001257/0.07092, allocations: 140.6 kB / 362.5 MB, free: 6.066 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.07092, allocations: 0 / 362.5 MB, free: 6.066 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007246/0.07165, allocations: 339.1 kB / 362.8 MB, free: 5.734 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.0007142/0.07236, allocations: 463 kB / 363.2 MB, free: 5.273 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003778/0.07274, allocations: 293.3 kB / 363.5 MB, free: 4.984 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.319e-05/0.07275, allocations: 4.5 kB / 363.5 MB, free: 4.98 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001532/0.07291, allocations: 142.2 kB / 363.7 MB, free: 4.844 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004853/0.07339, allocations: 136.2 kB / 363.8 MB, free: 4.715 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.001811/0.0752, allocations: 1.122 MB / 364.9 MB, free: 3.543 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.862e-05/0.0753, allocations: 137.8 kB / 365.1 MB, free: 3.391 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002975/0.0756, allocations: 116.3 kB / 365.2 MB, free: 3.273 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003003/0.0759, allocations: 189.2 kB / 365.4 MB, free: 3.09 MB / 330.7 MB Notification: Performance of SimCode: time 7.21e-07/0.0759, allocations: 0 / 365.4 MB, free: 3.09 MB / 330.7 MB Notification: Performance of Templates: time 0.01668/0.09258, allocations: 11.69 MB / 377.1 MB, free: 7.488 MB / 346.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.0318520069122314]