Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.0009556/0.0009556, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001026/0.001026, allocations: 177 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 1.064/1.064, allocations: 177.1 MB / 203.8 MB, free: 5.473 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.08825/0.08825, allocations: 17.47 MB / 277.7 MB, free: 11.43 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.SimpleReaction2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.SimpleReaction2") translateModel(Chemical.Obsolete.Examples.SimpleReaction2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.SimpleReaction2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 300.8 MB, free: 1.715 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.468e-05/1.605e-05, allocations: 3.438 kB / 300.8 MB, free: 1.711 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.SimpleReaction2): time 0.03072/0.03073, allocations: 34.64 MB / 335.4 MB, free: 1.688 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01281/0.04354, allocations: 11.6 MB / 347 MB, free: 6.035 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006343/0.04418, allocations: 19.81 kB / 347 MB, free: 6.016 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000685/0.04486, allocations: 250 kB / 347.3 MB, free: 5.77 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002367/0.04723, allocations: 1.012 MB / 348.3 MB, free: 4.75 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003283/0.05051, allocations: 1.572 MB / 349.9 MB, free: 3.168 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.00129/0.0518, allocations: 1.29 MB / 351.2 MB, free: 1.871 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006563/0.05246, allocations: 0.6006 MB / 351.8 MB, free: 1.242 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008084/0.05327, allocations: 0.8463 MB / 352.6 MB, free: 404 kB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007386/0.05401, allocations: 0.5612 MB / 353.2 MB, free: 15.83 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001467/0.05415, allocations: 104 kB / 353.3 MB, free: 15.73 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002566/0.05672, allocations: 1.267 MB / 354.5 MB, free: 14.46 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002177/0.05694, allocations: 271.1 kB / 354.8 MB, free: 14.2 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006103/0.05755, allocations: 415 kB / 355.2 MB, free: 13.79 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002674/0.06022, allocations: 2.354 MB / 357.6 MB, free: 11.43 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.06023, allocations: 0 / 357.6 MB, free: 11.43 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.06023, allocations: 4 kB / 357.6 MB, free: 11.42 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.166e-06/0.06024, allocations: 0 / 357.6 MB, free: 11.42 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.001673/0.06191, allocations: 1.413 MB / 359 MB, free: 9.98 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.25e-05/0.06194, allocations: 8.031 kB / 359 MB, free: 9.973 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008031/0.06274, allocations: 335.5 kB / 359.3 MB, free: 9.645 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006272/0.06337, allocations: 439 kB / 359.7 MB, free: 9.188 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.468e-05/0.06347, allocations: 122 kB / 359.9 MB, free: 9.055 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001281/0.06359, allocations: 88.38 kB / 359.9 MB, free: 8.969 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009311/0.06452, allocations: 0.7834 MB / 360.7 MB, free: 8.164 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.105e-05/0.06455, allocations: 4.125 kB / 360.7 MB, free: 8.16 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.75e-05/0.06461, allocations: 36.12 kB / 360.8 MB, free: 8.125 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.826e-05/0.06463, allocations: 24 kB / 360.8 MB, free: 8.102 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009155/0.06555, allocations: 0.6449 MB / 361.4 MB, free: 7.453 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.002953/0.0685, allocations: 2.116 MB / 363.6 MB, free: 5.277 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001183/0.06968, allocations: 1.242 MB / 364.8 MB, free: 4.027 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001961/0.06988, allocations: 199.8 kB / 365 MB, free: 3.824 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00218/0.07206, allocations: 1.904 MB / 366.9 MB, free: 1.906 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.581e-05/0.07208, allocations: 39.06 kB / 366.9 MB, free: 1.859 MB / 330.7 MB Notification: Performance of pre-optimization done (n=56): time 2.044e-06/0.07209, allocations: 0 / 366.9 MB, free: 1.859 MB / 330.7 MB Notification: Performance of matching and sorting (n=63): time 0.001458/0.07354, allocations: 1.113 MB / 368 MB, free: 0.7188 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.862e-05/0.07357, allocations: 56.06 kB / 368.1 MB, free: 0.6484 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002808/0.07385, allocations: 474.8 kB / 368.6 MB, free: 176 kB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.86e-05/0.07388, allocations: 37.7 kB / 368.6 MB, free: 132 kB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001901/0.07407, allocations: 436.7 kB / 369 MB, free: 15.69 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001213/0.07419, allocations: 234 kB / 369.3 MB, free: 15.46 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000146/0.07434, allocations: 178.4 kB / 369.4 MB, free: 15.28 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003694/0.07471, allocations: 382.6 kB / 369.8 MB, free: 14.9 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001054/0.07481, allocations: 88.78 kB / 369.9 MB, free: 14.81 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002576/0.07507, allocations: 434.5 kB / 370.3 MB, free: 14.24 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004515/0.07552, allocations: 0.6137 MB / 370.9 MB, free: 13.47 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.07553, allocations: 8 kB / 370.9 MB, free: 13.46 MB / 346.7 MB Notification: Performance of matching and sorting (n=115) (initialization): time 0.0005015/0.07603, allocations: 0.5315 MB / 371.5 MB, free: 12.93 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.589e-05/0.07606, allocations: 14.03 kB / 371.5 MB, free: 12.91 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.29e-05/0.07607, allocations: 12 kB / 371.5 MB, free: 12.9 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.28e-05/0.07609, allocations: 19.98 kB / 371.5 MB, free: 12.88 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005348/0.07663, allocations: 291.8 kB / 371.8 MB, free: 12.6 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.484e-05/0.07664, allocations: 27.88 kB / 371.8 MB, free: 12.57 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001832/0.07682, allocations: 27.98 kB / 371.8 MB, free: 12.54 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.13e-05/0.07687, allocations: 40 kB / 371.9 MB, free: 12.5 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.0001412/0.07701, allocations: 172.3 kB / 372.1 MB, free: 12.32 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.792e-05/0.07707, allocations: 59.94 kB / 372.1 MB, free: 12.27 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00049/0.07756, allocations: 443.7 kB / 372.5 MB, free: 11.82 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.07757, allocations: 8 kB / 372.6 MB, free: 11.81 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.844e-06/0.07757, allocations: 0 / 372.6 MB, free: 11.81 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.07758, allocations: 3.984 kB / 372.6 MB, free: 11.81 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000472/0.07805, allocations: 0.5239 MB / 373.1 MB, free: 11.24 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.07805, allocations: 0 / 373.1 MB, free: 11.24 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003982/0.07845, allocations: 188 kB / 373.3 MB, free: 11.06 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/0.07846, allocations: 4 kB / 373.3 MB, free: 11.05 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.612e-05/0.07848, allocations: 24 kB / 373.3 MB, free: 11.03 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.558e-06/0.07849, allocations: 7.938 kB / 373.3 MB, free: 11.02 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.07849, allocations: 3.984 kB / 373.3 MB, free: 11.02 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004992/0.07899, allocations: 0.5928 MB / 373.9 MB, free: 10.4 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001107/0.0791, allocations: 79.55 kB / 374 MB, free: 10.32 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.634e-05/0.07915, allocations: 16 kB / 374 MB, free: 10.3 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001207/0.07927, allocations: 19.92 kB / 374 MB, free: 10.29 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.207e-05/0.07933, allocations: 48.58 kB / 374.1 MB, free: 10.24 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.528e-05/0.07935, allocations: 23.98 kB / 374.1 MB, free: 10.21 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001192/0.07947, allocations: 188.3 kB / 374.3 MB, free: 10.03 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.07947, allocations: 0 / 374.3 MB, free: 10.03 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007534/0.08023, allocations: 490.5 kB / 374.7 MB, free: 9.551 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.0006951/0.08092, allocations: 0.6312 MB / 375.4 MB, free: 8.906 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000378/0.0813, allocations: 405.6 kB / 375.8 MB, free: 8.508 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.212e-05/0.08131, allocations: 8.5 kB / 375.8 MB, free: 8.5 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00015/0.08146, allocations: 191.5 kB / 376 MB, free: 8.316 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004144/0.08188, allocations: 177.2 kB / 376.1 MB, free: 8.148 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.00197/0.08385, allocations: 1.385 MB / 377.5 MB, free: 6.703 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.695e-05/0.08394, allocations: 163.3 kB / 377.7 MB, free: 6.523 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003058/0.08425, allocations: 157.2 kB / 377.8 MB, free: 6.367 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000307/0.08456, allocations: 237.2 kB / 378.1 MB, free: 6.137 MB / 346.7 MB Notification: Performance of SimCode: time 8.82e-07/0.08456, allocations: 0 / 378.1 MB, free: 6.137 MB / 346.7 MB Notification: Performance of Templates: time 0.01831/0.1029, allocations: 16.46 MB / 394.5 MB, free: 5.793 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.SimpleReaction2.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.SimpleReaction2.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.SimpleReaction2.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.SimpleReaction2.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.SimpleReaction2.sim & ./Chemical_master_Chemical.Obsolete.Examples.SimpleReaction2 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.SimpleReaction2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.2086751088500023]