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.0009963/0.0009963, allocations: 77.14 kB / 19.87 MB, free: 4.621 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.001324/0.001324, allocations: 173 kB / 23.28 MB, free: 1.219 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.064/1.064, allocations: 177.1 MB / 203.7 MB, free: 5.488 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.09909/0.09909, allocations: 17.46 MB / 277.7 MB, free: 11.38 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.412e-06/1.412e-06, allocations: 0 / 354 MB, free: 10.61 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.421e-05/2.562e-05, allocations: 5.406 kB / 354 MB, free: 10.61 MB / 330.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.03358/0.03361, allocations: 28.02 MB / 382 MB, free: 14.69 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.009125/0.04273, allocations: 7.835 MB / 389.8 MB, free: 6.82 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005437/0.04328, allocations: 11.88 kB / 389.9 MB, free: 6.809 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005326/0.04381, allocations: 186.5 kB / 390 MB, free: 6.625 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007654/0.05146, allocations: 0.7133 MB / 390.8 MB, free: 5.906 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008533/0.06, allocations: 1.083 MB / 391.8 MB, free: 4.816 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.00113/0.06113, allocations: 0.9662 MB / 392.8 MB, free: 3.844 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005375/0.06166, allocations: 446.6 kB / 393.2 MB, free: 3.406 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006406/0.0623, allocations: 0.6395 MB / 393.9 MB, free: 2.766 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006661/0.06897, allocations: 427 kB / 394.3 MB, free: 2.348 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001458/0.06911, allocations: 76 kB / 394.4 MB, free: 2.273 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001902/0.07101, allocations: 0.8226 MB / 395.2 MB, free: 1.449 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001728/0.07119, allocations: 203.3 kB / 395.4 MB, free: 1.25 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002723/0.07146, allocations: 299.4 kB / 395.7 MB, free: 0.957 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008959/0.08042, allocations: 1.626 MB / 397.3 MB, free: 15.32 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.08042, allocations: 0 / 397.3 MB, free: 15.32 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.08042, allocations: 3.938 kB / 397.3 MB, free: 15.32 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.265e-05/0.08044, allocations: 0 / 397.3 MB, free: 15.32 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.007713/0.08815, allocations: 1.227 MB / 398.5 MB, free: 14.05 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.08819, allocations: 8.031 kB / 398.6 MB, free: 14.05 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006475/0.08884, allocations: 243.8 kB / 398.8 MB, free: 13.81 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006829/0.09567, allocations: 431.9 kB / 399.2 MB, free: 13.36 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000101/0.09577, allocations: 102 kB / 399.3 MB, free: 13.25 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001047/0.09587, allocations: 76.31 kB / 399.4 MB, free: 13.17 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007849/0.09666, allocations: 0.58 MB / 400 MB, free: 12.57 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.645e-05/0.09667, allocations: 192 / 400 MB, free: 12.57 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.744e-05/0.09673, allocations: 36.06 kB / 400 MB, free: 12.54 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.537e-05/0.09675, allocations: 16 kB / 400 MB, free: 12.52 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007242/0.09747, allocations: 0.498 MB / 400.5 MB, free: 12.02 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.008739/0.1062, allocations: 1.934 MB / 402.4 MB, free: 10.03 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001/0.1072, allocations: 0.7779 MB / 403.2 MB, free: 9.238 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001623/0.1074, allocations: 161.5 kB / 403.4 MB, free: 9.078 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002469/0.1098, allocations: 1.563 MB / 404.9 MB, free: 7.504 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.989e-05/0.1099, allocations: 37.39 kB / 405 MB, free: 7.457 MB / 378.7 MB Notification: Performance of pre-optimization done (n=41): time 1.903e-06/0.1099, allocations: 4 kB / 405 MB, free: 7.453 MB / 378.7 MB Notification: Performance of matching and sorting (n=46): time 0.001153/0.111, allocations: 0.8274 MB / 405.8 MB, free: 6.59 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.858e-05/0.1111, allocations: 63.39 kB / 405.9 MB, free: 6.516 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002576/0.1113, allocations: 446.2 kB / 406.3 MB, free: 6.062 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.374e-05/0.1113, allocations: 33.7 kB / 406.3 MB, free: 6.023 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001796/0.1115, allocations: 426.7 kB / 406.8 MB, free: 5.598 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.407e-05/0.1116, allocations: 174.5 kB / 406.9 MB, free: 5.426 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001134/0.1117, allocations: 132.2 kB / 407.1 MB, free: 5.285 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001431/0.1119, allocations: 0.5429 MB / 407.6 MB, free: 4.73 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.307e-05/0.1119, allocations: 73.88 kB / 407.7 MB, free: 4.66 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002604/0.1122, allocations: 411.4 kB / 408.1 MB, free: 4.117 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003773/0.1126, allocations: 0.5317 MB / 408.6 MB, free: 3.438 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.1126, allocations: 0 / 408.6 MB, free: 3.438 MB / 378.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.0005499/0.1131, allocations: 0.5052 MB / 409.1 MB, free: 2.926 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.1132, allocations: 8 kB / 409.1 MB, free: 2.918 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.1132, allocations: 8 kB / 409.1 MB, free: 2.91 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.964e-05/0.1132, allocations: 16 kB / 409.1 MB, free: 2.895 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003728/0.1136, allocations: 199.7 kB / 409.3 MB, free: 2.699 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.023e-05/0.1136, allocations: 12 kB / 409.4 MB, free: 2.688 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001506/0.1137, allocations: 28.06 kB / 409.4 MB, free: 2.66 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.427e-05/0.1138, allocations: 35.92 kB / 409.4 MB, free: 2.625 MB / 378.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.0001308/0.1139, allocations: 200.3 kB / 409.6 MB, free: 2.418 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.639e-05/0.1139, allocations: 59.67 kB / 409.7 MB, free: 2.359 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004436/0.1144, allocations: 398.6 kB / 410.1 MB, free: 1.961 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.1144, allocations: 4 kB / 410.1 MB, free: 1.957 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.1144, allocations: 0 / 410.1 MB, free: 1.957 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.1144, allocations: 0 / 410.1 MB, free: 1.957 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004705/0.1149, allocations: 497 kB / 410.5 MB, free: 1.41 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.1149, allocations: 4 kB / 410.6 MB, free: 1.406 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004167/0.1153, allocations: 139.8 kB / 410.7 MB, free: 1.27 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.1153, allocations: 4 kB / 410.7 MB, free: 1.266 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.022e-05/0.1153, allocations: 16 kB / 410.7 MB, free: 1.25 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.307e-06/0.1153, allocations: 0 / 410.7 MB, free: 1.25 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.221e-06/0.1153, allocations: 4 kB / 410.7 MB, free: 1.246 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000476/0.1158, allocations: 0.5875 MB / 411.3 MB, free: 0.625 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001088/0.1159, allocations: 79.62 kB / 411.4 MB, free: 0.5469 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.465e-05/0.1159, allocations: 12 kB / 411.4 MB, free: 0.5352 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001002/0.1161, allocations: 8 kB / 411.4 MB, free: 0.5273 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.279e-05/0.1161, allocations: 40.44 kB / 411.4 MB, free: 500 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.962e-05/0.1161, allocations: 15.92 kB / 411.5 MB, free: 484 kB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001248/0.1162, allocations: 263 kB / 411.7 MB, free: 224 kB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1162, allocations: 0 / 411.7 MB, free: 224 kB / 378.7 MB Notification: Performance of remove unused functions: time 0.000709/0.117, allocations: 339 kB / 412 MB, free: 15.89 MB / 394.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.000574/0.1175, allocations: 481.9 kB / 412.5 MB, free: 15.41 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003249/0.1179, allocations: 308.3 kB / 412.8 MB, free: 15.11 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.1179, allocations: 0 / 412.8 MB, free: 15.11 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001288/0.118, allocations: 149 kB / 413 MB, free: 14.95 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004277/0.1184, allocations: 136.7 kB / 413.1 MB, free: 14.82 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.002001/0.1204, allocations: 1.113 MB / 414.2 MB, free: 13.66 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.662e-05/0.1205, allocations: 145.7 kB / 414.3 MB, free: 13.5 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002564/0.1208, allocations: 112.3 kB / 414.5 MB, free: 13.39 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002959/0.1211, allocations: 226.1 kB / 414.7 MB, free: 13.16 MB / 394.7 MB Notification: Performance of SimCode: time 1.082e-06/0.1211, allocations: 0 / 414.7 MB, free: 13.16 MB / 394.7 MB Notification: Performance of Templates: time 0.0147/0.1358, allocations: 11.7 MB / 426.4 MB, free: 1.559 MB / 394.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.2197092520073056]